Uses of Interface
org.junit.jupiter.api.function.ThrowingSupplier
Packages that use ThrowingSupplier
-
Uses of ThrowingSupplier in org.junit.jupiter.api
Methods in org.junit.jupiter.api with parameters of type ThrowingSupplierModifier and TypeMethodDescriptionstatic <T extends @Nullable Object>
TAssertions.assertDoesNotThrow(ThrowingSupplier<T> supplier) Assert that execution of the suppliedsupplierdoes not throw any kind of exception.static <T extends @Nullable Object>
TAssertions.assertDoesNotThrow(ThrowingSupplier<T> supplier, @Nullable String message) Assert that execution of the suppliedsupplierdoes not throw any kind of exception.static <T extends @Nullable Object>
TAssertions.assertDoesNotThrow(ThrowingSupplier<T> supplier, Supplier<@Nullable String> messageSupplier) Assert that execution of the suppliedsupplierdoes not throw any kind of exception.static <T extends @Nullable Object>
TAssertions.assertTimeout(Duration timeout, ThrowingSupplier<T> supplier) Assert that execution of the suppliedsuppliercompletes before the giventimeoutis exceeded.static <T extends @Nullable Object>
TAssertions.assertTimeout(Duration timeout, ThrowingSupplier<T> supplier, @Nullable String message) Assert that execution of the suppliedsuppliercompletes before the giventimeoutis exceeded.static <T extends @Nullable Object>
TAssertions.assertTimeout(Duration timeout, ThrowingSupplier<T> supplier, Supplier<@Nullable String> messageSupplier) Assert that execution of the suppliedsuppliercompletes before the giventimeoutis exceeded.static <T extends @Nullable Object>
TAssertions.assertTimeoutPreemptively(Duration timeout, ThrowingSupplier<T> supplier) Assert that execution of the suppliedsuppliercompletes before the giventimeoutis exceeded.static <T extends @Nullable Object>
TAssertions.assertTimeoutPreemptively(Duration timeout, ThrowingSupplier<T> supplier, @Nullable String message) Assert that execution of the suppliedsuppliercompletes before the giventimeoutis exceeded.static <T extends @Nullable Object>
TAssertions.assertTimeoutPreemptively(Duration timeout, ThrowingSupplier<T> supplier, Supplier<@Nullable String> messageSupplier) Assert that execution of the suppliedsuppliercompletes before the giventimeoutis exceeded.Assertions.assertTimeoutPreemptively(Duration timeout, ThrowingSupplier<T> supplier, Supplier<@Nullable String> messageSupplier, Assertions.TimeoutFailureFactory<E> failureFactory) Assert that execution of the suppliedsuppliercompletes before the giventimeoutis exceeded.