Uses of Interface
org.junit.jupiter.api.Assertions.TimeoutFailureFactory
-
Uses of Assertions.TimeoutFailureFactory in org.junit.jupiter.api
Modifier and TypeMethodDescriptionstatic <T,
E extends Throwable>
TAssertions.assertTimeoutPreemptively
(Duration timeout, ThrowingSupplier<T> supplier, Supplier<String> messageSupplier, Assertions.TimeoutFailureFactory<E> failureFactory) Assert that execution of the suppliedsupplier
completes before the giventimeout
is exceeded.