Uses of Interface
org.junit.jupiter.api.util.PreemptiveTimeoutUtils.TimeoutFailureFactory
Packages that use PreemptiveTimeoutUtils.TimeoutFailureFactory
-
Uses of PreemptiveTimeoutUtils.TimeoutFailureFactory in org.junit.jupiter.api.util
Methods in org.junit.jupiter.api.util with parameters of type PreemptiveTimeoutUtils.TimeoutFailureFactoryModifier and TypeMethodDescriptionPreemptiveTimeoutUtils.executeWithPreemptiveTimeout(Duration timeout, ThrowingSupplier<T> supplier, @Nullable Supplier<@Nullable String> messageSupplier, PreemptiveTimeoutUtils.TimeoutFailureFactory<E> failureFactory) Assert that execution of the suppliedsuppliercompletes before the giventimeoutis exceeded.