Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
406 0 0 0 100% 4.005 s

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
com.github.valfirst.slf4jtest 398 0 0 0 100% 3.994 s
uk.org.lidalia.lang 8 0 0 0 100% 0.011 s

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

com.github.valfirst.slf4jtest

- Class Tests Errors Failures Skipped Success Rate Time
TestLoggerFactoryTests 29 0 0 0 100% 0.061 s
ConfigureCleanupViaProgrammaticExtensionRegistrationTests$Something 2 0 0 0 100% 0.014 s
ConfigureCleanupViaDeclarativeExtensionRegistrationTests$Something 2 0 0 0 100% 0.002 s
TestLoggerAssertionsTest$AnyThread 0 0 0 0 0% 0.195 s
TestLoggerAssertionsTest$HasLevel 2 0 0 0 100% 0.025 s
TestLoggerAssertionsTest$HasLoggedTestCase$TestCase$Throwables 16 0 0 0 100% 0.008 s
TestLoggerFactoryResetRuleUnitTests 4 0 0 0 100% 0.003 s
JulConfigTests 3 0 0 0 100% 0.006 s
TestLoggerAssertionsTest$HasNotLoggedTestCase$LogMessage 0 0 0 0 0% 0.019 s
TestLoggerAssertionsTest$HasLoggedTestCase$TestCase$WithoutThrowable 24 0 0 0 100% 0.008 s
TestLoggerAssertionsTest$CurrentThread$HasLogged 0 0 0 0 0% 0.049 s
TestLoggerAssertionsTest$HasLoggedTestCase$CustomPredicates 4 0 0 0 100% 0.003 s
TestLoggerAssertionsTest$HasLoggedTestCase$AsLoggingEvent 0 0 0 0 0% 0.024 s
TestLoggerAssertionsTest$AnyThread$HasNotLogged 0 0 0 0 0% 0.123 s
ConfigureCleanupViaProgrammaticExtensionRegistrationTests 0 0 0 0 0% 0.014 s
TestLoggerAssertionsTest$HasNotLoggedTestCase$TestCase$Throwables 16 0 0 0 100% 0.009 s
TestLoggerAssertionsTest$HasNotLoggedTestCase$AsLoggingEvent 14 0 0 0 100% 0.017 s
TestLoggerAssertionsTest$HasNotLoggedTestCase$LogMessage 14 0 0 0 100% 0.010 s
LevelAssertTest 0 0 0 0 0% 0.016 s
TestLoggerTests 108 0 0 0 100% 0.175 s
TestLoggerAssertionsTest$HasNotLoggedTestCase$AsLoggingEvent 0 0 0 0 0% 0.021 s
TestLoggerAssertionsTest$CurrentThread 0 0 0 0 0% 0.102 s
LevelAssertTest$HasMessageMatching 3 0 0 0 100% 0.006 s
LoggingEventTests 70 0 0 0 100% 0.115 s
TestLoggerAssertionsTest$HasNotLoggedTestCase$CustomPredicates 4 0 0 0 100% 0.004 s
TestLoggerFactoryExtensionTests 2 0 0 0 100% 0.001 s
AssertionsTest 1 0 0 0 100% 0.002 s
TestLoggingEventBuilderTests 6 0 0 0 100% 0.002 s
TestLoggerAssertionsTest$HasLoggedTestCase$UsingPredicateBuilder 4 0 0 0 100% 0.004 s
LevelAssertTest$HasLogCount 3 0 0 0 100% 0.004 s
TestMDCAdapterTests 34 0 0 0 100% 0.934 s
TestLoggerFactoryExtensionUnitTests 2 0 0 0 100% 0.062 s
ConfigureCleanupViaDeclarativeExtensionRegistrationTests 0 0 0 0 0% 0.002 s
TestLoggerAssertionsTest$MdcComparison 3 0 0 0 100% 0.018 s
TestLoggerAssertionsTest$KeyValuePairsPredicate 2 0 0 0 100% 0.234 s
OverridablePropertiesTests 6 0 0 0 100% 0.950 s
TestLoggerAssertionsTest$HasLoggedTestCase$LogMessage 0 0 0 0 0% 0.017 s
TestLoggerAssertionsTest$AnyThread$HasLogged 0 0 0 0 0% 0.070 s
TestLoggerFactoryResetRuleTests 2 0 0 0 100% 0.002 s
TestLoggerAssertionsTest 0 0 0 0 0% 0.585 s
TestSLF4JServiceProviderTests 8 0 0 0 100% 0.014 s
TestLoggerAssertionsTest$HasNotLoggedTestCase$UsingPredicateBuilder 4 0 0 0 100% 0.004 s
TestLoggerAssertionsTest$CurrentThread$HasNotLogged 0 0 0 0 0% 0.051 s
TestLoggerAssertionsTest$DeprecatedMarkerPredicate 3 0 0 0 100% 0.005 s
LevelAssertTest$HasMessageContaining 3 0 0 0 100% 0.004 s

