public class WarningTimeout extends Object implements org.junit.rules.TestRule
TestRule
that checks for timeouts in the execution
of the tests, but differently from the JUnit's Timeout
class, just prints a warning in the log and the test still pass.
This was implemented in order to maintain the old "failOnTimeout=false"
feature from AbstractMuleTestCase
Constructor and Description |
---|
WarningTimeout(int milliseconds) |
Modifier and Type | Method and Description |
---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement statement,
Description description) |
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement statement, Description description)
apply
in interface org.junit.rules.TestRule
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.