Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
214 0 0 0 100% 1.688

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
org.slf4j.impl 10 0 0 0 100% 0.158
uk.org.lidalia.slf4jtest 204 0 0 0 100% 1.53

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

org.slf4j.impl

Class Tests Errors Failures Skipped Success Rate Time
StaticLoggerBinderTests 4 0 0 0 100% 0.158
StaticMarkerBinderTests 3 0 0 0 100% 0
StaticMDCBinderTests 3 0 0 0 100% 0

uk.org.lidalia.slf4jtest

Class Tests Errors Failures Skipped Success Rate Time
LoggingEventTests 63 0 0 0 100% 0.327
OverridablePropertiesTests 8 0 0 0 100% 0.439
SuppliersTests 5 0 0 0 100% 0.014
TestLoggerFactoryResetRuleTests 2 0 0 0 100% 0.003
TestLoggerFactoryResetRuleUnitTests 3 0 0 0 100% 0.003
TestLoggerFactoryTests 24 0 0 0 100% 0.659
TestLoggerTests 93 0 0 0 100% 0.085
TestMDCAdapterTests 6 0 0 0 100% 0

Test Cases

[Summary] [Package List] [Test Cases]

StaticLoggerBinderTests

getLoggerFactoryReturnsCorrectlyFromSlf4JLoggerFactory 0.158
getLoggerFactory 0
requestedApiVersion 0
getLoggerFactoryClassStr 0

StaticMarkerBinderTests

getMarkerFactory 0
getMarkerFactoryReturnsCorrectlyFromSlf4JLoggerFactory 0
getMarkerFactoryClassStr 0

StaticMDCBinderTests

getMarkerFactoryReturnsCorrectlyFromSlf4JLoggerFactory 0
getMDCA 0
getMDCAdapterClassStr 0

LoggingEventTests

mdcIsSnapshotInTime 0.168
warnMdcThrowableMessageArgs 0.038
warnMarkerMessageArgs 0.001
infoThrowableMessageArgs 0.001
creatingLoggerPresent 0.009
nullArgument 0.001
constructorMessageArgs 0.001
errorMessageArgs 0.001
errorThrowableMessageArgs 0.001
argsIsSnapshotInTime 0
constructorMarkerThrowableMessageArgs 0
errorMdcMarkerThrowableMessageArgs 0.001
infoMarkerThrowableMessageArgs 0.001
warnMarkerThrowableMessageArgs 0.001
errorMdcMessageArgs 0.001
mdcNotModifiable 0.001
errorMarkerThrowableMessageArgs 0.001
infoMarkerMessageArgs 0.001
creatingLoggerNotPresent 0
constructorThrowableMessageArgs 0
argsNotModifiable 0.001
warnThrowableMessageArgs 0.001
traceMdcThrowableMessageArgs 0.001
debugMdcMarkerMessageArgs 0.001
errorMdcThrowableMessageArgs 0
debugMdcMarkerThrowableMessageArgs 0
traceMarkerThrowableMessageArgs 0
timestamp 0.054
[0] WARN (printWarnAndAbove) 0.021
[1] ERROR (printWarnAndAbove) 0
printToStandardOutWithThrowable 0.004
warnMessageArgs 0.001
traceMdcMarkerMessageArgs 0.001
debugMarkerMessageArgs 0.001
constructorMdcMarkerThrowableMessageArgs 0
traceMdcMarkerThrowableMessageArgs 0.001
infoMdcMarkerMessageArgs 0.001
warnMdcMarkerThrowableMessageArgs 0.001
debugMarkerThrowableMessageArgs 0.001
constructorMdcMessageArgs 0
debugMdcThrowableMessageArgs 0
traceMdcMessageArgs 0
errorMdcMarkerMessageArgs 0
infoMdcMarkerThrowableMessageArgs 0
infoMdcThrowableMessageArgs 0
warnMdcMessageArgs 0
traceMessageArgs 0
constructorMarkerMessageArgs 0
debugMdcMessageArgs 0.001
traceMarkerMessageArgs 0.001
debugThrowableMessageArgs 0.001
[0] TRACE (printInfoAndBelow) 0
[1] DEBUG (printInfoAndBelow) 0.001
[2] INFO (printInfoAndBelow) 0.001
debugMessageArgs 0.001
infoMdcMessageArgs 0.001
printToStandardOutNoThrowable 0
errorMarkerMessageArgs 0
constructorMdcMarkerMessageArgs 0.001
constructorMdcThrowableMessageArgs 0
infoMessageArgs 0
warnMdcMarkerMessageArgs 0
traceThrowableMessageArgs 0.001

OverridablePropertiesTests

propertyNotInEither 0.319
propertyInFileNotInSystemProperties 0.014
propertyNotInFileInSystemProperties 0.016
propertyInBothFileAndSystemProperties 0.014
noPropertyFile 0.013
ioExceptionLoadingProperties 0.036
ioExceptionClosingPropertyStream 0.017
ioExceptionLoadingAndClosingPropertyStream 0.01

SuppliersTests

notInstantiable 0.013
makeEmptyMutableListAlwaysMakesANewList 0
makeEmptyMutableMapAlwaysMakesANewMap 0
makeEmptyMutableMapMakesAMutableMap 0
makeEmptyMutableListMakesAMutableList 0.001

TestLoggerFactoryResetRuleTests

logOnce 0.002
logAgain 0.001

TestLoggerFactoryResetRuleUnitTests

resetsThreadLocalDataOnException 0.002
resetsThreadLocalData 0
doesNotResetNonThreadLocalData 0.001

