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 JUnitComputer
and has a shutdown functionality.- Since:
- 2.16
- Author:
- Tibor Digana (tibor17)
- See Also:
ParallelComputerBuilder
-
-
Constructor Summary
Constructors Constructor Description ParallelComputer(double timeoutInSeconds, double timeoutForcedInSeconds)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected boolean
afterRunQuietly()
protected void
beforeRunQuietly()
String
describeElapsedTimeout()
protected abstract ShutdownResult
describeStopped(boolean shutdownNow)
protected abstract boolean
shutdownThreadPoolsAwaitingKilled()
-
-
-
Method Detail
-
describeStopped
protected abstract ShutdownResult describeStopped(boolean shutdownNow)
-
shutdownThreadPoolsAwaitingKilled
protected abstract boolean shutdownThreadPoolsAwaitingKilled()
-
beforeRunQuietly
protected final void beforeRunQuietly()
-
afterRunQuietly
protected final boolean afterRunQuietly()
-
describeElapsedTimeout
public String describeElapsedTimeout() throws TestSetFailedException
- Throws:
TestSetFailedException
-
-