public class ConcurrentComputer
extends org.junit.runner.Computer
NB(zundel): This class implements the JUnitRunner Computer interface which is marked experimental in JUnit itself. Unfortunately, to use this interface you must pass an entire class into the runner, its not compatible with the Request style of running tests.
| Constructor and Description |
|---|
ConcurrentComputer(Concurrency concurrency,
int numParallelThreads) |
| Modifier and Type | Method and Description |
|---|---|
protected org.junit.runner.Runner |
getRunner(org.junit.runners.model.RunnerBuilder builder,
java.lang.Class<?> testClass) |
org.junit.runner.Runner |
getSuite(org.junit.runners.model.RunnerBuilder builder,
java.lang.Class<?>[] classes) |
public ConcurrentComputer(Concurrency concurrency, int numParallelThreads)
public org.junit.runner.Runner getSuite(org.junit.runners.model.RunnerBuilder builder,
java.lang.Class<?>[] classes)
throws org.junit.runners.model.InitializationError
getSuite in class org.junit.runner.Computerorg.junit.runners.model.InitializationErrorprotected org.junit.runner.Runner getRunner(org.junit.runners.model.RunnerBuilder builder,
java.lang.Class<?> testClass)
throws java.lang.Throwable
getRunner in class org.junit.runner.Computerjava.lang.Throwable