JUnit 3.8.1

junit.runner
Class SimpleTestCollector

java.lang.Object
  extended byjunit.runner.ClassPathTestCollector
      extended byjunit.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
SimpleTestCollector()
           
 
Method Summary
protected  boolean isTestClass(String classFileName)
           
 
Methods inherited from class junit.runner.ClassPathTestCollector
classNameFromFile, collectFilesInPath, collectTests
 
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

JUnit 3.8.1