Uses of Enum Class
nl.pim16aap2.testing.logging.LogAssertionsUtil.MessageComparisonMethod
Packages that use LogAssertionsUtil.MessageComparisonMethod
Package
Description
This package contains a set of classes and utilities to capture and test logs in JUnit tests.
-
Uses of LogAssertionsUtil.MessageComparisonMethod in nl.pim16aap2.testing.logging
Methods in nl.pim16aap2.testing.logging that return LogAssertionsUtil.MessageComparisonMethodModifier and TypeMethodDescriptionLogAssertionsUtil.ThrowableSpec.stringCompareMethod()Returns the value of thestringCompareMethodrecord component.Returns the enum constant of this class with the specified name.LogAssertionsUtil.MessageComparisonMethod.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in nl.pim16aap2.testing.logging with parameters of type LogAssertionsUtil.MessageComparisonMethodModifier and TypeMethodDescriptionstatic voidLogAssertionsUtil.assertLogged(nl.altindag.log.LogCaptor logCaptor, int position, String message, LogAssertionsUtil.MessageComparisonMethod comparisonMethod) Ensures that a message was logged.static voidLogAssertionsUtil.assertLogged(nl.altindag.log.LogCaptor logCaptor, String message, LogAssertionsUtil.MessageComparisonMethod comparisonMethod) Ensures that a message was logged.LogAssertionsUtil.LogAssertion.LogAssertionBuilder.comparisonMethod(LogAssertionsUtil.MessageComparisonMethod comparisonMethod) The method to use when comparing the expected and actual messages.Constructors in nl.pim16aap2.testing.logging with parameters of type LogAssertionsUtil.MessageComparisonMethodModifierConstructorDescriptionThrowableSpec(Class<?> expectedType, @Nullable String expectedMessage, LogAssertionsUtil.MessageComparisonMethod stringCompareMethod) Creates an instance of aThrowableSpecrecord class.