Summary

[ summary] [ package list] [ test cases]

TestsErrorsFailuresSuccess rateTime(s)
26300100.00%0.97

Note: failuresare anticipated and checked for with assertions while errorsare unanticipated.

Package List

[ summary] [ package list] [ test cases]

PackageTestsErrorsFailuresSuccess RateTime
org.codehaus.dna.impl 23700100.00%0.91
org.codehaus.dna 2600100.00%0.06

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

org.codehaus.dna.impl

ClassTestsErrorsFailuresSuccess RateTime
Success Log4JLoggerTestCase 2400100.00%0.155
Success SAXConfigurationHandlerTestCase 2100100.00%0.056
Success ContainerUtilTestCase 1300100.00%0.060
Success Jdk14LoggerTestCase 2400100.00%0.073
Success ConfigurationUtilTestCase 2800100.00%0.285
Success ConsoleLoggerTestCase 3200100.00%0.031
Success DefaultConfigurationTestCase 5500100.00%0.079
Success SAXConfigurationSerializerTestCase 700100.00%0.046
Success FreezableTestCase 300100.00%0.018
Success LogkitLoggerTestCase 2400100.00%0.085
Success DefaultResourceLocatorTestCase 600100.00%0.020

org.codehaus.dna

ClassTestsErrorsFailuresSuccess RateTime
Success ConfigurationExceptionTestCase 1400100.00%0.017
Success MissingResourceExceptionTestCase 500100.00%0.013
Success ReleaseUtilTestCase 200100.00%0.014
Success LogEnabledTestCase 500100.00%0.015

Test Cases

[ summary] [ package list] [ test cases]

Log4JLoggerTestCase

Success testLog4JLoggerEmptyCtor0.01
Success testLog4JLoggerGetChildLogger0.06
Success testLog4JLoggerTraceEnabled0.00
Success testLog4JLoggerTraceDisabled0.00
Success testLog4JLoggerTraceWithExceptionEnabled0.00
Success testLog4JLoggerTraceWithExceptionDisabled0.00
Success testLog4JLoggerDebugEnabled0.00
Success testLog4JLoggerDebugDisabled0.00
Success testLog4JLoggerDebugWithExceptionEnabled0.00
Success testLog4JLoggerDebugWithExceptionDisabled0.00
Success testLog4JLoggerInfoEnabled0.00
Success testLog4JLoggerInfoDisabled0.00
Success testLog4JLoggerInfoWithExceptionEnabled0.00
Success testLog4JLoggerInfoWithExceptionDisabled0.00
Success testLog4JLoggerWarnEnabled0.00
Success testLog4JLoggerWarnDisabled0.00
Success testLog4JLoggerWarnWithExceptionEnabled0.00
Success testLog4JLoggerWarnWithExceptionDisabled0.00
Success testLog4JLoggerErrorEnabled0.00
Success testLog4JLoggerErrorWithExceptionEnabled0.00
Success testConsoleLevelComparisonWithDebugEnabled0.00
Success testConsoleLevelComparisonWithInfoEnabled0.00
Success testConsoleLevelComparisonWithWarnEnabled0.00
Success testConsoleLevelComparisonWithErrorEnabled0.00

SAXConfigurationHandlerTestCase

Success testGetLocationWithNullLocator0.00
Success testGetLocationWithNullSystemId0.00
Success testGetLocationWithNonNullSystemId0.00
Success testGetLocationWithLineSet0.00
Success testGetLocationWithColSet0.00
Success testGetLocationWithColSetButLineNotSet0.00
Success testWarningRethrowsException0.00
Success testErrorRethrowsException0.00
Success testFatalRethrowsException0.00
Success testCreateSimpleConfiguration0.01
Success testCreateConfigurationWithValue0.00
Success testCreateConfigurationWithValueThatIsIntercepted0.00
Success testCreateConfigurationWithValueInMultipleFragments0.00
Success testCreateConfigurationWithChildElement0.01
Success testCreateConfigurationWithDeepChildElements0.00
Success testCreateConfigurationWithChildElementContaingContent0.00
Success testCreateConfigurationWithMixedContent0.00
Success testClearHandler0.00
Success testCreateConfigurationContainingEmptySeparator0.00
Success testCreateConfigurationWithAttributes0.00
Success testCreateConfigurationWithAttributesWithInterception0.00

