|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.junit.runner.Computer
public class Computer
Represents a strategy for computing runners and suites. WARNING: this class is very likely to undergo serious changes in version 4.8 and beyond.
Constructor Summary | |
---|---|
Computer()
|
Method Summary | |
---|---|
protected Runner |
getRunner(RunnerBuilder builder,
Class<?> testClass)
Create a single-class runner for testClass , using builder |
Runner |
getSuite(RunnerBuilder builder,
Class<?>[] classes)
Create a suite for classes , building Runners with builder . |
static Computer |
serial()
Returns a new default computer, which runs tests in serial order |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Computer()
Method Detail |
---|
public static Computer serial()
public Runner getSuite(RunnerBuilder builder, Class<?>[] classes) throws InitializationError
classes
, building Runners with builder
.
Throws an InitializationError if Runner construction fails
InitializationError
protected Runner getRunner(RunnerBuilder builder, Class<?> testClass) throws Throwable
testClass
, using builder
Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |