Summary

[ summary] [ package list] [ test cases]

TestsErrorsFailuresSuccess rateTime(s)
53300100,00%68,57

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

Package List

[ summary] [ package list] [ test cases]

PackageTestsErrorsFailuresSuccess RateTime
org.apache.commons.configuration 42800100,00%52,75
org.apache.commons.configuration.plist 2700100,00%4,92
org.apache.commons.configuration.web 3500100,00%4,68
org.apache.commons.configuration.beanutils 3800100,00%1,12
org.apache.commons.configuration.reloading 500100,00%5,10

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

org.apache.commons.configuration

ClassTestsErrorsFailuresSuccess RateTime
Success TestConfigurationKey 1000100,00%0,821
Success TestBaseConfigurationXMLReader 400100,00%1,084
Success TestNullCompositeConfiguration 2300100,00%2,347
Success TestHierarchicalXMLConfiguration 900100,00%1,989
Success TestConfigurationUtils 700100,00%0,915
Success TestBaseNullConfiguration 1800100,00%0,926
Success TestCompositeConfiguration 2300100,00%2,345
Success TestConfigurationSet 200100,00%0,885
Success TestJNDIEnvironmentValues 1200100,00%1,011
Success TestDatabaseConfiguration 1800100,00%4,223
Success TestConfigurationMap 100100,00%0,867
Success TestPropertiesSequence 300100,00%1,633
Success TestJNDIConfiguration 2000100,00%1,041
Success TestEqualsProperty 100100,00%1,017
Success TestHierarchicalConfigurationXMLReader 100100,00%1,352
Success TestConfigurationConverter 500100,00%0,929
Success TestConfigurationFactory 1300100,00%3,028
Success TestDataConfiguration 3400100,00%1,721
Success TestPropertiesConfiguration 3100100,00%2,161
Success TestStrictConfigurationComparator 200100,00%0,814
Success TestNullJNDIEnvironmentValues 1200100,00%1,011
Success TestCompositeConfigurationNonStringProperties 2300100,00%1,278
Success TestXMLPropertiesConfiguration 200100,00%1,235
Success TestThreesomeConfiguration 300100,00%1,032
Success TestSystemConfiguration 100100,00%0,825
Success TestFileConfiguration 1400100,00%1,948
Success TestBaseConfiguration 2300100,00%0,982
Success TestEqualBehaviour 700100,00%1,665
Success TestSubsetConfiguration 1300100,00%1,778
Success TestNonStringProperties 2300100,00%1,284
Success TestXMLConfiguration 4000100,00%5,864
Success TestHierarchicalConfiguration 1600100,00%1,041
Success TestMapConfiguration 800100,00%0,846
Success TestPropertyConverter 600100,00%0,856

org.apache.commons.configuration.plist

ClassTestsErrorsFailuresSuccess RateTime
Success TestPropertyListParser 300100,00%0,833
Success TestXMLPropertyListConfiguration 1100100,00%2,903
Success TestPropertyListConfiguration 1300100,00%1,182

org.apache.commons.configuration.web

ClassTestsErrorsFailuresSuccess RateTime
Success TestServletRequestConfiguration 700100,00%0,952
Success TestServletConfiguration 700100,00%0,902
Success TestAppletConfiguration 700100,00%1,045
Success TestServletFilterConfiguration 700100,00%0,845
Success TestServletContextConfiguration 700100,00%0,935

org.apache.commons.configuration.beanutils

ClassTestsErrorsFailuresSuccess RateTime
Success TestConfigurationDynaBean 3800100,00%1,120

org.apache.commons.configuration.reloading

ClassTestsErrorsFailuresSuccess RateTime
Success TestFileChangedReloadingStrategy 500100,00%5,097

Test Cases

[ summary] [ package list] [ test cases]

TestConfigurationKey

