Package 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
-
-
Constructor Summary
Constructors Constructor Description SimpleTestCollector()
-
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
-
-