|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.TestSuite
org.eclipse.mylyn.wikitext.tests.DiscoveryTestSuite
public class DiscoveryTestSuite
a test suite that discovers tests by traversing the classpath looking for test classes that match specific criteria.
Constructor Summary | |
---|---|
DiscoveryTestSuite(ClassFilter filter)
|
Method Summary | |
---|---|
protected void |
discoverTests(ClassFilter filter)
|
boolean |
filter(Class<?> clazz)
indicate if the class should be filtered. |
static boolean |
inEclipseRuntime()
indicate if the eclipse runtime is active |
Methods inherited from class junit.framework.TestSuite |
---|
addTest, addTestSuite, countTestCases, createTest, getName, getTestConstructor, run, runTest, setName, testAt, testCount, tests, toString, warning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DiscoveryTestSuite(ClassFilter filter)
Method Detail |
---|
protected void discoverTests(ClassFilter filter)
public static boolean inEclipseRuntime()
public boolean filter(Class<?> clazz)
ClassFilter
filter
in interface ClassFilter
clazz
- the class to test
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |