org.junit.internal.builders
Class JUnit3Builder
java.lang.Object
org.junit.runners.model.RunnerBuilder
org.junit.internal.builders.JUnit3Builder
public class JUnit3Builder
- extends RunnerBuilder
Method Summary |
Runner |
runnerForClass(Class<?> testClass)
Override to calculate the correct runner for a test class at runtime. |
JUnit3Builder
public JUnit3Builder()
runnerForClass
public Runner runnerForClass(Class<?> testClass)
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:
testClass
- class to be run
- Returns:
- a Runner
- Throws:
Throwable
- if a runner cannot be constructed