Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
156 0 0 2 98.718% 2.212

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


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.settings4j.helper.spring 8 0 0 0 100% 0.162
org.settings4j.connector 68 0 0 2 97.059% 0.39
org.settings4j.contentresolver 13 0 0 0 100% 0.036
org.settings4j.objectresolver 7 0 0 0 100% 0.091
org.settings4j.helper.web 13 0 0 0 100% 0.195
org.settings4j.util 4 0 0 0 100% 0.03
org.settings4j.config 17 0 0 0 100% 1.179
org.settings4j 17 0 0 0 100% 0.008
org.settings4j.helper.configuration 5 0 0 0 100% 0.121
org.settings4j.settings 4 0 0 0 100% 0

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

org.settings4j.helper.spring

Class Tests Errors Failures Skipped Success Rate Time
Settings4jFactoryBeanTest 2 0 0 0 100% 0.058
Settings4jPlaceholderConfigurerTest 6 0 0 0 100% 0.104

org.settings4j.connector

Class Tests Errors Failures Skipped Success Rate Time
CachedConnectorWrapperTest 13 0 0 0 100% 0.207
ClasspathConnectorTest 6 0 0 0 100% 0.036
EnvironmentConnectorTest 3 0 0 0 100% 0.001
FilteredConnectorWrapperTest 12 0 0 0 100% 0.024
FSConnectorTest 10 0 0 0 100% 0.016
JNDIConnectorTest 6 0 0 0 100% 0.037
PreferencesConnectorTest 13 0 0 2 84.615% 0.055
PropertyFileConnectorTest 4 0 0 0 100% 0.006
SystemPropertyConnectorTest 1 0 0 0 100% 0.008

org.settings4j.contentresolver

Class Tests Errors Failures Skipped Success Rate Time
ClasspathContentResolverTest 1 0 0 0 100% 0
FilteredContentResolverWrapperTest 3 0 0 0 100% 0.008
FSContentResolverTest 9 0 0 0 100% 0.028

org.settings4j.objectresolver

Class Tests Errors Failures Skipped Success Rate Time
FilteredObjectResolverWrapperTest 3 0 0 0 100% 0.003
JavaXMLBeansObjectResolverTest 3 0 0 0 100% 0.076
SpringConfigObjectResolverTest 1 0 0 0 100% 0.012

org.settings4j.helper.web

Class Tests Errors Failures Skipped Success Rate Time
DefaultPropertiesLoaderTest 3 0 0 0 100% 0.031
Log4jConfigurationLoaderTest 10 0 0 0 100% 0.164

org.settings4j.util

Class Tests Errors Failures Skipped Success Rate Time
ELConnectorWrapperTest 1 0 0 0 100% 0.023
ExpressionLanguageUtilTest 3 0 0 0 100% 0.007

org.settings4j.config

Class Tests Errors Failures Skipped Success Rate Time
DefaultFallbackConfigurationTest 1 0 0 0 100% 0.244
Settings4jConfigTest 14 0 0 0 100% 0.921
Settings4jFilterConfigTest 1 0 0 0 100% 0.008
Settings4jMappingConfigTest 1 0 0 0 100% 0.006

org.settings4j

Class Tests Errors Failures Skipped Success Rate Time
ConnectorPositionsTest 17 0 0 0 100% 0.008

org.settings4j.helper.configuration

Class Tests Errors Failures Skipped Success Rate Time
ConfigurationToConnectorAdapterTest 5 0 0 0 100% 0.121

org.settings4j.settings

Class Tests Errors Failures Skipped Success Rate Time
DefaultFilterTest 4 0 0 0 100% 0

Test Cases

[Summary] [Package List] [Test Cases]

DefaultFallbackConfigurationTest

testDefaultSettings4jConfig 0.076

Settings4jConfigTest

testPropertyFileConfig 0.116
testObjectResolverConfig4Spring 0.624
testFSConfigTempFolder 0.013
testCorruptConfig 0.016
testPropertyFileConfigFromPathException1 0.012
testPropertyFileConfigFromPathException2 0.008
testPropertyFileConfigFromPath1 0.009
testPropertyFileConfigFromPath2 0.008
testDefaultSettings4jConfig 0.014
testObjectResolverConfig 0.04
testFSConfigTestFolder 0.012
testObjectResolverConfig1 0.015
testObjectResolverConfig2 0.017
testObjectResolverConfig3 0.012

Settings4jFilterConfigTest

testMapping 0.008

Settings4jMappingConfigTest

testMapping 0.006

CachedConnectorWrapperTest

testInit 0.018
testGetContentWithNull 0.007
testGetStringWithNull 0
testGetName 0
testSetObjectResolver 0.001
testGetObjectWithNull 0.001
testAddConnector 0
testSetContentResolver 0.001
testGetContent 0
testGetObject 0
testGetString 0.001
testSetName 0
testClearCachedValue 0.001

ClasspathConnectorTest

testSetCharset 0
testSetCharsetShouldThrowIllegalCharsetNameException 0.015
testSetContentResolver 0.003
testGetContent 0
testGetObject 0.005
testGetString 0.001

EnvironmentConnectorTest

testGetStringFail 0
testGetString 0
testGetStringUpperCase 0.001

FilteredConnectorWrapperTest

testInit 0.001
testGetContentFiltered 0.001
testGetName 0.001
testGetStringFiltered 0
testSetObjectResolver 0
testGetObjectFiltered 0
testAddConnector 0.002
testSetContentResolver 0
testGetContent 0
testGetObject 0
testGetString 0.001
testSetName 0

