Uses of Interface
org.testframe.api.Procedure
Packages that use Procedure
- 
Uses of Procedure in org.testframe.api
Methods in org.testframe.api with parameters of type ProcedureModifier and TypeMethodDescriptionstatic voidAsserters.assertDoesNotThrow(Procedure lambda) Asserts that a given lambda does not throw exceptions of any type.static voidAsserters.assertDoesNotThrow(Procedure lambda, String msg) Asserts that a given lambda does not throw exceptions of any type.static StringAsserters.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 voidAsserters.assertTimeout(Procedure lambda, Duration allottedTime, String msg) Asserts that a lambda completes in a certain amount of time.