Success testAppend0,01
Success testIterate0,01
Success testAttribute0,00
Success testLength0,00
Success testConstructAttributeKey0,00
Success testEquals0,00
Success testCommonKey0,00
Success testDifferenceKey0,00
Success testEscapedDelimiters0,00
Success testIterateStrangeKeys0,00

TestPropertyListParser

Success testRemoveQuotes0,01
Success testUnescapeQuotes0,03
Success testFilterData0,02

TestBaseConfigurationXMLReader

Success testParse0,30
Success testParseSAXException0,00
Success testParseIOException0,00
Success testSetRootName0,00

TestServletRequestConfiguration

Success testAddPropertyDirect0,13
Success testClearProperty0,00
Success testGetProperty0,00
Success testList0,00
Success testIsEmpty0,02
Success testContainsKey0,00
Success testGetKeys0,01

TestServletConfiguration

Success testAddPropertyDirect0,08
Success testClearProperty0,00
Success testGetProperty0,01
Success testList0,00
Success testIsEmpty0,00
Success testContainsKey0,00
Success testGetKeys0,02

TestNullCompositeConfiguration

Success testThrowExceptionOnMissing0,43
Success testAddRemoveConfigurations0,05
Success testGetPropertyWIncludes0,05
Success testGetProperty0,04
Success testCantRemoveMemoryConfig0,05
Success testGetPropertyMissing0,15
Success testMultipleTypesOfConfigs0,05
Success testPropertyExistsInOnlyOneConfig0,05
Success testDefaultValueWhenKeyMissing0,04
Success testGettingConfiguration0,05
Success testClearingProperty0,04
Success testAddingProperty0,03
Success testSettingMissingProperty0,05
Success testGettingSubset0,07
Success testSubsetCanResolve0,16
Success testList0,03
Success testStringArray0,04
Success testGetList0,03
Success testGetVector0,04
Success testGetKeysPreservesOrder0,04
Success testGetKeys2PreservesOrder0,04
Success testGetStringWithDefaults0,03
Success testCheckingInMemoryConfiguration0,03

TestHierarchicalXMLConfiguration

Success testGetProperty0,37
Success testLoadURL0,02
Success testLoadBasePath10,02
Success testLoadBasePath20,03
Success testXmlNodeTypes0,04
Success testSave0,54
Success testSaveNew0,05
Success testSaveModified0,10
Success testRootElement0,04

TestConfigurationUtils

Success testToString0,10
Success testGetURL0,02
Success testGetBasePath0,00
Success testGetFileName0,00
Success testCopy0,00
Success testAppend0,01
Success testGetFile0,00

TestAppletConfiguration

Success testAddPropertyDirect0,22
Success testClearProperty0,00
Success testGetProperty0,01
Success testList0,00
Success testIsEmpty0,01
Success testContainsKey0,00
Success testGetKeys0,01

TestBaseNullConfiguration

Success testThrowExceptionOnMissing0,05
Success testGetProperty0,02
Success testGetByte0,02
Success testGetShort0,00
Success testGetLong0,00
Success testGetFloat0,00
Success testGetDouble0,00
Success testGetBigDecimal0,01
Success testGetBigInteger0,00
Success testGetString0,00
Success testGetBoolean0,01
Success testGetList0,00
Success testCommaSeparatedString0,00
Success testPropertyAccess0,01
Success testSubset0,03
Success testInterpolation0,00
Success testMultipleInterpolation0,00
Success testInterpolationLoop0,00

TestCompositeConfiguration

Success testThrowExceptionOnMissing0,43
Success testAddRemoveConfigurations0,05
Success testGetPropertyWIncludes0,05
Success testGetProperty0,04
Success testCantRemoveMemoryConfig0,05
Success testGetPropertyMissing0,14
Success testMultipleTypesOfConfigs0,05
Success testPropertyExistsInOnlyOneConfig0,05
Success testDefaultValueWhenKeyMissing0,04
Success testGettingConfiguration0,06
Success testClearingProperty0,04
Success testAddingProperty0,03
Success testSettingMissingProperty0,05
Success testGettingSubset0,07
Success testSubsetCanResolve0,16
Success testList0,02
Success testStringArray0,04
Success testGetList0,03
Success testGetKeysPreservesOrder0,04
Success testGetKeys2PreservesOrder0,04
Success testGetStringWithDefaults0,03
Success testCheckingInMemoryConfiguration0,03
Success testStringArrayInterpolation0,02

