Class TestTimeout
- java.lang.Object
-
- org.apache.sling.testing.junit.rules.TestTimeout
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public class TestTimeout extends Object implements org.junit.rules.TestRule
Rule to timeout a test.
-
-
Constructor Summary
Constructors Constructor Description TestTimeout()
Constructor: reads the default timeout value from the "test.timeout.milliseconds" property.TestTimeout(int fMillis)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.junit.runners.model.Statement
apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
-