junit.runner
Class SimpleTestCollector

java.lang.Object
  extended by junit.runner.ClassPathTestCollector
      extended by 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

Field Summary
 
Fields inherited from class junit.runner.ClassPathTestCollector
SUFFIX_LENGTH
 
Constructor Summary
SimpleTestCollector()
           
 
Method Summary
protected  boolean isTestClass(String classFileName)
           
 
Methods inherited from class junit.runner.ClassPathTestCollector
classNameFromFile, collectFilesInPath, collectFilesInRoots, collectTests, gatherFiles, splitClassPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleTestCollector

public SimpleTestCollector()
Method Detail

isTestClass

protected boolean isTestClass(String classFileName)
Overrides:
isTestClass in class ClassPathTestCollector