Uses of Class
org.junit.rules.Timeout.Builder
-
Packages that use Timeout.Builder Package Description org.junit.rules -
-
Uses of Timeout.Builder in org.junit.rules
Methods in org.junit.rules that return Timeout.Builder Modifier and Type Method Description static Timeout.Builder
Timeout. builder()
Returns a new builder for building an instance.Timeout.Builder
Timeout.Builder. withLookingForStuckThread(boolean enable)
Specifies whether to look for a stuck thread.Timeout.Builder
Timeout.Builder. withTimeout(long timeout, java.util.concurrent.TimeUnit unit)
Specifies the time to wait before timing out the test.Constructors in org.junit.rules with parameters of type Timeout.Builder Constructor Description Timeout(Timeout.Builder builder)
Create aTimeout
instance initialized with values from a builder.
-