uk.org.lidalia.lang

- Class Tests Errors Failures Skipped Success Rate Time
ThreadLocalTests 8 0 0 0 100% 0.011 s

Test Cases

[Summary] [Package List] [Test Cases]

TestLoggerFactoryTests

defaultCaptureLevelIsTrace 0.003 s
getAllLoggingEventsDoesNotGetEventsForLoggersNotEnabled 0.009 s
defaultPrintLevelIsOff 0.003 s
staticGetTestLoggerStringReturnsSame 0.001 s
printLevelTakenFromOverridableProperties 0.003 s
getLoggingEventsReturnsUnmodifiableList 0.012 s
captureLevelInvalidInOverridableProperties 0.003 s
getLoggingEventsReturnsCopyNotView 0.001 s
getAllTestLoggers 0.001 s
getAllLoggersReturnsCopyNotView 0.001 s
getAllLoggingEventsDoesNotAddToMultipleLoggers 0 s
clearAllClearsEventsLoggedInAllThreads 0.001 s
getLoggingEventsOnlyReturnsEventsLoggedInThisThread 0.002 s
getAllLoggingEvents 0.001 s
defaultConstructor 0.001 s
resetRemovesAllLoggers 0.001 s
printLevelInvalidInOverridableProperties 0.002 s
getLoggerSameNames 0.001 s
clear 0.001 s
oneArgConstructor 0 s
getAllLoggingEventsReturnsEventsLoggedInAllThreads 0.001 s
staticGetTestLoggerClassReturnsSame 0.001 s
clearOnlyClearsEventsLoggedInThisThread 0.001 s
getLoggerDifferentNames 0.001 s
resetRemovesAllLoggingEvents 0.001 s
setLevel 0.001 s
clearDoesNotRemoveLoggers 0 s
captureLevelTakenFromOverridableProperties 0.001 s
getAllLoggersReturnsUnmodifiableList 0 s

ConfigureCleanupViaProgrammaticExtensionRegistrationTests$Something

info 0.013 s
error 0.001 s

ConfigureCleanupViaDeclarativeExtensionRegistrationTests$Something

info 0.001 s
error 0.001 s

TestLoggerAssertionsTest$HasLevel

returnsLevelAssertRegardlessOfWhetherLogsAreAvailableOrNot 0.002 s
propagatesAnyThreadToLevelAssert 0.022 s

TestLoggerAssertionsTest$HasLoggedTestCase$TestCase$Throwables

returnsSelfWhenPasses 0.002 s
returnsSelfWhenPasses 0 s
returnsSelfWhenPasses 0.001 s
returnsSelfWhenPasses 0.001 s
canBeUsedToAssertWithThrowablesWhenNotFound 0.003 s
canBeUsedToAssertWithThrowablesWhenNotFound 0.002 s
canBeUsedToAssertWithThrowablesWhenNotFound 0.002 s
canBeUsedToAssertWithThrowablesWhenNotFound 0.001 s
canBeUsedToAssertWithThrowablesWhenFound 0.001 s
canBeUsedToAssertWithThrowablesWhenFound 0.001 s
canBeUsedToAssertWithThrowablesWhenFound 0.001 s
canBeUsedToAssertWithThrowablesWhenFound 0 s
canBeUsedToAssertWithThrowablesWhenNotFoundWithArguments 0.002 s
canBeUsedToAssertWithThrowablesWhenNotFoundWithArguments 0.002 s
canBeUsedToAssertWithThrowablesWhenNotFoundWithArguments 0.002 s
canBeUsedToAssertWithThrowablesWhenNotFoundWithArguments 0.002 s

