Uses of Interface
org.junit.jupiter.api.Assertions.TimeoutFailureFactory
-
Packages that use Assertions.TimeoutFailureFactory Package Description org.junit.jupiter.api JUnit Jupiter API for writing tests. -
-
Uses of Assertions.TimeoutFailureFactory in org.junit.jupiter.api
Methods in org.junit.jupiter.api with parameters of type Assertions.TimeoutFailureFactory Modifier and Type Method Description static <T,E extends java.lang.Throwable>
TAssertions. 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 suppliedsupplier
completes before the giventimeout
is exceeded.
-