jmathlib.tools.junit.runner
Class SimpleTestCollector

java.lang.Object
  extended by jmathlib.tools.junit.runner.ClassPathTestCollector
      extended by jmathlib.tools.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 jmathlib.tools.junit.runner.ClassPathTestCollector
SUFFIX_LENGTH
 
Constructor Summary
SimpleTestCollector()
           
 
Method Summary
protected  boolean isTestClass(java.lang.String classFileName)
           
 
Methods inherited from class jmathlib.tools.junit.runner.ClassPathTestCollector
classNameFromFile, 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(java.lang.String classFileName)
Overrides:
isTestClass in class ClassPathTestCollector

FOOTER

BOTTOM