Class Timeout
java.lang.Object
io.vertx.ext.unit.junit.Timeout
- All Implemented Interfaces:
org.junit.rules.TestRule
A rule for configuring the tests timeout.
- Author:
- Julien Viet
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Timeout
-
-
Method Details
-
millis
- Parameters:
millis- the timeout value in milli seconds- Returns:
- a new timeout rule
-
seconds
- Parameters:
seconds- the timeout value in seconds- Returns:
- a new timeout rule
-
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description) - Specified by:
applyin interfaceorg.junit.rules.TestRule
-