Module org.junit.jupiter.api
Package org.junit.jupiter.api
Interface Assertions.TimeoutFailureFactory<T extends Throwable>
- Type Parameters:
T
- The type of error or exception created
- Enclosing class:
- Assertions
@API(status=INTERNAL,
since="5.9.1")
public static interface Assertions.TimeoutFailureFactory<T extends Throwable>
Factory for timeout failures.
-
Method Summary
-
Method Details
-
createTimeoutFailure
Create a failure for the given timeout, message, and cause.- Returns:
- timeout failure; never
null
-