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