TestLoggerFactoryResetRuleUnitTests

resetsThreadLocalDataBeforeTest 0 s
resetsThreadLocalDataOnException 0.001 s
resetsThreadLocalDataAfterTest 0.001 s
doesNotResetNonThreadLocalData 0 s

JulConfigTests

testLogging 0.003 s
testExtension 0 s
testSetupTwice 0.001 s

TestLoggerAssertionsTest$HasLoggedTestCase$TestCase$WithoutThrowable

failsWhenLogMessageIsNotFound 0.002 s
failsWhenLogMessageIsNotFound 0.001 s
failsWhenLogMessageIsNotFound 0.002 s
failsWhenLogMessageIsNotFound 0.001 s
returnsSelfWhenPasses 0.001 s
returnsSelfWhenPasses 0.001 s
returnsSelfWhenPasses 0 s
returnsSelfWhenPasses 0.001 s
failsWhenArgumentsInDifferentOrder 0.002 s
failsWhenArgumentsInDifferentOrder 0.001 s
failsWhenArgumentsInDifferentOrder 0.001 s
failsWhenArgumentsInDifferentOrder 0.001 s
failsWhenExpectingMoreArgumentsThanExists 0.002 s
failsWhenExpectingMoreArgumentsThanExists 0.002 s
failsWhenExpectingMoreArgumentsThanExists 0.002 s
failsWhenExpectingMoreArgumentsThanExists 0.001 s
failsWhenActuallyMoreArgumentsThanExpected 0.003 s
failsWhenActuallyMoreArgumentsThanExpected 0.002 s
failsWhenActuallyMoreArgumentsThanExpected 0.002 s
failsWhenActuallyMoreArgumentsThanExpected 0.001 s
passesWhenLogMessageIsFound 0.001 s
passesWhenLogMessageIsFound 0.001 s
passesWhenLogMessageIsFound 0 s
passesWhenLogMessageIsFound 0 s

TestLoggerAssertionsTest$HasLoggedTestCase$CustomPredicates

failsWhenPredicateDoesNotMatch 0.002 s
failsWhenPredicateDoesNotMatch 0.001 s
passesWhenPredicateMatches 0.001 s
passesWhenPredicateMatches 0.001 s

ThreadLocalTests

initialValueSourceIsStateful 0.002 s
initialValueWorksForAllThreads 0.001 s
removeWorks 0 s
resetWorksForAllThreads 0.001 s
initialValueSourceIsStatefulOtherThread 0.001 s
differentValuePerThread 0 s
initialValueSourceIsCalledSeparatelyPerThread 0.001 s
removeWorksOtherThread 0.001 s

TestLoggerAssertionsTest$HasNotLoggedTestCase$TestCase$Throwables

returnsSelfWhenPasses 0.050 s
returnsSelfWhenPasses 0.001 s
returnsSelfWhenPasses 0.001 s
returnsSelfWhenPasses 0.001 s
canBeUsedToAssertWithThrowablesWhenFoundWithArguments 0.008 s
canBeUsedToAssertWithThrowablesWhenFoundWithArguments 0.002 s
canBeUsedToAssertWithThrowablesWhenFoundWithArguments 0.001 s
canBeUsedToAssertWithThrowablesWhenFoundWithArguments 0.002 s
canBeUsedToAssertWithThrowablesWhenNotFound 0.001 s
canBeUsedToAssertWithThrowablesWhenNotFound 0.001 s
canBeUsedToAssertWithThrowablesWhenNotFound 0.001 s
canBeUsedToAssertWithThrowablesWhenNotFound 0.001 s
canBeUsedToAssertWithThrowablesWhenFound 0.002 s
canBeUsedToAssertWithThrowablesWhenFound 0.001 s
canBeUsedToAssertWithThrowablesWhenFound 0.001 s
canBeUsedToAssertWithThrowablesWhenFound 0.002 s

TestLoggerAssertionsTest$HasNotLoggedTestCase$AsLoggingEvent