TestConfigurationSet

Success testSize0,09
Success testIterator0,01

TestJNDIEnvironmentValues

Success testThrowExceptionOnMissing0,14
Success testSimpleGet0,02
Success testMoreGets0,01
Success testGetMissingKey0,00
Success testGetMissingKeyWithDefault0,00
Success testContainsKey0,00
Success testClearProperty0,00
Success testIsEmpty0,01
Success testGetKeys0,02
Success testGetKeysWithUnknownPrefix0,00
Success testGetKeysWithExistingPrefix0,00
Success testGetKeysWithKeyAsPrefix0,00

TestDatabaseConfiguration

Success testAddPropertyDirectSingle2,08
Success testAddPropertyDirectMultiple0,08
Success testAddNonStringProperty0,08
Success testGetPropertyDirectSingle0,26
Success testGetPropertyDirectMultiple0,09
Success testClearPropertySingle0,08
Success testClearPropertyMultiple0,06
Success testClearSingle0,06
Success testClearMultiple0,06
Success testGetKeysSingle0,05
Success testGetKeysMultiple0,07
Success testContainsKeySingle0,05
Success testContainsKeyMultiple0,07
Success testIsEmptySingle0,08
Success testIsEmptyMultiple0,10
Success testGetList0,04
Success testGetKeys0,06
Success testClearSubset0,07

TestConfigurationMap

Success testPut0,08

TestPropertiesSequence

Success testConfigurationValuesInSameOrderFromFile0,80
Success testConfigurationValuesInSameOrderWithManualAdd0,02
Success testMappingInSameOrder0,02

TestJNDIConfiguration

Success testBoolean0,19
Success testBooleanDefaultValue0,00
Success testByte0,00
Success testDouble0,00
Success testDoubleDefaultValue0,00
Success testFloat0,00
Success testFloatDefaultValue0,00
Success testInteger0,00
Success testIntegerDefaultValue0,00
Success testLong0,00
Success testLongDefaultValue0,00
Success testShort0,00
Success testShortDefaultValue0,00
Success testListMissing0,00
Success testSubset0,03
Success testProperties0,00
Success testContainsKey0,00
Success testChangePrefix0,00
Success testResetRemovedProperties0,00
Success testConstructor0,00

TestEqualsProperty

Success testEquals0,23

TestServletFilterConfiguration

Success testAddPropertyDirect0,03
Success testClearProperty0,00
Success testGetProperty0,01
Success testList0,00
Success testIsEmpty0,00
Success testContainsKey0,00
Success testGetKeys0,01

TestConfigurationConverter

Success testExtendedPropertiesToConfiguration0,06
Success testPropertiesToConfiguration0,00
Success testConfigurationToExtendedProperties0,06
Success testConfigurationToProperties0,02
Success testConfigurationToMap0,00

TestServletContextConfiguration

Success testAddPropertyDirect0,12
Success testClearProperty0,00
Success testGetProperty0,01
Success testList0,00
Success testIsEmpty0,00
Success testContainsKey0,00
Success testGetKeys0,02

TestConfigurationFactory

Success testBasePath0,09
Success testJNDI0,09
Success testLoadingConfiguration0,90
Success testLoadingConfigurationWithRulesXML0,23
Success testLoadingConfigurationReverseOrder0,23
Success testLoadingConfigurationNamespaceAware0,03
Success testLoadingConfigurationBasePath0,02
Success testLoadingAdditional0,10
Success testLoadingURL0,08
Success testThrowingConfigurationInitializationException0,08
Success testAllConfiguration0,12
Success testOptionalConfigurations0,25
Success testLoadAbsolutePath0,02