ContainerUtilTestCase

Success testEnableLoggingOnComponentNotImplementingStage0.00
Success testEnableLoggingOnComponentImplementingStage0.01
Success testEnableLoggingOnComponentImplementingStageButNullLogger0.00
Success testComposeOnComponentNotImplementingStage0.00
Success testComposeOnComponentImplementingStage0.01
Success testComposeOnComponentImplementingStageButNullLogger0.00
Success testConfigureOnComponentNotImplementingStage0.00
Success testConfigureOnComponentImplementingStage0.01
Success testConfigureOnComponentImplementingStageButNullLogger0.00
Success testInitializeOnComponentNotImplementingStage0.00
Success testInitializeOnComponentImplementingStage0.00
Success testDisposeOnComponentNotImplementingStage0.00
Success testDisposeOnComponentImplementingStage0.00

Jdk14LoggerTestCase

Success testConsoleLevelComparisonWithDebugEnabled0.01
Success testConsoleLevelComparisonWithInfoEnabled0.00
Success testConsoleLevelComparisonWithWarnEnabled0.00
Success testConsoleLevelComparisonWithErrorEnabled0.00
Success testLogkitLoggerEmptyCtor0.00
Success testJdk14LoggerGetChildLogger0.00
Success testJdk14LoggerTraceEnabled0.00
Success testJdk14LoggerTraceDisabled0.00
Success testJdk14LoggerTraceWithExceptionEnabled0.00
Success testJdk14LoggerTraceWithExceptionDisabled0.00
Success testJdk14LoggerDebugEnabled0.00
Success testJdk14LoggerDebugDisabled0.00
Success testJdk14LoggerDebugWithExceptionEnabled0.00
Success testJdk14LoggerDebugWithExceptionDisabled0.00
Success testJdk14LoggerInfoEnabled0.00
Success testJdk14LoggerInfoDisabled0.00
Success testJdk14LoggerInfoWithExceptionEnabled0.00
Success testJdk14LoggerInfoWithExceptionDisabled0.00
Success testJdk14LoggerWarnEnabled0.00
Success testJdk14LoggerWarnDisabled0.00
Success testJdk14LoggerWarnWithExceptionEnabled0.00
Success testJdk14LoggerWarnWithExceptionDisabled0.00
Success testJdk14LoggerErrorEnabled0.00
Success testJdk14LoggerErrorWithExceptionEnabled0.00

ConfigurationUtilTestCase

Success testToElementWithBasicConfiguration0.03
Success testToElementWithConfigurationWithValue0.00
Success testToElementWithConfigurationWithAttributes0.01
Success testToElementWithConfigurationWithChildren0.01
Success testToElementWithSevereError0.00
Success testToConfigurationFromBasicElement0.01
Success testToConfigurationFromElementWithValue0.01
Success testToConfigurationFromElementWithMultipleValueFragments0.01
Success testToConfigurationFromElementWithInternalComment0.01
Success testToConfigurationFromElementWithAttributes0.00
Success testToConfigurationFromElementWithChildren0.01
Success testSerializeToResult0.16
Success testBuildFromXML0.01
Success testGeneratePathNameFromRootForRoot0.00
Success testGeneratePathNameFromRoot0.00
Success testGeneratePathNameFromNonRoot0.00
Success testEqualsOnEmptyConfigurations0.00
Success testEqualsWithDifferentNames0.00
Success testEqualsWithAttributes0.00
Success testEqualsWithDifferentNumberOfAttributes0.00
Success testEqualsWithDifferentAttributeNames0.00
Success testEqualsWithDifferentAttributeValues0.00
Success testEqualsWithChild0.00
Success testEqualsWithDifferentChildCount0.00
Success testEqualsWithDifferentChildren0.00
Success testEqualsWithContent0.00
Success testEqualsWithDifferentContent0.00
Success testEqualsWithContentOnOne0.00

ConsoleLoggerTestCase

