public class WarnOnTimeout extends org.junit.runners.model.Statement
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.Constructor and Description |
---|
WarnOnTimeout(org.junit.runners.model.Statement next,
long timeout) |
public WarnOnTimeout(org.junit.runners.model.Statement next, long timeout)
public void evaluate() throws Throwable
evaluate
in class org.junit.runners.model.Statement
Throwable
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.