TestDataConfiguration

Success testGetBooleanArray0,40
Success testGetBooleanList0,02
Success testGetByteArray0,02
Success testGetByteList0,02
Success testGetShortArray0,01
Success testGetShortList0,01
Success testGetIntegerArray0,01
Success testGetIntegerList0,01
Success testGetLongArray0,01
Success testGetLongList0,00
Success testGetFloatArray0,01
Success testGetFloatList0,02
Success testGetDoubleArray0,00
Success testGetDoubleList0,01
Success testGetBigIntegerArray0,00
Success testGetBigIntegerList0,00
Success testGetBigDecimalArray0,01
Success testGetBigDecimalList0,01
Success testGetURL0,08
Success testGetURLArray0,00
Success testGetURLList0,01
Success testGetLocale0,02
Success testGetLocaleArray0,00
Success testGetLocaleList0,00
Success testGetColor0,00
Success testGetColorArray0,00
Success testGetColorList0,00
Success testGetDate0,00
Success testGetDateArray0,01
Success testGetDateList0,13
Success testGetCalendar0,00
Success testGetCalendarArray0,03
Success testGetCalendarList0,01
Success testConversionException0,05

TestPropertiesConfiguration

Success testLoad0,22
Success testAppend0,02
Success testEmpty0,02
Success testReference0,01
Success testLoadInclude0,01
Success testSetInclude0,02
Success testList0,00
Success testSave0,11
Success testSaveMissingFilename0,01
Success testSaveWithBasePath0,03
Success testLoadViaProperty0,02
Success testLoadViaPropertyWithBasePath0,02
Success testLoadViaPropertyWithBasePath20,02
Success testLoadFromFile0,01
Success testLoadUnexistingFile0,01
Success testLoadWithAutoSave0,01
Success testGetStringWithEscapedChars0,01
Success testGetStringWithEscapedComma0,01
Success testUnescapeJava0,02
Success testEscapedKey0,01
Success testMixedArray0,01
Success testMultilines0,01
Success testChangingDelimiter0,02
Success testNewLineEscaping0,01
Success testLoadIncludeFromClassPath0,01
Success testComment0,00
Success testEscapedKeyValueSeparator0,01
Success testKeyValueSeparators0,01
Success testIncludeInSubDir0,68
Success testLineSeparator0,03
Success testReentrantReload0,01

TestStrictConfigurationComparator

Success testCompare0,04
Success testCompareNull0,00

TestNullJNDIEnvironmentValues

Success testThrowExceptionOnMissing0,14
Success testSimpleGet0,02
Success testMoreGets0,01
Success testGetMissingKey0,00
Success testGetMissingKeyWithDefault0,00
Success testContainsKey0,00
Success testClearProperty0,00
Success testIsEmpty0,01
Success testGetKeys0,02
Success testGetKeysWithUnknownPrefix0,00
Success testGetKeysWithExistingPrefix0,00
Success testGetKeysWithKeyAsPrefix0,00

TestCompositeConfigurationNonStringProperties

Success testBoolean0,26
Success testBooleanDefaultValue0,01
Success testBooleanArrayValue0,02
Success testByte0,01
Success testByteArrayValue0,01
Success testDouble0,01
Success testDoubleDefaultValue0,01
Success testDoubleArrayValue0,01
Success testFloat0,00
Success testFloatDefaultValue0,01
Success testFloatArrayValue0,01
Success testInteger0,01
Success testIntegerDefaultValue0,01
Success testIntegerArrayValue0,01
Success testLong0,02
Success testLongDefaultValue0,01
Success testLongArrayValue0,01
Success testShort0,00
Success testShortDefaultValue0,00
Success testShortArrayValue0,01
Success testListMissing0,00
Success testSubset0,04
Success testIsEmpty0,01

TestXMLPropertiesConfiguration

Success testLoad0,37
Success testSave0,09

