org.mule.tck.junit4.rule
Class WarnOnTimeout
java.lang.Object
org.junit.runners.model.Statement
org.mule.tck.junit4.rule.WarnOnTimeout
public class WarnOnTimeout
- extends org.junit.runners.model.Statement
Defines a Statement
to execute a test with a given timeout.
Differently from JUnit's internal.runners.statements.FailOnTimeout
this statement just prints a warning in the log, so the test will pass in
case of timeout.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WarnOnTimeout
public WarnOnTimeout(org.junit.runners.model.Statement next,
long timeout)
evaluate
public void evaluate()
throws Throwable
- Specified by:
evaluate
in class org.junit.runners.model.Statement
- Throws:
Throwable
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.