FSConnectorTest

testSetCharset 0
testSetContent 0.001
testSetCharsetShouldThrowIllegalCharsetNameException 0.001
testGetRootFolder 0
testSetContentResolver 0
testSetRootFolderPath 0.001
testSetString 0
testGetContent 0
testGetObject 0.001
testGetString 0

JNDIConnectorTest

testJNDIConnectorIsAvailable 0.018
testSmokeTest 0.003
testJNDIConnectorWithoutJNDI 0.003
testJNDIConnectorWithCustomJNDIProperties 0.003
testJNDIConnectorWithJNDI 0.006
testJNDIConnectorWithJNDIAndPathPrefix 0.003

PreferencesConnectorTest

testSetStringWithNullKey 0.001
testSmokeTest 0.002
testRoundupWithUserPreferences 0.011
testGetStringWithNullKey 0.001
testRoundupWithSlashAtStart 0.01
testFormularExample 0.005
testRoundupWithSystemPreferences 0
Dosen't run Travis-CI: Cannot set System-Preferences.
testReadFail 0.001
testSaveSuccessSlash 0.004
testReadSuccess 0.002
testRoundupWithUserAndSystemPreferences 0
Dosen't run Travis-CI: Cannot set System-Preferences.
testSaveSuccessBackslash 0.01
testRoundupWithRootPath 0.005

PropertyFileConnectorTest

testReadPropertyFromClasspathWhichDoesnotExist 0
testReadPropertyFromJarFile 0.001
testReadPropertyFromFilePath 0.003
testReadPropertyFromClasspath 0.002

SystemPropertyConnectorTest

testSystemPropertyConnector 0.008

ConnectorPositionsTest

testFirstValidSuccessFirst 0.002
testBeforeNameFail 0.001
testBeforeFirstClassFail 0
testBeforeLastClassFail 0.001
testFirstValidFail 0
testAtFirst 0
testBeforeFirstClassSuccess 0.001
testFirstValidSuccessSecond 0
testAfterNameSuccess 0
testAfterLastClassSuccess 0.001
testAfterNameFail 0
testAfterLastClassFail 0
testAtLast 0
testBeforeNameSuccess 0
testAfterFirstClassSuccess 0.001
testBeforeLastClassSuccess 0
testAfterFirstClassFail 0

ClasspathContentResolverTest

testReadHelloWorldTxt 0

FilteredContentResolverWrapperTest

testGetContentFiltered 0
testSetContentResolver 0
testGetContent 0

FSContentResolverTest

testWriteHelloWorldTxt1 0.007
testWriteHelloWorldTxt2 0.002
testWriteHelloWorldTxt3 0.006
testWriteHelloWorldTxt4 0.002
testWriteHelloWorldTxt5 0.003
testUnsupportedContentResolver 0
testReadHelloWorldTxt 0.006
testInitialRootFolder 0.001
testInvalidRootFolder 0.001

ConfigurationToConnectorAdapterTest

testAdapterINIConfigWithDefaultDelimiterWithoutDotValue 0.042
testAdapterINIConfigWithDefaultDelimiterAndDotValue 0.006
testAdapterINIConfigWithSlashDelimiter 0.007
testAdapterPropertiesConfig 0.015
testAdapterXmlConfigWithDefaultDelimiter 0.051

Settings4jFactoryBeanTest

testHappyPath 0.014
testHappyPathComplex 0.043

Settings4jPlaceholderConfigurerTest

testHappyPath 0.064
testParseStringValueWithDefaultPropertiesAndPrefix 0.002
testParseStringValueWithDefaultProperties 0.001
testParseStringValueSimpleWithPlaceholders 0.001
testHappyPathComplex 0.033
testParseStringValueSimple 0.003

DefaultPropertiesLoaderTest

testInitDefaultPropertiesHappypath 0.01
testMulitbleInitDefaultProperties 0.01
testInitDefaultPropertiesWithoutInitParameter 0.007

Log4jConfigurationLoaderTest

testInitLog4jConfigurationInvalideClasspathFile 0.016
testInitLog4jConfigurationHappypathDefault 0.016
testInitLog4jConfigurationHappypathCustomFile 0.017
testInitLog4jConfigurationEmptyProperties 0.014
testInitLog4jConfigurationInvalideUrl 0.025
testInitLog4jConfigurationInvalideLog4jFactory 0.015
testInitLog4jConfigurationEmptyLog4jPath 0.01
testInitLog4jConfigurationHappypathCustom 0.015
testInitLog4jConfigurationlog4jProperty 0.016
testInitLog4jConfigurationCorruptXml 0.018

FilteredObjectResolverWrapperTest

testSetObjectResolver 0.001
testGetObjectFiltered 0
testGetObject 0

JavaXMLBeansObjectResolverTest

test2Caching 0.041
test1 0.017
test3Caching 0.018

SpringConfigObjectResolverTest

testSpringContext1 0.012

DefaultFilterTest

testDefaultFilterInclude 0
testDefaultFilterExcludeInvalidExpression 0
testDefaultFilterIncludeInvalidExpression 0
testDefaultFilterExclude 0

ELConnectorWrapperTest

testGetObject 0.023

ExpressionLanguageUtilTest

testLazyMapMatchPattern 0.003
testComplex 0.003
testSimple 0.001

Failure Details

[Summary] [Package List] [Test Cases]


testRoundupWithSystemPreferences
skipped: Dosen't run Travis-CI: Cannot set System-Preferences.
testRoundupWithUserAndSystemPreferences
skipped: Dosen't run Travis-CI: Cannot set System-Preferences.