@Deprecated
public class ConfigurableParallelComputer
extends org.junit.runner.Computer
ParallelComputerBuilder instead.| Modifier and Type | Field and Description |
|---|---|
private static java.util.concurrent.ThreadFactory |
DAEMON_THREAD_FACTORY
Deprecated.
|
private boolean |
fClasses
Deprecated.
|
private boolean |
fixedPool
Deprecated.
|
private boolean |
fMethods
Deprecated.
|
private java.util.concurrent.ExecutorService |
fService
Deprecated.
|
private java.util.List<AsynchronousRunner> |
nonBlockers
Deprecated.
|
| Modifier | Constructor and Description |
|---|---|
|
ConfigurableParallelComputer()
Deprecated.
|
|
ConfigurableParallelComputer(boolean fClasses,
boolean fMethods)
Deprecated.
|
private |
ConfigurableParallelComputer(boolean fClasses,
boolean fMethods,
java.util.concurrent.ExecutorService executorService,
boolean fixedPool)
Deprecated.
|
|
ConfigurableParallelComputer(boolean fClasses,
boolean fMethods,
java.lang.Integer numberOfThreads,
boolean perCore)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Deprecated.
|
private org.junit.runners.model.RunnerScheduler |
getClassInterceptor()
Deprecated.
|
private org.junit.runners.model.RunnerScheduler |
getMethodInterceptor()
Deprecated.
|
protected org.junit.runner.Runner |
getRunner(org.junit.runners.model.RunnerBuilder builder,
java.lang.Class<?> testClass)
Deprecated.
|
org.junit.runner.Runner |
getSuite(org.junit.runners.model.RunnerBuilder builder,
java.lang.Class<?>[] classes)
Deprecated.
|
private boolean |
isTestSuite(java.lang.Class<?> testClass)
Deprecated.
|
private org.junit.runner.Runner |
parallelize(org.junit.runner.Runner runner,
org.junit.runners.model.RunnerScheduler runnerInterceptor)
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
private static final java.util.concurrent.ThreadFactory DAEMON_THREAD_FACTORY
private final boolean fClasses
private final boolean fMethods
private final boolean fixedPool
private final java.util.concurrent.ExecutorService fService
private final java.util.List<AsynchronousRunner> nonBlockers
public ConfigurableParallelComputer()
public ConfigurableParallelComputer(boolean fClasses,
boolean fMethods)
public ConfigurableParallelComputer(boolean fClasses,
boolean fMethods,
java.lang.Integer numberOfThreads,
boolean perCore)
private ConfigurableParallelComputer(boolean fClasses,
boolean fMethods,
java.util.concurrent.ExecutorService executorService,
boolean fixedPool)
public void close()
throws java.util.concurrent.ExecutionException
java.util.concurrent.ExecutionExceptionprivate org.junit.runner.Runner parallelize(org.junit.runner.Runner runner,
org.junit.runners.model.RunnerScheduler runnerInterceptor)
private org.junit.runners.model.RunnerScheduler getMethodInterceptor()
private org.junit.runners.model.RunnerScheduler getClassInterceptor()
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.Throwableprivate boolean isTestSuite(java.lang.Class<?> testClass)
public java.lang.String toString()
toString in class java.lang.Object