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