Apache logging services logo Apache log4j logo

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
21400299.065%0.764

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.message31000100%0.448
org.apache.logging.log4j.osgi.felix10010%0
org.apache.logging.log4j.spi104000100%0.077
org.apache.logging.log4j77000100%0.239
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.021
LocalizedMessageTest4000100%0.051
MapMessageTest4000100%0.006
MessageFormatMessageTest3000100%0.022
MessageFormatsPerfTest4000100%0.091
ObjectMessageTest2000100%0.002
ParameterizedMessageTest1000100%0.002
StringFormattedMessageTest3000100%0.019
StructuredDataMessageTest2000100%0.005
ThreadDumpMessageTest3000100%0.229

org.apache.logging.log4j.osgi.felix

ClassTestsErrors FailuresSkippedSuccess RateTime
FelixLoadApiBundleTest10010%0

org.apache.logging.log4j.spi

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultThreadContextMapTest12000100%0.019
DefaultThreadContextStackTest18000100%0.007
LoggerStreamTest55000100%0.043
MutableThreadContextStackTest19000100%0.008

org.apache.logging.log4j

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractLoggerTest12000100%0.018
EventLoggerTest1000100%0.03
LevelTest2000100%0.003
LoggerTest36000100%0.046
LogManagerTest1000100%0.021
NoopThreadContextTest1000100%0.023
ThreadContextInheritanceTest12000100%0.049
ThreadContextTest12000100%0.049

org.apache.logging.log4j.osgi.equinox

ClassTestsErrors FailuresSkippedSuccess RateTime
EquinoxLoadApiBundleTest10010%0

Test Cases

[Summary] [Package List] [Test Cases]

AbstractLoggerTest

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

EventLoggerTest

structuredData0.03

LevelTest

testGoodLevels0.003
testDefault0

LoggerTest

isErrorEnabled0.001
isTraceEnabled0
getRootLogger0
getFormatterLogger_Class0.006
basicFlow0.006
debugObject0.012
getStream_Marker0.002
isDebugEnabled0
getLogger_Object_ParameterizedMessageFactory0.002
getLogger_Class_StringFormatterMessageFactory0
getFormatterLogger_Object0.001
getFormatterLogger_String0
printf0.001
isInfoEnabled0
isOffEnabled0
getLogger_String_ParameterizedMessageFactory0.001
mdc0
catching0.001
isFatalEnabled0.001
debug0
getLogger_Class_ParameterizedMessageFactory0
getLoggerByClass0.001
isWarnEnabled0
getLogger_String_MessageFactoryMismatch0
getStream0
getLogger_String_StringFormatterMessageFactory0
debugWithParmsAndThrowable0.001
getLoggerByNullClass0
debugWithParms0
throwing0.001
getLoggerByObject0
structuredData0.008
isAllEnabled0
getLoggerByNullObject0.001
getLoggerByNullString0
getLogger_Object_StringFormatterMessageFactory0

LogManagerTest

testGetLogger0.021

FormattedMessageTest

tesStringOneArg0.019
testParamNoArgs0.001
testStringNoArgs0
testNoArgs0.001
testOneArg0

LocalizedMessageTest

testSerializationMessageFormat0.046
testMessageFormat0.001
testStringFormat0.003
testSerializationStringFormat0.001

MapMessageTest

testMap0.004
testXML0.001
testJSON0
testJava0.001

MessageFormatMessageTest

testException0.021
testNoArgs0.001
testOneArg0

MessageFormatsPerfTest

testParameterizedPerf0.018
testFormattedParameterizedPerf0.019
testMessageFormatPerf0.025
testStringPerf0.029

ObjectMessageTest

testNull0.002
testNotNull0

ParameterizedMessageTest

testNoArgs0.002

StringFormattedMessageTest

testException0.018
testNoArgs0.001
testOneArg0

StructuredDataMessageTest

testMsg0.005
testMsgWithKeyTooLong0

ThreadDumpMessageTest

testMessageWithLocks0.222
testToString0.003
testMessage0.004