returnsSelfWhenPasses 0.002 s
returnsSelfWhenPasses 0.001 s
failsWhenArgumentsInDifferentOrder 0.002 s
failsWhenArgumentsInDifferentOrder 0.001 s
failsWhenExpectingMoreArgumentsThanExists 0.002 s
failsWhenExpectingMoreArgumentsThanExists 0 s
passesWhenLogMessageIsNotFound 0.001 s
passesWhenLogMessageIsNotFound 0.001 s
passesWhenActuallyMoreArgumentsThanExpected 0.001 s
passesWhenActuallyMoreArgumentsThanExpected 0.001 s
failsWhenLogMessageIsFound 0.002 s
failsWhenLogMessageIsFound 0.001 s
passesWhenLogMessageIsNotFoundWithArguments 0.001 s
passesWhenLogMessageIsNotFoundWithArguments 0.001 s

TestLoggerAssertionsTest$HasNotLoggedTestCase$LogMessage

returnsSelfWhenPasses 0.001 s
returnsSelfWhenPasses 0 s
failsWhenArgumentsInDifferentOrder 0.001 s
failsWhenArgumentsInDifferentOrder 0 s
failsWhenExpectingMoreArgumentsThanExists 0.001 s
failsWhenExpectingMoreArgumentsThanExists 0 s
passesWhenLogMessageIsNotFound 0.001 s
passesWhenLogMessageIsNotFound 0.001 s
passesWhenActuallyMoreArgumentsThanExpected 0.001 s
passesWhenActuallyMoreArgumentsThanExpected 0 s
failsWhenLogMessageIsFound 0.001 s
failsWhenLogMessageIsFound 0.001 s
passesWhenLogMessageIsNotFoundWithArguments 0.001 s
passesWhenLogMessageIsNotFoundWithArguments 0.001 s

TestLoggerTests

