static <T> T |
Assertions.assertDoesNotThrow(ThrowingSupplier<T> supplier) |
Assert that execution of the supplied supplier does
not throw any kind of exception.
|
static <T> T |
Assertions.assertDoesNotThrow(ThrowingSupplier<T> supplier,
java.lang.String message) |
Assert that execution of the supplied supplier does
not throw any kind of exception.
|
static <T> T |
Assertions.assertDoesNotThrow(ThrowingSupplier<T> supplier,
java.util.function.Supplier<java.lang.String> messageSupplier) |
Assert that execution of the supplied supplier does
not throw any kind of exception.
|
static <T> T |
Assertions.assertTimeout(java.time.Duration timeout,
ThrowingSupplier<T> supplier) |
Assert 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) |
Assert 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) |
Assert 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) |
Assert 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) |
Assert 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) |
Assert that execution of the supplied supplier
completes before the given timeout is exceeded.
|
static <T,E extends java.lang.Throwable> T |
Assertions.assertTimeoutPreemptively(java.time.Duration timeout,
ThrowingSupplier<T> supplier,
java.util.function.Supplier<java.lang.String> messageSupplier,
Assertions.TimeoutFailureFactory<E> failureFactory) |
Assert that execution of the supplied supplier
completes before the given timeout is exceeded.
|