Class ConfigurableParallelComputer
java.lang.Object
org.junit.runner.Computer
org.apache.maven.surefire.junitcore.ConfigurableParallelComputer
Deprecated.
Since SUREFIRE 2.18 this class is deprecated.
Please use
ParallelComputerBuilder
instead.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final ThreadFactory
Deprecated.private final boolean
Deprecated.private final boolean
Deprecated.private final boolean
Deprecated.private final ExecutorService
Deprecated.private final List<AsynchronousRunner>
Deprecated. -
Constructor Summary
ConstructorsModifierConstructorDescriptionDeprecated.ConfigurableParallelComputer
(boolean fClasses, boolean fMethods) Deprecated.ConfigurableParallelComputer
(boolean fClasses, boolean fMethods, Integer numberOfThreads, boolean perCore) Deprecated.private
ConfigurableParallelComputer
(boolean fClasses, boolean fMethods, ExecutorService executorService, boolean fixedPool) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Deprecated.private org.junit.runners.model.RunnerScheduler
Deprecated.private org.junit.runners.model.RunnerScheduler
Deprecated.protected org.junit.runner.Runner
Deprecated.org.junit.runner.Runner
Deprecated.private boolean
isTestSuite
(Class<?> testClass) Deprecated.private org.junit.runner.Runner
parallelize
(org.junit.runner.Runner runner, org.junit.runners.model.RunnerScheduler runnerInterceptor) Deprecated.toString()
Deprecated.Methods inherited from class org.junit.runner.Computer
serial
-
Field Details
-
DAEMON_THREAD_FACTORY
Deprecated. -
fClasses
private final boolean fClassesDeprecated. -
fMethods
private final boolean fMethodsDeprecated. -
fixedPool
private final boolean fixedPoolDeprecated. -
fService
Deprecated. -
nonBlockers
Deprecated.
-
-
Constructor Details
-
ConfigurableParallelComputer
public ConfigurableParallelComputer()Deprecated. -
ConfigurableParallelComputer
public ConfigurableParallelComputer(boolean fClasses, boolean fMethods) Deprecated. -
ConfigurableParallelComputer
public ConfigurableParallelComputer(boolean fClasses, boolean fMethods, Integer numberOfThreads, boolean perCore) Deprecated. -
ConfigurableParallelComputer
private ConfigurableParallelComputer(boolean fClasses, boolean fMethods, ExecutorService executorService, boolean fixedPool) Deprecated.
-
-
Method Details
-
close
Deprecated.- Throws:
ExecutionException
-
parallelize
private org.junit.runner.Runner parallelize(org.junit.runner.Runner runner, org.junit.runners.model.RunnerScheduler runnerInterceptor) Deprecated. -
getMethodInterceptor
private org.junit.runners.model.RunnerScheduler getMethodInterceptor()Deprecated. -
getClassInterceptor
private org.junit.runners.model.RunnerScheduler getClassInterceptor()Deprecated. -
getSuite
public org.junit.runner.Runner getSuite(org.junit.runners.model.RunnerBuilder builder, Class<?>[] classes) throws org.junit.runners.model.InitializationError Deprecated.- Overrides:
getSuite
in classorg.junit.runner.Computer
- Throws:
org.junit.runners.model.InitializationError
-
getRunner
protected org.junit.runner.Runner getRunner(org.junit.runners.model.RunnerBuilder builder, Class<?> testClass) throws Throwable Deprecated.- Overrides:
getRunner
in classorg.junit.runner.Computer
- Throws:
Throwable
-
isTestSuite
Deprecated. -
toString
Deprecated.
-