traceMarkerMessageManyArgs 0.002 s
debugMarkerMessageOneArg 0 s
infoMarkerMessageManyArgsWithThrowable 0.001 s
infoMessageOneArg 0 s
doesNotCaptureWhenCaptureLevelGreaterThanEventLevel 0.001 s
nullMdcValue 0.001 s
captureAllLevelsByDefault 0 s
captureLevelAndLoggerLevelAreChecked 0 s
traceEnabledMarker 0.001 s
clearOnlyChangesLevelForCurrentThread 0.001 s
debugMessageThrowable 0 s
doesNotCaptureWhenCaptureLevelIsNull 0 s
debugMarkerMessageTwoArgs 0 s
getLoggingEventsReturnsUnmodifiableList 0.001 s
traceMarkerMessageManyArgsWithThrowable 0 s
errorEnabled 0 s
traceEnabled 0 s
debugMessageOneArg 0 s
traceMarkerMessageThrowable 0 s
errorMarkerMessageThrowable 0 s
errorEnabledMarker 0.001 s
traceMessageTwoArgs 0 s
getLoggingEventsReturnsCopyNotView 0.001 s
traceMarkerMessage 0 s
infoMessageManyArgs 0 s
warnMessageTwoArgs 0 s
infoMessage(String)[1] 0.001 s
infoMessage(String)[2] 0 s
debugMessageTwoArgs 0.001 s
warnMessageOneArg 0 s
traceMarkerMessageOneArg 0.001 s
traceMarkerMessageTwoArgs 0 s
debugEnabled 0 s
debugMarkerMessageThrowable 0 s
doesNotWhenPrintLevelGreaterThanEventLevel(Level, StdOut)[1] 0.005 s
doesNotWhenPrintLevelGreaterThanEventLevel(Level, StdOut)[2] 0.001 s
errorMarkerMessageManyArgsWithThrowable 0 s
clearAllClearsEventsLoggedInAllThreads 0.001 s
infoMessageTwoArgs 0 s
getLoggingEventsOnlyReturnsEventsLoggedInThisThread 0 s
errorMarkerMessage 0.001 s
traceMessageThrowable 0 s
warnMarkerMessageManyArgsWithThrowable 0.001 s
infoMarkerMessageTwoArgs 0 s
warnMessageManyArgs 0 s
errorMessageManyArgs 0 s
debugMarkerMessageManyArgs 0 s
infoMarkerMessageManyArgs 0 s
infoMessageThrowable 0 s
errorMarkerMessageTwoArgs 0.001 s
warnMarkerMessageOneArg 0 s
debugMessageManyArgsWithThrowable 0 s
fluentFull 0.002 s
clearRemovesEvents 0 s
name 0 s
infoEnabledMarker 0.001 s
loggerSetToInfo 0.001 s
loggerSetToWarn 0 s
warnMessage(String)[1] 0 s
warnMessage(String)[2] 0 s
infoMarkerMessageOneArg 0 s
clearAllChangesAllLevelsAllThreads 0.001 s
warnMessageThrowable 0 s
traceMessageOneArg 0 s
getAllLoggingEventsReturnsEventsLoggedInAllThreads 0 s
fluentCaptureNotEnabled 0.001 s
errorMessageThrowable 0 s
warnMarkerMessageThrowable 0.001 s
debugEnabledMarker 0 s
infoEnabled 0 s
errorMessageTwoArgs 0 s
infoMarkerMessage 0 s
infoMessageManyArgsWithThrowable 0.001 s
warnMarkerMessageTwoArgs 0 s
loggerSetToDebug 0.001 s
loggerSetToError 0.001 s
loggerSetToTrace 0 s
clearOnlyClearsEventsLoggedInThisThread 0.001 s
traceMessageManyArgs 0.001 s
debugMarkerMessageManyArgsWithThrowable 0 s
infoMarkerMessageThrowable 0.001 s
setEnabledLevelOnlyChangesLevelForCurrentThread 0.001 s
errorMessageOneArg 0 s
errorMessage(String)[1] 0 s
errorMessage(String)[2] 0 s
traceMessage(String)[1] 0 s
traceMessage(String)[2] 0 s
warnEnabledMarker 0 s
printsWhenPrintLevelIsEqualToOrLessThanEventLevel(Level, StdOut)[1] 0.003 s
printsWhenPrintLevelIsEqualToOrLessThanEventLevel(Level, StdOut)[2] 0.001 s
printsWhenPrintLevelIsEqualToOrLessThanEventLevel(Level, StdOut)[3] 0.001 s
traceMessageManyArgsWithThrowable 0 s
debugMarkerMessage 0 s
warnMarkerMessageManyArgs 0 s
errorMarkerMessageOneArg 0 s
setEnabledLevelsForAllThreads 0.001 s
clearAllChangesAllLevels 0 s
warnMessageManyArgsWithThrowable 0 s
debugMessage(String)[1] 0 s
debugMessage(String)[2] 0 s
errorMessageManyArgsWithThrowable 0 s
warnEnabled 0 s
loggerSetToOff 0 s
errorMarkerMessageManyArgs 0.001 s
warnMarkerMessage 0 s
clearResetsLevel 0 s
debugMessageManyArgs 0 s
clearChangesLevelsAllThreads 0 s

LevelAssertTest$HasMessageMatching

failsWhenDoesNotMatchExpected 0.004 s
returnsSelfWhenPasses 0.001 s
passesWhenDoesMatch 0.001 s

LoggingEventTests

