junit.runner

Class LoadingTestCollector

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, isTestClass

Constructor Details

LoadingTestCollector

public LoadingTestCollector()

Method Details

isTestClass

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