Apache logging services logo Apache log4j logo

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
13900298.561%0.543

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.389
org.apache.logging.log4j.osgi.felix10010%0
org.apache.logging.log4j.spi47000100%0.017
org.apache.logging.log4j61000100%0.137
org.apache.logging.log4j.osgi.equinox10010%0

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.015
MessageFormatsPerfTest4000100%0.087
ObjectMessageTest2000100%0.001
ParameterizedMessageTest1000100%0.002
StringFormattedMessageTest3000100%0.016
StructuredDataMessageTest2000100%0.003
ThreadDumpMessageTest3000100%0.22

org.apache.logging.log4j.osgi.felix

ClassTestsErrors FailuresSkippedSuccess RateTime
FelixLoadApiBundleTest10010%0

org.apache.logging.log4j.spi

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultThreadContextMapTest10000100%0.005
DefaultThreadContextStackTest18000100%0.005
MutableThreadContextStackTest19000100%0.007

org.apache.logging.log4j

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractLoggerTest12000100%0.012
EventLoggerTest1000100%0.014
LevelTest2000100%0.002
LoggerTest32000100%0.028
LogManagerTest1000100%0.018
NoopThreadContextTest1000100%0.019
ThreadContextTest12000100%0.044

org.apache.logging.log4j.osgi.equinox

ClassTestsErrors FailuresSkippedSuccess RateTime
EquinoxLoadApiBundleTest10010%0

Test Cases

[Summary] [Package List] [Test Cases]

AbstractLoggerTest

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

EventLoggerTest

structuredData0.014

LevelTest

testGoodLevels0.002
testDefault0

LoggerTest

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

LogManagerTest

testGetLogger0.018

FormattedMessageTest

tesStringOneArg0.017
testParamNoArgs0.001
testStringNoArgs0
testNoArgs0
testOneArg0

LocalizedMessageTest

testMessageFormat0.02
testStringFormat0.003

MapMessageTest

testMap0.003
testXML0.001
testJSON0
testJava0

MessageFormatMessageTest

testException0.015
testNoArgs0
testOneArg0

MessageFormatsPerfTest

testParameterizedPerf0.017
testFormattedParameterizedPerf0.02
testMessageFormatPerf0.023
testStringPerf0.027

ObjectMessageTest

testNull0.001
testNotNull0

ParameterizedMessageTest

testNoArgs0.002

StringFormattedMessageTest

testException0.016
testNoArgs0
testOneArg0

StructuredDataMessageTest

testMsg0.003
testMsgWithKeyTooLong0

ThreadDumpMessageTest

testMessageWithLocks0.214
testToString0.003
testMessage0.003

NoopThreadContextTest

testNoop0.019

EquinoxLoadApiBundleTest

testLoadStartStop0
skipped

FelixLoadApiBundleTest

testLoadStartStop0
skipped

DefaultThreadContextMapTest

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

DefaultThreadContextStackTest

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

MutableThreadContextStackTest

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

ThreadContextTest

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

Failure Details

[Summary] [Package List] [Test Cases]


testLoadStartStop
skipped: skipped
testLoadStartStop
skipped: skipped