TestThreesomeConfiguration

Success testList10,23
Success testList20,00
Success testList30,00

TestSystemConfiguration

Success testSystemConfiguration0,04

TestXMLPropertyListConfiguration

Success testString1,23
Success testInteger0,10
Success testReal0,08
Success testBoolean0,05
Success testDictionary0,04
Success testSubset0,08
Success testArray0,07
Success testNestedArray0,17
Success testDictionaryArray0,06
Success testNested0,05
Success testSave0,18

TestConfigurationDynaBean

Success testGetDescriptorArguments0,16
Success testGetDescriptorBoolean0,01
Success testGetDescriptorDouble0,00
Success testGetDescriptorFloat0,00
Success testGetDescriptorInt0,00
Success testGetDescriptorLong0,00
Success testGetDescriptorSecond0,00
Success testGetDescriptorShort0,00
Success testGetDescriptorString0,00
Success testGetDescriptors0,02
Success testGetIndexedArguments0,00
Success testGetIndexedValues0,02
Success testGetMappedArguments0,01
Success testGetMappedValues0,00
Success testGetSimpleArguments0,01
Success testGetSimpleBoolean0,00
Success testGetSimpleDouble0,00
Success testGetSimpleFloat0,00
Success testGetSimpleInt0,01
Success testGetSimpleLong0,00
Success testGetSimpleShort0,00
Success testGetSimpleString0,00
Success testMappedContains0,00
Success testMappedRemove0,02
Success testSetIndexedArguments0,00
Success testSetIndexedValues0,02
Success testSetMappedValues0,00
Success testSetSimpleBoolean0,00
Success testSetSimpleDouble0,00
Success testSetSimpleFloat0,00
Success testSetSimpleInt0,00
Success testSetSimpleLong0,00
Success testSetSimpleShort0,00
Success testSetSimpleString0,00
Success testAddNullPropertyValue0,00
Success testGetNonExistentProperty0,00
Success testNonIndexedPropeties0,00
Success testNestedPropeties0,01

TestFileConfiguration

Success testSetURL0,16
Success testSetURLWithParams0,01
Success testLocations0,00
Success testCreateFile10,07
Success testCreateFile20,00
Success testCreateFile30,00
Success testWithConfigurationFactory0,80
Success testSaveInvalidURL0,01
Success testFileOverwrite0,02
Success testReloadingWithAutoSave0,02
Success testPathWithSpaces0,02
Success testGetFile0,02
Success testSaveWithoutFileName0,03
Success testLoadDirectory0,00

TestBaseConfiguration

Success testThrowExceptionOnMissing0,05
Success testGetProperty0,02
Success testGetByte0,02
Success testGetShort0,00
Success testGetLong0,00
Success testGetFloat0,00
Success testGetDouble0,00
Success testGetBigDecimal0,01
Success testGetBigInteger0,00
Success testGetString0,00
Success testGetBoolean0,01
Success testGetList0,00
Success testGetInterpolatedList0,00
Success testGetInterpolatedPrimitives0,00
Success testCommaSeparatedString0,00
Success testAddProperty0,04
Success testPropertyAccess0,01
Success testSubset0,02
Success testInterpolation0,00
Success testMultipleInterpolation0,00
Success testInterpolationLoop0,00
Success testGetHexadecimalValue0,00
Success testResolveContainerStore0,00

TestEqualBehaviour

Success testLoading0,77
Success testDeletingExisting0,02
Success testDeletingNonExisting0,02
Success testSettingNonExisting0,02
Success testSettingExisting0,02
Success testAddingUnset0,02
Success testAddingSet0,02

TestSubsetConfiguration

Success testGetProperty0,10
Success testSetProperty0,00
Success testGetParentKey0,00
Success testGetChildKey0,00
Success testGetKeys0,00
Success testGetKeysWithPrefix0,00
Success testGetList0,00
Success testGetParent0,00
Success testGetPrefix0,00
Success testSetPrefix0,00
Success testThrowtExceptionOnMissing0,00
Success testNested0,89
Success testClear0,00

