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 Computerclasses()protected RunnergetRunner(RunnerBuilder builder, Class<?> testClass) Create a single-class runner fortestClass, usingbuildergetSuite(RunnerBuilder builder, Class<?>[] classes) Create a suite forclasses, building Runners withbuilder.static Computermethods()private static Runnerparallelize(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:ComputerCreate a suite forclasses, building Runners withbuilder. Throws an InitializationError if Runner construction fails- Overrides:
getSuitein classComputer- Throws:
InitializationError
-
getRunner
Description copied from class:ComputerCreate a single-class runner fortestClass, usingbuilder
-