junit.runner
Class ClassPathTestCollector
java.lang.Object
junit.runner.ClassPathTestCollector
- TestCollector
public abstract class ClassPathTestCollector
extends java.lang.Object
An implementation of a TestCollector that consults the
class path. It considers all classes on the class path
excluding classes in JARs. It leaves it up to subclasses
to decide whether a class is a runnable Test.
ClassPathTestCollector
public ClassPathTestCollector()
classNameFromFile
protected String classNameFromFile(String classFileName)
collectFilesInPath
public Hashtable collectFilesInPath(String classPath)
isTestClass
protected boolean isTestClass(String classFileName)