org.junit.internal.builders
Class SuiteMethodBuilder
java.lang.Object
org.junit.runners.model.RunnerBuilder
org.junit.internal.builders.SuiteMethodBuilder
public class SuiteMethodBuilder
- extends RunnerBuilder
SuiteMethodBuilder
public SuiteMethodBuilder()
runnerForClass
public Runner runnerForClass(Class<?> each)
throws Throwable
- Description copied from class:
RunnerBuilder
- Override to calculate the correct runner for a test class at runtime.
- Specified by:
runnerForClass
in class RunnerBuilder
- Parameters:
each
- class to be run
- Returns:
- a Runner
- Throws:
Throwable
- if a runner cannot be constructed
hasSuiteMethod
public boolean hasSuiteMethod(Class<?> testClass)