|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.kevinarpe.papaya.object.StatelessObject
com.googlecode.kevinarpe.papaya.testing.TestClassFinderUtils
@FullyTested public final class TestClassFinderUtils
Constants and static utilities for TestClassFinder.
newInstance(),
newFactory(),
TestClassFinder,
StatelessObject,
ITestClassFinderUtils| Field Summary | |
|---|---|
static List<Pattern> |
DEFAULT_EXCLUDE_PATTERN_LIST
Default value for TestClassFinder.withExcludePatterns(): An empty list (no patterns). |
static List<Pattern> |
DEFAULT_INCLUDE_PATTERN_LIST
Default value for TestClassFinder.withIncludePatterns(): A single pattern to match
all Java source files. |
static File |
DEFAULT_ROOT_DIR_PATH
Default value for TestClassFinder.withRootDirPath(): System property
"user.dir". |
static TestClassFinderUtils |
INSTANCE
Single instance of this class provided for convenience. |
| Constructor Summary | |
|---|---|
TestClassFinderUtils()
For projects that require total, static-free mocking capabilities, use this constructor. |
|
| Method Summary | |
|---|---|
TestClassFinderFactory |
newFactory()
Retrieves a TestClassFinderFactory. |
TestClassFinder |
newInstance()
Constructs a new instance of TestClassFinder. |
| Methods inherited from class com.googlecode.kevinarpe.papaya.object.StatelessObject |
|---|
equals, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final TestClassFinderUtils INSTANCE
public static final File DEFAULT_ROOT_DIR_PATH
TestClassFinder.withRootDirPath(): System property
"user.dir". This is the equivalent of: new File(".").getAbsoluteFile()
public static final List<Pattern> DEFAULT_INCLUDE_PATTERN_LIST
TestClassFinder.withIncludePatterns(): A single pattern to match
all Java source files.
public static final List<Pattern> DEFAULT_EXCLUDE_PATTERN_LIST
TestClassFinder.withExcludePatterns(): An empty list (no patterns).
| Constructor Detail |
|---|
public TestClassFinderUtils()
INSTANCE will suffice.
| Method Detail |
|---|
public TestClassFinder newInstance()
newInstance in interface ITestClassFinderUtilsITestClassFinderUtils.newFactory()public TestClassFinderFactory newFactory()
ITestClassFinderUtils.newInstance().
newFactory in interface ITestClassFinderUtilsITestClassFinderUtils.newInstance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||