Uses of Interface
org.testframe.api.Procedure
-
Uses of Procedure in org.testframe.api
Modifier and TypeMethodDescriptionstatic void
Asserters.assertDoesNotThrow
(Procedure lambda) Asserts that a given lambda does not throw exceptions of any type.static void
Asserters.assertDoesNotThrow
(Procedure lambda, String msg) Asserts that a given lambda does not throw exceptions of any type.static String
Asserters.assertPrintOut
(Predicate<String> predicate, Procedure lambda, String msg) Makes a Boolean assertion about what a lambda sends toSystem.out
.static <E extends Exception>
EAsserters.assertThrows
(Procedure lambda, Class<E> exceptionType) Asserts that a given lambda caused an exception of a particular type.static <E extends Exception>
EAsserters.assertThrows
(Procedure lambda, Class<E> exceptionType, String msg) Asserts that a given lambda caused an exception of a particular type.static void
Asserters.assertTimeout
(Procedure lambda, Duration allottedTime, String msg) Asserts that a lambda completes in a certain amount of time.