Success testConsoleLevelComparisonWithDebugEnabled0.00
Success testConsoleLevelComparisonWithInfoEnabled0.00
Success testConsoleLevelComparisonWithWarnEnabled0.00
Success testConsoleLevelComparisonWithErrorEnabled0.00
Success testConsoleWithEmptyOutput0.00
Success testMockConsoleEmptyCtor0.00
Success testMockConsoleGetChildLogger0.00
Success testMockConsoleOutputToConsole0.00
Success testMockConsoleOutputToConsoleWithException0.00
Success testMockConsoleTraceEnabled0.00
Success testMockConsoleTraceDisabled0.00
Success testMockConsoleTraceWithExceptionEnabled0.00
Success testMockConsoleTraceWithExceptionDisabled0.00
Success testMockConsoleDebugEnabled0.00
Success testMockConsoleDebugDisabled0.00
Success testMockConsoleDebugWithExceptionEnabled0.00
Success testMockConsoleDebugWithExceptionDisabled0.00
Success testMockConsoleInfoEnabled0.00
Success testMockConsoleInfoDisabled0.00
Success testMockConsoleInfoWithExceptionEnabled0.00
Success testMockConsoleInfoWithExceptionDisabled0.00
Success testMockConsoleWarnEnabled0.00
Success testMockConsoleWarnDisabled0.00
Success testMockConsoleWarnWithExceptionEnabled0.00
Success testMockConsoleWarnWithExceptionDisabled0.00
Success testMockConsoleErrorEnabled0.00
Success testMockConsoleErrorDisabled0.00
Success testMockConsoleErrorWithExceptionEnabled0.00
Success testMockConsoleErrorWithExceptionDisabled0.00
Success testConsoleLevelComparisonWithAll0.00
Success testConsoleLevelComparisonWithNone0.00
Success testConsoleLevelComparisonWithTraceEnabled0.00

DefaultConfigurationTestCase

Success testBasicConfigurationElement0.01
Success testNullNameInCtor0.00
Success testNullLocationInCtor0.00
Success testNullPathInCtor0.00
Success testNullNameInSetAttribute0.00
Success testNullValueInSetAttribute0.00
Success testNullValueInSetValue0.00
Success testNullChildinAddChild0.00
Success testNullNameInGetAttribute0.00
Success testNullNameInGetChild0.00
Success testNullNameInGetChildren0.00
Success testGetValueAsText0.00
Success testGetNullValueAsText0.00
Success testGetValueAsBoolean0.00
Success testGetNullValueAsBoolean0.00
Success testGetValueAsInteger0.00
Success testGetNullValueAsInteger0.00
Success testGetMalformedValueAsInteger0.00
Success testGetValueAsLong0.00
Success testGetNullValueAsLong0.00
Success testGetMalformedValueAsLong0.00
Success testGetValueAsFloat0.00
Success testGetNullValueAsFloat0.00
Success testGetMalformedValueAsFloat0.00
Success testGetAttributeAsText0.00
Success testGetMissingAttributeAsText0.00
Success testGetAttributeAsBoolean0.00
Success testGetMissingAttributeAsBoolean0.00
Success testGetAttributeAsInteger0.00
Success testGetMissingAttributeAsInteger0.00
Success testGetMalformedAttributeAsInteger0.00
Success testGetAttributeAsLong0.00
Success testGetMissingAttributeAsLong0.00
Success testGetMalformedAttributeAsLong0.00
Success testGetAttributeAsFloat0.00
Success testGetMissingAttributeAsFloat0.00
Success testGetMalformedAttributeAsFloat0.00
Success testGetAttributes0.00
Success testGetAttributesWithNoAttributesSet0.00
Success testGetChildren0.00
Success testGetChildrenWithNoChildren0.00
Success testGetChild0.00
Success testGetNotExistentChildWithNoAutoCreateButOtherChildren0.00
Success testGetNotExistentChildWithNoAutoCreate0.00
Success testGetNotExistentChildWithAutoCreate0.00
Success testGuardAgainstMixedContentWhenAddingValue0.00
Success testGuardAgainstMixedContentWhenAddingChild0.00
Success testGetChildrenWithName0.00
Success testGetChildrenWithNameAndNoExistingChildren0.00
Success testAutogeneratePath0.00
Success testMakeReadOnlyWithNoChildren0.00
Success testMakeReadOnlyWithChildren0.00
Success testMakeReadOnlyWithNonFreezableChildren0.02
Success testToString0.00
Success testToStringWithAttributes0.00

