Class ConfigurableParallelComputer
- java.lang.Object
-
- org.junit.runner.Computer
-
- org.apache.maven.surefire.junitcore.ConfigurableParallelComputer
-
@Deprecated public class ConfigurableParallelComputer extends org.junit.runner.Computer
Deprecated.Since SUREFIRE 2.18 this class is deprecated. Please useParallelComputerBuilder
instead.
-
-
Field Summary
Fields Modifier and Type Field 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.
-
Constructor Summary
Constructors Modifier Constructor Description ConfigurableParallelComputer()
Deprecated.ConfigurableParallelComputer(boolean fClasses, boolean fMethods)
Deprecated.ConfigurableParallelComputer(boolean fClasses, boolean fMethods, java.lang.Integer numberOfThreads, boolean perCore)
Deprecated.private
ConfigurableParallelComputer(boolean fClasses, boolean fMethods, java.util.concurrent.ExecutorService executorService, boolean fixedPool)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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.
-
-
-
Field Detail
-
DAEMON_THREAD_FACTORY
private static final java.util.concurrent.ThreadFactory DAEMON_THREAD_FACTORY
Deprecated.
-
fClasses
private final boolean fClasses
Deprecated.
-
fMethods
private final boolean fMethods
Deprecated.
-
fixedPool
private final boolean fixedPool
Deprecated.
-
fService
private final java.util.concurrent.ExecutorService fService
Deprecated.
-
nonBlockers
private final java.util.List<AsynchronousRunner> nonBlockers
Deprecated.
-
-
Constructor Detail
-
ConfigurableParallelComputer
public ConfigurableParallelComputer()
Deprecated.
-
ConfigurableParallelComputer
public ConfigurableParallelComputer(boolean fClasses, boolean fMethods)
Deprecated.
-
ConfigurableParallelComputer
public ConfigurableParallelComputer(boolean fClasses, boolean fMethods, java.lang.Integer numberOfThreads, boolean perCore)
Deprecated.
-
ConfigurableParallelComputer
private ConfigurableParallelComputer(boolean fClasses, boolean fMethods, java.util.concurrent.ExecutorService executorService, boolean fixedPool)
Deprecated.
-
-
Method Detail
-
close
public void close() throws java.util.concurrent.ExecutionException
Deprecated.- Throws:
java.util.concurrent.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, java.lang.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, java.lang.Class<?> testClass) throws java.lang.Throwable
Deprecated.- Overrides:
getRunner
in classorg.junit.runner.Computer
- Throws:
java.lang.Throwable
-
isTestSuite
private boolean isTestSuite(java.lang.Class<?> testClass)
Deprecated.
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
-