Package junit.runner
Class LoadingTestCollector
- java.lang.Object
-
- junit.runner.ClassPathTestCollector
-
- junit.runner.LoadingTestCollector
-
- All Implemented Interfaces:
TestCollector
public class LoadingTestCollector extends ClassPathTestCollector
An implementation of a TestCollector that loads all classes on the class path and tests whether it is assignable from Test or provides a static suite method.- See Also:
TestCollector
-
-
Constructor Summary
Constructors Constructor Description LoadingTestCollector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
isTestClass(java.lang.String classFileName)
-
Methods inherited from class junit.runner.ClassPathTestCollector
classNameFromFile, collectFilesInPath, collectTests
-
-
-
-
Method Detail
-
isTestClass
protected boolean isTestClass(java.lang.String classFileName)
- Overrides:
isTestClass
in classClassPathTestCollector
-
-