junit.runner
Class SimpleTestCollector
java.lang.Object
junit.runner.ClassPathTestCollector
junit.runner.SimpleTestCollector
- All Implemented Interfaces:
- TestCollector
- public class SimpleTestCollector
- extends ClassPathTestCollector
An implementation of a TestCollector that considers
a class to be a test class when it contains the
pattern "Test" in its name
- See Also:
TestCollector
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleTestCollector
public SimpleTestCollector()
isTestClass
protected boolean isTestClass(String classFileName)
- Overrides:
isTestClass
in class ClassPathTestCollector