Package org.junit.experimental
Class ParallelComputer
java.lang.Object
org.junit.runner.Computer
org.junit.experimental.ParallelComputer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Computer
classes()
protected Runner
getRunner
(RunnerBuilder builder, Class<?> testClass) Create a single-class runner fortestClass
, usingbuilder
getSuite
(RunnerBuilder builder, Class<?>[] classes) Create a suite forclasses
, building Runners withbuilder
.static Computer
methods()
private static Runner
parallelize
(Runner runner)
-
Field Details
-
classes
private final boolean classes -
methods
private final boolean methods
-
-
Constructor Details
-
ParallelComputer
public ParallelComputer(boolean classes, boolean methods)
-
-
Method Details
-
classes
-
methods
-
parallelize
-
getSuite
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
-
getRunner
Description copied from class:Computer
Create a single-class runner fortestClass
, usingbuilder
-