static <T> T |
Assertions.assertTimeout(java.time.Duration timeout,
ThrowingSupplier<T> supplier) |
Asserts that execution of the supplied supplier
completes before the given timeout is exceeded.
|
static <T> T |
Assertions.assertTimeout(java.time.Duration timeout,
ThrowingSupplier<T> supplier,
java.lang.String message) |
Asserts that execution of the supplied supplier
completes before the given timeout is exceeded.
|
static <T> T |
Assertions.assertTimeout(java.time.Duration timeout,
ThrowingSupplier<T> supplier,
java.util.function.Supplier<java.lang.String> messageSupplier) |
Asserts that execution of the supplied supplier
completes before the given timeout is exceeded.
|
static <T> T |
Assertions.assertTimeoutPreemptively(java.time.Duration timeout,
ThrowingSupplier<T> supplier) |
Asserts that execution of the supplied supplier
completes before the given timeout is exceeded.
|
static <T> T |
Assertions.assertTimeoutPreemptively(java.time.Duration timeout,
ThrowingSupplier<T> supplier,
java.lang.String message) |
Asserts that execution of the supplied supplier
completes before the given timeout is exceeded.
|
static <T> T |
Assertions.assertTimeoutPreemptively(java.time.Duration timeout,
ThrowingSupplier<T> supplier,
java.util.function.Supplier<java.lang.String> messageSupplier) |
Asserts that execution of the supplied supplier
completes before the given timeout is exceeded.
|