⇒ Index (Frames) |  ⇒ Index (No Frames) |  ⇒ Package |  ⇒ Package Tree |  ⇒ Full Tree 
junit.runner

Class SimpleTestCollector

java.lang.Object
|
+--junit.runner.ClassPathTestCollector
   |
   +--junit.runner.SimpleTestCollector


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()

An implementation of a TestCollector that considers a class to be a test class when it contains the pattern "Test" in its name

Method Summary

boolean

isTestClass(String classFileName)

Constructor Details

SimpleTestCollector

public SimpleTestCollector()

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

Method Details

isTestClass

protected boolean isTestClass(String classFileName)

Parameters:
classFileName