Class ParallelComputer
java.lang.Object
org.junit.runner.Computer
org.apache.maven.surefire.junitcore.pc.ParallelComputer
public abstract class ParallelComputer
extends org.junit.runner.Computer
ParallelComputer extends JUnit
Computer
and has a shutdown functionality.- Since:
- 2.16
- Author:
- Tibor Digana (tibor17)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final boolean
protected final void
protected abstract ShutdownResult
describeStopped
(boolean shutdownNow) protected abstract boolean
Methods inherited from class org.junit.runner.Computer
getRunner, getSuite, serial
-
Constructor Details
-
ParallelComputer
public ParallelComputer(double timeoutInSeconds, double timeoutForcedInSeconds)
-
-
Method Details
-
describeStopped
-
shutdownThreadPoolsAwaitingKilled
protected abstract boolean shutdownThreadPoolsAwaitingKilled() -
beforeRunQuietly
protected final void beforeRunQuietly() -
afterRunQuietly
protected final boolean afterRunQuietly() -
describeElapsedTimeout
- Throws:
TestSetFailedException
-