Uses of Class
nl.pim16aap2.testing.logging.LogAssertionsUtil.LogAssertion.LogAssertionBuilder
Packages that use LogAssertionsUtil.LogAssertion.LogAssertionBuilder
Package
Description
This package contains a set of classes and utilities to capture and test logs in JUnit tests.
-
Uses of LogAssertionsUtil.LogAssertion.LogAssertionBuilder in nl.pim16aap2.testing.logging
Methods in nl.pim16aap2.testing.logging that return LogAssertionsUtil.LogAssertion.LogAssertionBuilderModifier and TypeMethodDescriptionLogAssertionsUtil.LogAssertion.LogAssertionBuilder.comparisonMethod(LogAssertionsUtil.MessageComparisonMethod comparisonMethod) The method to use when comparing the expected and actual messages.LogAssertionsUtil.LogAssertion.LogAssertionBuilder.formattedMessage(@Nullable String formattedMessage) The fully formatted message that was logged, with all arguments substituted.Sets the expected log level of the log event.LogAssertionsUtil.logAssertionBuilder(nl.altindag.log.LogCaptor logCaptor) Creates a new instance of aLogAssertionsUtil.LogAssertion.LogAssertionBuilderwith the provided log captor.LogAssertionsUtil.LogAssertion.LogAssertionBuilder.logCaptor(@Nullable nl.altindag.log.LogCaptor logCaptor) The log captor to get the log event from.LogAssertionsUtil.LogAssertion.LogAssertionBuilder.message(String message, @Nullable Object... arguments) Sets both the raw message and the arguments.The position of the log event to check. 0 means the first (oldest) log event, 1 means the second, etc.