mdcIsSnapshotInTime 0 s
warnMdcThrowableMessageArgs 0 s
shouldHandleNullMessage 0 s
getMarkerThrowsIllegalStateExceptionOnMultipleMarkers 0.001 s
creatingLoggerPresent 0 s
nullArgument 0 s
constructorMessageArgs 0 s
constructorAndCheckThreadContextClassloader 0 s
argsIsSnapshotInTime 0 s
constructorMarkerThrowableMessageArgs 0 s
errorMdcMarkerThrowableMessageArgs 0 s
infoMarkerThrowableMessageArgs 0.001 s
warnMarkerThrowableMessageArgs 0 s
mdcNotModifiable 0 s
errorMarkerThrowableMessageArgs 0.001 s
creatingLoggerNotPresent 0 s
messageArgs(BiFunction, Level)[1] 0.001 s
messageArgs(BiFunction, Level)[2] 0 s
messageArgs(BiFunction, Level)[3] 0 s
messageArgs(BiFunction, Level)[4] 0 s
messageArgs(BiFunction, Level)[5] 0 s
constructorThrowableMessageArgs 0.001 s
argsNotModifiable 0 s
fromSlf4jEventEmpty 0.001 s
traceMdcThrowableMessageArgs 0 s
debugMdcMarkerMessageArgs 0 s
nullMdcThrowsNullPointerException 0 s
errorMdcThrowableMessageArgs 0.001 s
markerMessageArgs(TriFunction, Level)[1] 0.001 s
markerMessageArgs(TriFunction, Level)[2] 0.001 s
markerMessageArgs(TriFunction, Level)[3] 0 s
markerMessageArgs(TriFunction, Level)[4] 0 s
markerMessageArgs(TriFunction, Level)[5] 0.001 s
debugMdcMarkerThrowableMessageArgs 0 s
traceMarkerThrowableMessageArgs 0.001 s
timestamp 0.052 s
printWarnAndAbove(Level, StdOut, StdErr)[1] 0.003 s
printWarnAndAbove(Level, StdOut, StdErr)[2] 0.001 s
printToStandardOutWithThrowable(StdOut) 0.006 s
fromSlf4jEventFull 0 s
traceMdcMarkerMessageArgs 0.001 s
constructorMdcMarkerThrowableMessageArgs 0 s
traceMdcMarkerThrowableMessageArgs 0 s
infoMdcMarkerMessageArgs 0 s
warnMdcMarkerThrowableMessageArgs 0 s
debugMarkerThrowableMessageArgs 0 s
constructorMdcMessageArgs 0 s
debugMdcThrowableMessageArgs 0 s
throwableMessageArgs(TriFunction, Level)[1] 0 s
throwableMessageArgs(TriFunction, Level)[2] 0 s
throwableMessageArgs(TriFunction, Level)[3] 0.001 s
throwableMessageArgs(TriFunction, Level)[4] 0 s
throwableMessageArgs(TriFunction, Level)[5] 0 s
errorMdcMarkerMessageArgs 0 s
infoMdcMarkerThrowableMessageArgs 0.001 s
infoMdcThrowableMessageArgs 0 s
constructorMarkerMessageArgs 0 s
printInfoAndBelow(Level, StdOut, StdErr)[1] 0 s
printInfoAndBelow(Level, StdOut, StdErr)[2] 0 s
printInfoAndBelow(Level, StdOut, StdErr)[3] 0 s
nullArgumentIsFormattedLikeSlf4j 0 s
printToStandardOutNoThrowable(StdOut) 0.001 s
constructorMdcMarkerMessageArgs 0 s
constructorMdcThrowableMessageArgs 0 s
warnMdcMarkerMessageArgs 0 s
mdcMessageArgs(TriFunction, Level)[1] 0 s
mdcMessageArgs(TriFunction, Level)[2] 0.001 s
mdcMessageArgs(TriFunction, Level)[3] 0 s
mdcMessageArgs(TriFunction, Level)[4] 0 s
mdcMessageArgs(TriFunction, Level)[5] 0 s

TestLoggerAssertionsTest$HasNotLoggedTestCase$CustomPredicates

passesWhenPredicateDoesNotMatch 0.002 s
passesWhenPredicateDoesNotMatch 0.001 s
failsWhenPredicateMatches 0.002 s
failsWhenPredicateMatches 0.001 s

TestLoggerFactoryExtensionTests

logOnce 0 s
logAgain 0 s

AssertionsTest

canCreateTestLoggerAssert(TestLogger) 0.001 s

TestLoggingEventBuilderTests

keyValuePairHashCode 0 s
noKeyValuePairs 0 s
keyValuePairEqualsSame 0 s
keyValuePairs 0 s
keyValuePairNotEqualsNull 0.001 s
markers 0 s

TestLoggerAssertionsTest$HasLoggedTestCase$UsingPredicateBuilder

failsWhenPredicateDoesNotMatch 0.002 s
failsWhenPredicateDoesNotMatch 0.001 s
passesWhenPredicateMatches 0.001 s
passesWhenPredicateMatches 0.001 s

LevelAssertTest$HasLogCount

failsWhenDoesNotMatchExpected 0.002 s
returnsSelfWhenPasses 0.001 s
passesWhenDoesMatch 0.001 s

TestMDCAdapterTests