NoopThreadContextTest

testNoop0.023

EquinoxLoadApiBundleTest

testLoadStartStop0
skipped

FelixLoadApiBundleTest

testLoadStartStop0
skipped

DefaultThreadContextMapTest

testGetImmutableMapCopyNotAffectdByContextMapChanges0.018
testThreadLocalNotInheritableByDefault0
testPut0.001
testClear0
testGetImmutableMapReturnsImmutableMapIfNonEmpty0
testDoesNothingIfConstructedWithUseMapIsFalse0
testGetCopyReturnsMutableCopy0
testToStringShowsMapContext0
testThreadLocalInheritableIfConfigured0
testGetImmutableMapReturnsNullIfEmpty0
testRemove0
testGetCopyReturnsMutableMap0

DefaultThreadContextStackTest

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

LoggerStreamTest

testWrite_Int[0]0.026
testPrint_Integer[0]0
testPrint_Character[0]0.001
testWrite_ByteArray[0]0
testPrint_Object[0]0
testPrint_String[0]0
testPrint_CharacterArray[0]0
testFormat[0]0.001
testPrintf[0]0
testPrint_Boolean[0]0.001
testWrite_ByteArray_Offset_Length[0]0
testWrite_Int[1]0.001
testPrint_Integer[1]0
testPrint_Character[1]0.001
testWrite_ByteArray[1]0
testPrint_Object[1]0.002
testPrint_String[1]0
testPrint_CharacterArray[1]0.001
testFormat[1]0
testPrintf[1]0.001
testPrint_Boolean[1]0
testWrite_ByteArray_Offset_Length[1]0.001
testWrite_Int[2]0
testPrint_Integer[2]0
testPrint_Character[2]0
testWrite_ByteArray[2]0.001
testPrint_Object[2]0
testPrint_String[2]0.001
testPrint_CharacterArray[2]0
testFormat[2]0.001
testPrintf[2]0
testPrint_Boolean[2]0.001
testWrite_ByteArray_Offset_Length[2]0
testWrite_Int[3]0
testPrint_Integer[3]0
testPrint_Character[3]0
testWrite_ByteArray[3]0
testPrint_Object[3]0
testPrint_String[3]0
testPrint_CharacterArray[3]0
testFormat[3]0
testPrintf[3]0
testPrint_Boolean[3]0
testWrite_ByteArray_Offset_Length[3]0
testWrite_Int[4]0.001
testPrint_Integer[4]0
testPrint_Character[4]0.001
testWrite_ByteArray[4]0
testPrint_Object[4]0
testPrint_String[4]0
testPrint_CharacterArray[4]0
testFormat[4]0
testPrintf[4]0
testPrint_Boolean[4]0.001
testWrite_ByteArray_Offset_Length[4]0

MutableThreadContextStackTest

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

ThreadContextInheritanceTest

testGetImmutableContextReturnsEmptyMapIfEmpty0.023
testGetImmutableContextReturnsImmutableMapIfNonEmpty0
testPut0
testGetContextReturnsEmptyMapIfEmpty0
testPush0.001
testContainsKey0
testGetImmutableStackReturnsEmptyStackIfEmpty0.001
perfTest0.022
testInheritanceSwitchedOn0.002
testGetContextReturnsMutableCopy0
testRemove0
testGetImmutableContextReturnsImmutableMapIfEmpty0

ThreadContextTest

testInheritanceSwitchedOffByDefault0.024
testGetImmutableContextReturnsEmptyMapIfEmpty0
testGetImmutableContextReturnsImmutableMapIfNonEmpty0
testPut0
testGetContextReturnsEmptyMapIfEmpty0
testPush0.001
testContainsKey0.001
testGetImmutableStackReturnsEmptyStackIfEmpty0
perfTest0.023
testGetContextReturnsMutableCopy0
testRemove0
testGetImmutableContextReturnsImmutableMapIfEmpty0

Failure Details

[Summary] [Package List] [Test Cases]


testLoadStartStop
skipped: skipped
testLoadStartStop
skipped: skipped