TestLoggerFactoryTests

clear 0.009
getLoggerSameNames 0.004
getAllLoggingEvents 0.005
getLoggerDifferentNames 0.004
staticGetTestLoggerStringReturnsSame 0.004
staticGetTestLoggerClassReturnsSame 0.004
getAllLoggingEventsDoesNotAddToMultipleLoggers 0.005
getAllLoggingEventsDoesNotGetEventsForLoggersNotEnabled 0.005
getAllTestLoggers 0.007
clearDoesNotRemoveLoggers 0.004
resetRemovesAllLoggers 0.004
resetRemovesAllLoggingEvents 0.004
getLoggingEventsReturnsCopyNotView 0.003
getLoggingEventsReturnsUnmodifiableList 0.004
getAllLoggersReturnsCopyNotView 0.004
getAllLoggersReturnsUnmodifiableList 0.004
getLoggingEventsOnlyReturnsEventsLoggedInThisThread 0.004
getAllLoggingEventsReturnsEventsLoggedInAllThreads 0.004
clearOnlyClearsEventsLoggedInThisThread 0.004
clearAllClearsEventsLoggedInAllThreads 0.005
defaultPrintLevelIsOff 0.003
setLevel 0.003
printLevelTakenFromOverridableProperties 0.293
printLevelInvalidInOverridableProperties 0.269

TestLoggerTests

traceMarkerMessageManyArgs 0.002
debugMarkerMessageOneArg 0.001
infoMarkerMessageManyArgsWithThrowable 0.001
infoMessageOneArg 0.001
nullMdcValue 0.001
traceEnabledMarker 0.001
clearOnlyChangesLevelForCurrentThread 0.001
debugMessageThrowable 0
debugMarkerMessageTwoArgs 0
getLoggingEventsReturnsUnmodifiableList 0
traceMarkerMessageManyArgsWithThrowable 0.001
errorEnabled 0
traceEnabled 0
debugMessageOneArg 0.001
traceMarkerMessageThrowable 0.001
errorMarkerMessageThrowable 0.002
errorEnabledMarker 0
traceMessageTwoArgs 0
getLoggingEventsReturnsCopyNotView 0.001
traceMarkerMessage 0.001
infoMessageManyArgs 0.001
warnMessageTwoArgs 0
infoMessage 0
debugMessageTwoArgs 0
warnMessageOneArg 0
traceMarkerMessageOneArg 0
traceMarkerMessageTwoArgs 0
debugEnabled 0
debugMarkerMessageThrowable 0.001
errorMarkerMessageManyArgsWithThrowable 0.001
clearAllClearsEventsLoggedInAllThreads 0.001
infoMessageTwoArgs 0
getLoggingEventsOnlyReturnsEventsLoggedInThisThread 0.001
errorMarkerMessage 0.001
traceMessageThrowable 0.001
warnMarkerMessageManyArgsWithThrowable 0.001
infoMarkerMessageTwoArgs 0.001
warnMessageManyArgs 0.001
errorMessageManyArgs 0.001
debugMarkerMessageManyArgs 0.001
infoMarkerMessageManyArgs 0.001
infoMessageThrowable 0.001
errorMarkerMessageTwoArgs 0.001
warnMarkerMessageOneArg 0.001
debugMessageManyArgsWithThrowable 0.001
clearRemovesEvents 0.001
name 0.003
infoEnabledMarker 0.001
loggerSetToInfo 0.002
loggerSetToWarn 0.001
warnMessage 0.001
infoMarkerMessageOneArg 0
warnMessageThrowable 0
traceMessageOneArg 0
getAllLoggingEventsReturnsEventsLoggedInAllThreads 0.002
printsWhenPrintLevelEqualToEventLevel 0.001
errorMessageThrowable 0.001
warnMarkerMessageThrowable 0.001
debugEnabledMarker 0
infoEnabled 0
errorMessageTwoArgs 0.001
infoMarkerMessage 0
infoMessageManyArgsWithThrowable 0
warnMarkerMessageTwoArgs 0.001
loggerSetToDebug 0.002
loggerSetToError 0.001
loggerSetToTrace 0.002
clearOnlyClearsEventsLoggedInThisThread 0.001
traceMessageManyArgs 0.001
debugMarkerMessageManyArgsWithThrowable 0.001
infoMarkerMessageThrowable 0
doesNotWhenPrintLevelGreaterThanThanEventLevel 0.013
setEnabledLevelOnlyChangesLevelForCurrentThread 0.001
errorMessageOneArg 0.001
printsWhenPrintLevelLessThanEventLevel 0.001
errorMessage 0.001
traceMessage 0
warnEnabledMarker 0
traceMessageManyArgsWithThrowable 0.001
debugMarkerMessage 0.001
warnMarkerMessageManyArgs 0.001
errorMarkerMessageOneArg 0.001
setEnabledLevelsForAllThreads 0.001
clearAllChangesAllLevels 0.001
warnMessageManyArgsWithThrowable 0.001
debugMessage 0.001
errorMessageManyArgsWithThrowable 0.001
warnEnabled 0.001
loggerSetToOff 0
errorMarkerMessageManyArgs 0.001
warnMarkerMessage 0.001
clearResetsLevel 0
debugMessageManyArgs 0

TestMDCAdapterTests

getCopyOfContextMapIsCopy 0
getCopyOfContextMap 0
clear 0
setContextMapSetsCopy 0
putGetRemoveLoop 0
testMdcAdapterIsThreadLocal 0