SAXConfigurationSerializerTestCase

Success testSerializeZeroLengthAttributes0.01
Success testSerializeAttributes0.00
Success testSerializeElementWithNoContentOrChildren0.02
Success testSerializeElementWithValue0.00
Success testSerializeElementWithChild0.00
Success testSerializeElementWithChildAndContent0.00
Success testSerializeElementAsPartOfDocument0.00

FreezableTestCase

Success testMakeReadOnly0.01
Success testCheckWriteable0.00
Success testCheckWriteableOnWriteable0.00

LogkitLoggerTestCase

Success testConsoleLevelComparisonWithDebugEnabled0.04
Success testConsoleLevelComparisonWithInfoEnabled0.00
Success testConsoleLevelComparisonWithWarnEnabled0.00
Success testConsoleLevelComparisonWithErrorEnabled0.00
Success testLogkitLoggerEmptyCtor0.00
Success testLogkitLoggerGetChildLogger0.00
Success testLogkitLoggerTraceEnabled0.01
Success testLogkitLoggerTraceDisabled0.00
Success testLogkitLoggerTraceWithExceptionEnabled0.00
Success testLogkitLoggerTraceWithExceptionDisabled0.00
Success testLogkitLoggerDebugEnabled0.00
Success testLogkitLoggerDebugDisabled0.00
Success testLogkitLoggerDebugWithExceptionEnabled0.00
Success testLogkitLoggerDebugWithExceptionDisabled0.00
Success testLogkitLoggerInfoEnabled0.00
Success testLogkitLoggerInfoDisabled0.00
Success testLogkitLoggerInfoWithExceptionEnabled0.00
Success testLogkitLoggerInfoWithExceptionDisabled0.01
Success testLogkitLoggerWarnEnabled0.00
Success testLogkitLoggerWarnDisabled0.00
Success testLogkitLoggerWarnWithExceptionEnabled0.00
Success testLogkitLoggerWarnWithExceptionDisabled0.00
Success testLogkitLoggerErrorEnabled0.00
Success testLogkitLoggerErrorWithExceptionEnabled0.00

DefaultResourceLocatorTestCase

Success testLookupMissingResourceWithNoParent0.01
Success testLookupMissingResourceWithParent0.00
Success testLookupResourceInLocalLocator0.00
Success testLookupResourceInParentLocator0.00
Success testPutWithNullKey0.00
Success testPutWithNullResource0.00

ConfigurationExceptionTestCase

Success testConfigurationExceptionConstruction0.00
Success testConfigurationExceptionConstructionWithNullCause0.00
Success testConfigurationExceptionConstructionWithNullKey0.00
Success testConfigurationExceptionConstructionWithNullMessage0.00
Success testConfigurationExceptionConstructionWithNullLocation0.00
Success testConfigurationExceptionConstructionWith3ArgCtor0.00
Success testConfigurationExceptionConstructionWith2ArgCtor0.00
Success testConfigurationExceptionToString0.00
Success testConfigurationExceptionToStringWithNullPath0.00
Success testConfigurationExceptionToStringWithNullLocation0.00
Success testConfigurationExceptionToStringWithNullLocationAndPath0.00
Success testConfigurationExceptionToStringWithEmptyPath0.00
Success testConfigurationExceptionToStringWithEmptyLocation0.00
Success testConfigurationExceptionToStringWithEmptyLocationAndPath0.00

MissingResourceExceptionTestCase

Success testMissingResourceExceptionConstruction0.00
Success testMissingResourceExceptionConstructionWithNullCause0.00
Success testMissingResourceExceptionConstructionWithNullKey0.00
Success testMissingResourceExceptionConstructionWithNullMessage0.00
Success testMissingResourceExceptionConstructionWithSimpleCtor0.00

ReleaseUtilTestCase

Success testReleaseOnReleasable0.01
Success testReleaseOnNonReleasable0.00

LogEnabledTestCase

Success testGetLogger0.00
Success testSetupLoggerOnLogEnabled0.00
Success testSetupLoggerOnNonLogEnabled0.00
Success testSetupLoggerWithNameOnLogEnabled0.00
Success testSetupLoggerWithNullName0.00