Uses of Class
org.junit.rules.Timeout
-
Packages that use Timeout Package Description org.junit.rules -
-
Uses of Timeout in org.junit.rules
Methods in org.junit.rules that return Timeout Modifier and Type Method Description Timeout
Timeout.Builder. build()
Builds aTimeout
instance using the values in this builder.,static Timeout
Timeout. millis(long millis)
Creates aTimeout
that will timeout a test after the given duration, in milliseconds.static Timeout
Timeout. seconds(long seconds)
Creates aTimeout
that will timeout a test after the given duration, in seconds.
-