org.junit.internal.builders
Class AnnotatedBuilder
java.lang.Object
org.junit.runners.model.RunnerBuilder
org.junit.internal.builders.AnnotatedBuilder
public class AnnotatedBuilder
- extends RunnerBuilder
AnnotatedBuilder
public AnnotatedBuilder(RunnerBuilder suiteBuilder)
runnerForClass
public Runner runnerForClass(Class<?> testClass)
throws Exception
- Description copied from class:
RunnerBuilder
- Override to calculate the correct runner for a test class at runtime.
- Specified by:
runnerForClass
in class RunnerBuilder
- Parameters:
testClass
- class to be run
- Returns:
- a Runner
- Throws:
Exception
buildRunner
public Runner buildRunner(Class<? extends Runner> runnerClass,
Class<?> testClass)
throws Exception
- Throws:
Exception