org.junit.internal.runners.statements
Class FailOnTimeout

java.lang.Object
  extended by org.junit.runners.model.Statement
      extended by org.junit.internal.runners.statements.FailOnTimeout

public class FailOnTimeout
extends Statement


Constructor Summary
FailOnTimeout(Statement next, long timeout)
           
 
Method Summary
 void evaluate()
          Run the action, throwing a Throwable if anything goes wrong.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FailOnTimeout

public FailOnTimeout(Statement next,
                     long timeout)
Method Detail

evaluate

public void evaluate()
              throws Throwable
Description copied from class: Statement
Run the action, throwing a Throwable if anything goes wrong.

Specified by:
evaluate in class Statement
Throws:
Throwable