org.apache.maven.surefire.junitcore.pc
Class ParallelComputer

java.lang.Object
  extended by org.junit.runner.Computer
      extended by 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:
ParallelComputerBuilder

Constructor Summary
ParallelComputer(double timeoutInSeconds, double timeoutForcedInSeconds)
           
 
Method Summary
protected  boolean afterRunQuietly()
           
protected  void beforeRunQuietly()
           
 String describeElapsedTimeout()
           
protected abstract  ShutdownResult describeStopped(boolean shutdownNow)
           
 
Methods inherited from class org.junit.runner.Computer
getRunner, getSuite, serial
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParallelComputer

public ParallelComputer(double timeoutInSeconds,
                        double timeoutForcedInSeconds)
Method Detail

describeStopped

protected abstract ShutdownResult describeStopped(boolean shutdownNow)

beforeRunQuietly

protected final void beforeRunQuietly()

afterRunQuietly

protected final boolean afterRunQuietly()

describeElapsedTimeout

public String describeElapsedTimeout()
                              throws org.apache.maven.surefire.testset.TestSetFailedException
Throws:
org.apache.maven.surefire.testset.TestSetFailedException


Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.