Uses of Record Class
nl.pim16aap2.testing.logging.LogAssertionsUtil.ThrowableSpec
Packages that use LogAssertionsUtil.ThrowableSpec
Package
Description
This package contains a set of classes and utilities to capture and test logs in JUnit tests.
-
Uses of LogAssertionsUtil.ThrowableSpec in nl.pim16aap2.testing.logging
Methods in nl.pim16aap2.testing.logging that return LogAssertionsUtil.ThrowableSpecModifier and TypeMethodDescriptionstatic LogAssertionsUtil.ThrowableSpec[]Creates an array of ThrowableSpecs from the provided classes.Methods in nl.pim16aap2.testing.logging with parameters of type LogAssertionsUtil.ThrowableSpecModifier and TypeMethodDescriptionstatic voidLogAssertionsUtil.assertThrowableLogged(nl.altindag.log.LogCaptor logCaptor, int position, @Nullable String expectedMessage, LogAssertionsUtil.ThrowableSpec... throwableSpecs) Ensures that a throwable with the correct causes was logged.static voidLogAssertionsUtil.assertThrowableNesting(@Nullable Throwable base, LogAssertionsUtil.ThrowableSpec... throwableSpecs) Ensures that a throwable has the correct causes.