Package org.junit.experimental
Class ParallelComputer
- java.lang.Object
- org.junit.runner.Computer
- org.junit.experimental.ParallelComputer
public class ParallelComputer extends Computer
Constructor Summary
Constructors Constructor Description ParallelComputer(boolean classes, boolean methods)
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Computer
classes()
protected Runner
getRunner(RunnerBuilder builder, Class<?> testClass)
Create a single-class runner fortestClass
, usingbuilder
Runner
getSuite(RunnerBuilder builder, Class<?>[] classes)
Create a suite forclasses
, building Runners withbuilder
.static Computer
methods()
Constructor Detail
ParallelComputer
public ParallelComputer(boolean classes, boolean methods)
Method Detail
getSuite
public Runner getSuite(RunnerBuilder builder, Class<?>[] classes) throws InitializationError
Description copied from class:Computer
Create a suite forclasses
, building Runners withbuilder
. Throws an InitializationError if Runner construction fails- Overrides:
getSuite
in classComputer
- Throws:
InitializationError