getCopyOfContextMapIsCopy 0.021 s
testOptionsCanBeSetToFalse 0.716 s
testSetNullMapClearsMdc 0.003 s
testPutNullKeyValueDoesNotThrowIfNotEnabled 0.005 s
getCopyOfContextMap 0.001 s
testElementNullValueDoesNotThrowIfAllowed(Map)[1] 0.031 s
testElementNullValueDoesNotThrowIfAllowed(Map)[2] 0.004 s
testGetNullKeyThrowsIllegalArgumentException 0.001 s
putGetTwoKeys 0.001 s
testDefaultOptions 0.001 s
testMdcAdapterIsNotInheritedWhenNotSet 0.002 s
setContextMapNotEnabled 0 s
testGetInstanceReturnsMDC 0.013 s
getCopyOfContextMapReturnsNullWhenSet 0.001 s
clear 0.001 s
testOptionsCanBeSetToTrue 0.003 s
testElementNullValueThrowsIllegalArgumentExceptionIfForbidden(Map)[1] 0.001 s
testElementNullValueThrowsIllegalArgumentExceptionIfForbidden(Map)[2] 0.001 s
removeNullKeyThrowsIllegalArgumentException 0.001 s
testMdcAdapterIsInheritedWhenSet 0.001 s
testElementNullKeyThrowsIllegalArgumentException 0.001 s
clearWhenNotEnabled 0 s
setContextMapSetsCopy(Map)[1] 0.001 s
setContextMapSetsCopy(Map)[2] 0.001 s
getCopyOfContextMapReturnsNullWhenNotEnabled 0.001 s
testRemoveNullKeyDoesNotThrowIfNotEnabled 0.001 s
testPutNullValueDoesNotThrowIfAllowed 0.001 s
testGetReturnsNullIfNotEnabled 0 s
testPutNullValueThrowsIllegalArgumentExceptionIfForbidden 0.001 s
testMdcAdapterNothingIsInheritedWhenSet 0.002 s
testElementNonNullValueDoesNotThrowIfForbidden 0.001 s
testPutNullKeyThrowsIllegalArgumentException 0.001 s
putGetRemoveLoop 0 s
testMdcAdapterIsThreadLocal 0.001 s

TestLoggerFactoryExtensionUnitTests

resetsThreadLocalData 0.058 s
doesNotResetNonThreadLocalData 0.001 s

TestLoggerAssertionsTest$MdcComparison

containingComparatorAllowsForAdditionalMdcEntries 0.005 s
requiresExactMdcContentsByDefault 0.009 s
ignoringComparatorAlwaysPasses 0.002 s

TestLoggerAssertionsTest$KeyValuePairsPredicate

isTrueInCorrectOrder 0.051 s
isFalseInWrongOrder 0.001 s

OverridablePropertiesTests

propertyInFileNotInSystemProperties 0.328 s
propertyNotInFileInSystemProperties 0 s
propertyInBothFileAndSystemProperties 0.001 s
propertyNotInEither 0.001 s
noPropertyFile 0 s
ioExceptionAtPropertiesLoading 0.595 s

TestLoggerFactoryResetRuleTests

logOnce 0 s
logAgain 0.001 s

TestSLF4JServiceProviderTests

getMarkerFactory 0.002 s
getMDCAdapter 0.001 s
getLoggerFactoryReturnsCorrectlyFromSlf4JLoggerFactory 0 s
getProviderClass 0.001 s
getMDCAdapterIsReturnedCorrectlyFromSlf4JMDC 0 s
getLoggerFactory 0 s
getMarkerFactoryReturnsCorrectlyFromSlf4JMarkerFactory 0.001 s
getRequestedApiVersion 0 s

TestLoggerAssertionsTest$HasNotLoggedTestCase$UsingPredicateBuilder

passesWhenPredicateDoesNotMatch 0.001 s
passesWhenPredicateDoesNotMatch 0.001 s
failsWhenPredicateMatches 0.003 s
failsWhenPredicateMatches 0.001 s

TestLoggerAssertionsTest$DeprecatedMarkerPredicate

isFalseWithMultipleMarkers 0.002 s
isTrueWithOneMarker 0 s
isTrueWithNoMarkers 0.001 s

LevelAssertTest$HasMessageContaining

returnsSelfWhenPasses 0.001 s
failsWhenDoesNotContainSubstring 0.002 s
passesWhenDoesMatch 0.001 s