|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.TestSuite
org.ourgrid.test.SelectiveTestCollector
public class SelectiveTestCollector
Description: Creates a test suite composed of tests of a specified type.
Constructor Summary | |
---|---|
SelectiveTestCollector(java.lang.Class selectiveTestType)
Creates a new SelectiveTestCollector with a test type to collect. |
|
SelectiveTestCollector(java.lang.Class selectiveTestType,
java.lang.String basedir)
Creates a new SelectiveTestCollector with a test type to collect and a basedir to search. |
Method Summary | |
---|---|
java.util.Enumeration |
collectTests()
Returns a enumeration with all tests of the type selectiveTestType that where found inside the
basedir and all it's sub-dirs |
protected boolean |
isSpecialTestCase(java.lang.Class testClass)
Informs if a specified test class is an expecial care test. |
Methods inherited from class junit.framework.TestSuite |
---|
addTest, addTestSuite, countTestCases, createTest, getName, getTestConstructor, run, runTest, setName, testAt, testCount, tests, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SelectiveTestCollector(java.lang.Class selectiveTestType)
selectiveTestType
- Type of tests that should be collectedpublic SelectiveTestCollector(java.lang.Class selectiveTestType, java.lang.String basedir)
selectiveTestType
- Type of tests that should be collectedbasedir
- Basedir to search for test classes.Method Detail |
---|
public java.util.Enumeration collectTests()
selectiveTestType
that where found inside the
basedir
and all it's sub-dirs
collectTests
in interface junit.runner.TestCollector
protected boolean isSpecialTestCase(java.lang.Class testClass)
testClass
- The class to be tested
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |