Apache logging services logo Apache log4j logo

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
131000100%0.606

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


Package List

[Summary] [Package List] [Test Cases]


PackageTestsErrors FailuresSkippedSuccess RateTime
org.apache.logging.log4j.message29000100%0.413
org.apache.logging.log4j.spi44000100%0.025
org.apache.logging.log4j58000100%0.168

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

org.apache.logging.log4j.message

ClassTestsErrors FailuresSkippedSuccess RateTime
FormattedMessageTest5000100%0.018
LocalizedMessageTest2000100%0.023
MapMessageTest4000100%0.004
MessageFormatMessageTest3000100%0.018
MessageFormatsPerfTest4000100%0.087
ObjectMessageTest2000100%0.002
ParameterizedMessageTest1000100%0.003
StringFormattedMessageTest3000100%0.017
StructuredDataMessageTest2000100%0.006
ThreadDumpMessageTest3000100%0.235

org.apache.logging.log4j.spi

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultThreadContextMapTest9000100%0.007
DefaultThreadContextStackTest17000100%0.01
MutableThreadContextStackTest18000100%0.008

org.apache.logging.log4j

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractLoggerTest12000100%0.021
EventLoggerTest1000100%0.03
LevelTest2000100%0.002
LoggerTest30000100%0.049
NoopThreadContextTest1000100%0.02
ThreadContextTest12000100%0.046

Test Cases

[Summary] [Package List] [Test Cases]

AbstractLoggerTest

testDebug0.007
testError0
testFatal0.002
testInfo0.002
testLogDebug0.002
testLogError0.001
testLogFatal0.002
testLogInfo0.001
testLogTrace0.001
testLogWarn0.001
testTrace0.001
testWarn0.001

EventLoggerTest

structuredData0.03

LevelTest

testGoodLevels0.002
testDefault0

LoggerTest

debug0.019
basicFlow0
catching0.002
debugObject0.008
debugWithParms0.001
debugWithParmsAndThrowable0.002
getLoggerByClass0
getLogger_Class_ParameterizedMessageFactory0.001
getLogger_Object_ParameterizedMessageFactory0
getLogger_Class_StringFormatterMessageFactory0.002
getFormatterLogger_Class0
getLogger_Object_StringFormatterMessageFactory0
getFormatterLogger_Object0
getLogger_String_ParameterizedMessageFactory0
getLogger_String_StringFormatterMessageFactory0
getFormatterLogger_String0.001
getLogger_String_MessageFactoryMismatch0
getLoggerByNullString0
getLoggerByObject0
isAllEnabled0.001
isDebugEnabled0
isErrorEnabled0
isFatalEnabled0
isInfoEnabled0
isOffEnabled0.001
isTraceEnabled0
isWarnEnabled0
mdc0.001
structuredData0.008
throwing0.002

FormattedMessageTest

testStringNoArgs0.017
tesStringOneArg0
testNoArgs0.001
testOneArg0
testParamNoArgs0

LocalizedMessageTest

testMessageFormat0.021
testStringFormat0.002

MapMessageTest

testMap0.003
testXML0.001
testJSON0
testJava0

MessageFormatMessageTest

testNoArgs0.017
testOneArg0
testException0.001

MessageFormatsPerfTest

testStringPerf0.055
testMessageFormatPerf0.011
testParameterizedPerf0.005
testFormattedParameterizedPerf0.016

ObjectMessageTest

testNull0.002
testNotNull0

ParameterizedMessageTest

testNoArgs0.003

StringFormattedMessageTest

testNoArgs0.015
testOneArg0.001
testException0.001

StructuredDataMessageTest

testMsg0.005
testMsgWithKeyTooLong0.001

ThreadDumpMessageTest

testMessage0.027
testMessageWithLocks0.205
testToString0.003

NoopThreadContextTest

testNoop0.02

DefaultThreadContextMapTest

testDoesNothingIfConstructedWithUseMapIsFalse0.003
testPut0
testRemove0.001
testClear0.001
testGetCopyReturnsMutableMap0
testGetCopyReturnsMutableCopy0.001
testGetImmutableMapReturnsNullIfEmpty0
testGetImmutableMapReturnsImmutableMapIfNonEmpty0.001
testGetImmutableMapCopyNotAffectdByContextMapChanges0

DefaultThreadContextStackTest

testDoesNothingIfConstructedWithUseStackIsFalse0.003
testPushAndAddIncreaseStack0
testPeekReturnsLastAddedItem0
testPopRemovesLastAddedItem0
testAsList0.001
testTrim0
testCopy0.001
testClear0
testContains0
testIteratorReturnsInListOrderNotStackOrder0
testToArray0.002
testToArrayTArray0
testRemove0.001
testContainsAll0
testAddAll0.001
testRemoveAll0.001
testRetainAll0

MutableThreadContextStackTest

testEmptyIfConstructedWithEmptyList0.003
testConstructorCopiesListContents0.001
testPushAndAddIncreaseStack0
testPeekReturnsLastAddedItem0
testPopRemovesLastAddedItem0
testAsList0
testTrim0
testCopy0
testClear0.001
testContains0
testIteratorReturnsInListOrderNotStackOrder0.001
testToArray0.001
testToArrayTArray0
testRemove0
testContainsAll0
testAddAll0.001
testRemoveAll0
testRetainAll0

ThreadContextTest

testPush0.022
testInheritance0.002
perfTest0.02
testGetContextReturnsEmptyMapIfEmpty0.001
testGetContextReturnsMutableCopy0
testGetImmutableContextReturnsEmptyMapIfEmpty0.001
testGetImmutableContextReturnsImmutableMapIfNonEmpty0
testGetImmutableContextReturnsImmutableMapIfEmpty0
testGetImmutableStackReturnsEmptyStackIfEmpty0
testPut0
testRemove0
testContainsKey0