JUnit 3.8.1

junit.runner
Class LoadingTestCollector

java.lang.Object
  extended byjunit.runner.ClassPathTestCollector
      extended byjunit.runner.LoadingTestCollector
All Implemented Interfaces:
TestCollector

public class LoadingTestCollector
extends ClassPathTestCollector

An implementation of a TestCollector that loads all classes on the class path and tests whether it is assignable from Test or provides a static suite method.

See Also:
TestCollector

Constructor Summary
LoadingTestCollector()
           
 
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

LoadingTestCollector

public LoadingTestCollector()
Method Detail

isTestClass

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

JUnit 3.8.1