TestFileChangedReloadingStrategy

Success testAutomaticReloading2,22
Success testNewFileReloading2,01
Success testGetRefreshDelay0,00
Success testFromClassPath0,03
Success testFromJar0,04

TestNonStringProperties

Success testBoolean0,25
Success testBooleanDefaultValue0,02
Success testBooleanArrayValue0,02
Success testByte0,01
Success testByteArrayValue0,01
Success testDouble0,02
Success testDoubleDefaultValue0,01
Success testDoubleArrayValue0,01
Success testFloat0,01
Success testFloatDefaultValue0,00
Success testFloatArrayValue0,01
Success testInteger0,01
Success testIntegerDefaultValue0,01
Success testIntegerArrayValue0,01
Success testLong0,02
Success testLongDefaultValue0,02
Success testLongArrayValue0,01
Success testShort0,00
Success testShortDefaultValue0,00
Success testShortArrayValue0,01
Success testListMissing0,00
Success testSubset0,03
Success testIsEmpty0,01

TestXMLConfiguration

Success testGetProperty0,36
Success testGetCommentedProperty0,03
Success testGetPropertyWithXMLEntity0,02
Success testClearProperty0,33
Success testgetProperty0,02
Success testGetAttribute0,02
Success testClearAttribute0,10
Success testSetAttribute0,02
Success testAddAttribute0,02
Success testAddObjectAttribute0,01
Success testAddList0,02
Success testGetComplexProperty0,02
Success testSettingFileNames0,03
Success testLoad0,16
Success testLoadWithBasePath0,04
Success testLoadAndSaveFromFile0,42
Success testLoadFromURL0,04
Success testLoadFromStream0,04
Success testLoadInvalidXML0,06
Success testSetProperty0,02
Success testAddProperty0,03
Success testAddObjectProperty0,02
Success testSave0,08
Success testSaveToURL0,05
Success testSaveToStream0,23
Success testAutoSave0,08
Success testAppend0,09
Success testSaveAttributes0,07
Success testReloading2,05
Success testComplexNames0,01
Success testCustomDocBuilder0,13
Success testClone0,01
Success testSubset0,06
Success testSplitLists0,20
Success testDtd0,03
Success testValidating0,03
Success testEmptyElements0,04
Success testLoadWithEncoding0,03
Success testSaveWithEncoding0,02
Success testSaveWithNullEncoding0,02

TestHierarchicalConfiguration

Success testSetRoot0,08
Success testIsEmpty0,01
Success testGetProperty0,02
Success testSetProperty0,05
Success testClearProperty0,00
Success testClearTree0,00
Success testContainsKey0,00
Success testGetKeys0,04
Success testGetKeysString0,00
Success testAddProperty0,00
Success testGetMaxIndex0,00
Success testSubset0,00
Success testClone0,00
Success testAddNodes0,00
Success testNodeRemove0,00
Success testNodeVisitor0,01

TestPropertyListConfiguration

Success testLoad0,24
Success testLoadWithError0,02
Success testString0,03
Success testQuotedString0,01
Success testEmptyArray0,00
Success testArray0,00
Success testNestedArrays0,01
Success testDictionary0,00
Success testDictionaryArray0,00
Success testNestedDictionaries0,00
Success testData0,02
Success testSave0,06
Success testQuoteString0,00

TestMapConfiguration

Success testGetMap0,03
Success testGetProperty0,01
Success testList0,00
Success testAddPropertyDirect0,00
Success testIsEmpty0,00
Success testContainsKey0,00
Success testClearProperty0,00
Success testGetKeys0,01

TestPropertyConverter

Success testSplit0,03
Success testSplitWithEscapedSeparator0,00
Success testSplitEmptyValues0,00
Success testSplitWithEndingSlash0,00
Success testSplitNull0,00
Success testToIterator0,04