Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
237 0 0 3 98.734% 2.675

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
test.de.smartics.properties.spi.config.definition 33 0 0 0 100% 0.111
test.de.smartics.properties.impl.config.cache 1 0 0 0 100% 0.02
test.de.smartics.properties.spi.config.properties.support 2 0 0 0 100% 0.631
test.de.smartics.properties.spi.config.support 1 0 0 0 100% 0.012
de.smartics.properties.impl.config.properties 1 0 0 0 100% 0.001
test.de.smartics.properties.api.config 21 0 0 0 100% 0.434
de.smartics.properties.spi.config.support 6 0 0 0 100% 0.036
de.smartics.properties.impl.config.domain.key.rtaware 6 0 0 0 100% 0.004
de.smartics.properties.impl.config.cache 11 0 0 0 100% 0.085
test.de.smartics.properties.spi.config.resolve 1 0 0 0 100% 0.003
de.smartics.properties.impl.config.domain.key.envapp 13 0 0 0 100% 0.003
test.de.smartics.properties.spi.config.ds 6 0 0 0 100% 0.061
test.de.smartics.properties.spi.config.security 2 0 0 0 100% 0.015
de.smartics.properties.spi.config.resolve 10 0 0 0 100% 0.136
test.de.smartics.properties.api.config.domain.key 64 0 0 0 100% 0.449
test.de.smartics.properties.impl.config.properties 14 0 0 0 100% 0.494
de.smartics.properties.api.config.domain 4 0 0 0 100% 0.003
test.de.smartics.properties.spi.config.proxy 35 0 0 3 91.429% 0.151
test.de.smartics.properties.spi.config.validation 6 0 0 0 100% 0.026

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

test.de.smartics.properties.spi.config.definition

Class Tests Errors Failures Skipped Success Rate Time
DefinitionKeyHelperRegisteredFilesTest 1 0 0 0 100% 0
DefinitionConfigParserTest 7 0 0 0 100% 0.1
DefinitionKeyHelperRegisteredTest 4 0 0 0 100% 0
PropertiesDefinitionContextCoverageTest 1 0 0 0 100% 0
PropertiesDefinitionContextTest 6 0 0 0 100% 0
DefinitionKeyHelperTest 14 0 0 0 100% 0.011

test.de.smartics.properties.impl.config.cache

Class Tests Errors Failures Skipped Success Rate Time
CacheConfigurationPropertiesManagementTest 1 0 0 0 100% 0.02

test.de.smartics.properties.spi.config.properties.support

Class Tests Errors Failures Skipped Success Rate Time
ClassPathLoaderTest 2 0 0 0 100% 0.631

test.de.smartics.properties.spi.config.support

Class Tests Errors Failures Skipped Success Rate Time
AbstractConfigurationPropertiesSerializableTest 1 0 0 0 100% 0.012

de.smartics.properties.impl.config.properties

Class Tests Errors Failures Skipped Success Rate Time
PropertiesPropertyCollectionCoverageTest 1 0 0 0 100% 0.001

test.de.smartics.properties.api.config

Class Tests Errors Failures Skipped Success Rate Time
PropertySerializableTest 1 0 0 0 100% 0
UnknownPropertiesTest 3 0 0 0 100% 0
PropertyObjectTest 10 0 0 0 100% 0.415
PropertyConstructionTest 4 0 0 0 100% 0.001
PropertyCompareToTest 3 0 0 0 100% 0.018

de.smartics.properties.spi.config.support

Class Tests Errors Failures Skipped Success Rate Time
UrlUtilTest 5 0 0 0 100% 0.022
PropertiesHelperTest 1 0 0 0 100% 0.014

de.smartics.properties.impl.config.domain.key.rtaware

Class Tests Errors Failures Skipped Success Rate Time
TenantUserKeyListBuilderTest 1 0 0 0 100% 0.002
TenantUserConfigurationKeyFactoryCreateKeyFromStringTest 5 0 0 0 100% 0.002

de.smartics.properties.impl.config.cache

Class Tests Errors Failures Skipped Success Rate Time
DependencyTrackingCacheTest 11 0 0 0 100% 0.085

test.de.smartics.properties.spi.config.resolve

Class Tests Errors Failures Skipped Success Rate Time
PropertyValueResolvingTest 1 0 0 0 100% 0.003

de.smartics.properties.impl.config.domain.key.envapp

Class Tests Errors Failures Skipped Success Rate Time
EnvAppConfigurationKeyFactoryCreateKeyFromStringTest 5 0 0 0 100% 0.001
EnvAppKeyListBuilderTest 8 0 0 0 100% 0.002

test.de.smartics.properties.spi.config.ds

Class Tests Errors Failures Skipped Success Rate Time
DsPropertyCollectionTest 6 0 0 0 100% 0.061

test.de.smartics.properties.spi.config.security

Class Tests Errors Failures Skipped Success Rate Time
PropertyValueSecurityTest 2 0 0 0 100% 0.015

de.smartics.properties.spi.config.resolve

Class Tests Errors Failures Skipped Success Rate Time
ResolverTest 10 0 0 0 100% 0.136

test.de.smartics.properties.api.config.domain.key

Class Tests Errors Failures Skipped Success Rate Time
ApplicationIdSerializableTest 1 0 0 0 100% 0.001
ConfigurationKeySerializableTest 1 0 0 0 100% 0.001
ApplicationIdValueOfTest 4 0 0 0 100% 0
EnvironmentIdConstructionTest 4 0 0 0 100% 0
ConfigurationKeyObjectTest 10 0 0 0 100% 0.122
EnvironmentIdValueOfTest 4 0 0 0 100% 0
ApplicationIdObjectTest 10 0 0 0 100% 0.171
EnvironmentIdObjectTest 10 0 0 0 100% 0.097
ConfigurationKeyConstructionTest 4 0 0 0 100% 0
ConfigurationKeyCompareToTest 3 0 0 0 100% 0.017
ApplicationIdConstructionTest 6 0 0 0 100% 0
EnvironmentIdSerializableTest 1 0 0 0 100% 0.001
EnvironmentIdCompareToTest 3 0 0 0 100% 0.007
ApplicationIdCompareToTest 3 0 0 0 100% 0.032

test.de.smartics.properties.impl.config.properties

Class Tests Errors Failures Skipped Success Rate Time
ListPropertiesTest 4 0 0 0 100% 0
PropertiesConfigurationPropertiesTest 8 0 0 0 100% 0.292
PropertiesConfigurationPropertiesSerializableTest 1 0 0 0 100% 0
PropertiesConfigurationPropertiesFactoryTest 1 0 0 0 100% 0.202

de.smartics.properties.api.config.domain

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

test.de.smartics.properties.spi.config.proxy

Class Tests Errors Failures Skipped Success Rate Time
PropertiesSerializableTest 1 0 0 0 100% 0.001
PropertyConfigurationTest 5 0 0 1 80% 0.011
PropertyConfigurationObjectBuilderTest 19 0 0 2 89.474% 0.106
PropertyConfigurationProxyObjectBasicsTest 10 0 0 0 100% 0.033

test.de.smartics.properties.spi.config.validation

Class Tests Errors Failures Skipped Success Rate Time
PropertyValueRangeEnumValidationTest 2 0 0 0 100% 0.01
PropertyValueRangeValidationTest 4 0 0 0 100% 0.016

Test Cases

[Summary] [Package List] [Test Cases]

TenantUserKeyListBuilderTest

returnsStrictlyDefindedKeys 0.002

PropertySerializableTest

isSerializable 0

UnknownPropertiesTest

allowsAddingProperties 0
providesAStringRepresentation 0
providesAStringRepresentationForEmptyProperties 0

DefinitionKeyHelperRegisteredFilesTest

identifiesRegisteredFiles 0

ResolverTest

resolvesValueWithoutPlaceholders 0.119
resolvesWithUnknownPlaceholder 0.003
resolvesValueWithOnePlaceholder 0.002
resolvesValueWithMultiplePlaceholders 0.002
resolvesRecursively 0.001
detectsDirectInfiniteRecursions 0.002
detectsInfiniteRecursions 0.002
detectsReferencesToUnknownPlaceholder 0.001
detectsReferencesToUnknownPlaceholderInDepth 0.002
detectsReferencedNullValue 0.002

CacheConfigurationPropertiesManagementTest

settingPropertyClearesDependentProperty 0.02

ApplicationIdSerializableTest

isSerializable 0.001

PropertyValueRangeEnumValidationTest

setPropertyWithAValidRangeValue 0.005
setPropertyWithAnInvalidRangeValue 0.005

PropertiesSerializableTest

isSerializable 0.001

UrlUtilTest

testShortenJarURLContainingMetaInf 0.02
testShortenFileURLContainingMetaInf 0.001
testShortenJarURLContainingNothing 0
testShortenFileURLContainingNothingEndingWithSlash 0
testShortenFileURLContainingNothingNotEndingWithSlash 0.001

ListPropertiesTest

providesAccessToValidatedStringListProperties 0
providesAccessToValidatedIntegerListProperties 0
providesAccessToValidatedEnumListProperties 0
providesAccessToValidatedUrlListProperties 0

PropertyObjectTest

equalsIsReflexive 0.011
equalsIsSymmetric 0.085
equalsIsTransitive 0.274
equalsIsConsistent 0.017
equalsReturnFalseOnNull 0.001
equalsReturnFalseOnInstanceOfOtherType 0.001
hashCodeIsConsistent 0.002
hashCodeIsConsistentWithEquals 0.014
hashCodeProducesUnequalHashCodesForUnequalInstances 0.009
toStringRunsWithoutFailure 0.001

PropertiesConfigurationPropertiesTest

providesAccessToValidatedStringProperties 0.003
providesAccessToValidatedIntProperties 0.003
providesAccessToValidatedUrlProperties 0.004
recognizesConversionProblems 0.171
recognizesConversionProblemsOnInts 0.041
recognizesInvalidProperties 0.053
recognizesMissingMandatoryProperties 0.009
recognizesSurplusProperties 0.008

ConfigurationKeySerializableTest

isSerializable 0.001

DependencyTrackingCacheTest

storesAMissInTheCache 0.05
storesAHitInTheCache 0.005
removesAValueFromTheCache 0.009
allowsToRemoveAValueFromTheCacheThatIsNotThereGracefully 0.001
removedDependentPropertiesRoot 0.009
removedDependentPropertiesMiddle 0.002
removedDependentPropertiesLeaf 0.002
removeMulipleRoot 0.002
removeMulipleMiddle 0.002
removeMulipleLeaf 0.001
allowsEmptyPropertiesGracefully 0.002

ApplicationIdValueOfTest

acceptNull 0
canBeCreatedWithOnlyAnArtifactId 0
canBeCreatedWithOnlyAGroupId 0
canBeCreatedWithOnlyAVersion 0

DefinitionConfigParserTest

readsEmptyDefinitionFile 0.081
readsTldOnlyDefinitionFile 0.002
readsEnvironmentsOnlyDefinitionFile 0.001
readsNodesOnlyDefinitionFile 0.002
readsGroupsOnlyDefinitionFile 0.002
readsFilesOnlyDefinitionFile 0.012
readsFullDefinitionFile 0

EnvironmentIdConstructionTest

providesAccessToEnvironmentName 0
noRequiredNameOnConstruction 0
nameMustNotBeEmpty 0
nameMustNotContainOnlyWhiteSpaces 0

EnvAppConfigurationKeyFactoryCreateKeyFromStringTest

rejectsNullKeyString 0
rejectsEmptyKeyString 0
rejectsTooShortKeyString 0.001
returnsValidKeyForShortestPossibleDefaultKey 0
returnsValidKeyForFullKey 0

PropertyConfigurationTest

retrievePropertyByShortName 0
tk - only FQNs allowed
retrievePropertyByName 0.004
signalsIfAnUnknownPropertyIsRequested 0.002
validPropertyConfig 0.002
inValidPropertyConfig 0.003

ConfigurationKeyObjectTest

equalsIsReflexive 0.002
equalsIsSymmetric 0.011
equalsIsTransitive 0.082
equalsIsConsistent 0.008
equalsReturnFalseOnNull 0.001
equalsReturnFalseOnInstanceOfOtherType 0.001
hashCodeIsConsistent 0.001
hashCodeIsConsistentWithEquals 0.008
hashCodeProducesUnequalHashCodesForUnequalInstances 0.007
toStringRunsWithoutFailure 0.001

DsPropertyCollectionTest

signalsEmptyIterationIfResultSetProvidesNoHits 0.058
allowsToCheckForMoreElementsAnyNumberOfTimes 0.001
allowsToIterateOverOneProperty 0
allowsToIterateOverProperties 0.001
removingFromTheIteratorIsNotSupported 0
signalsUnderlyingProblemsWithAnIllegalStateException 0.001

DefinitionKeyHelperRegisteredTest

identifiesRegisteredEnvironments 0
identifiesRegisteredNodes 0
identifiesRegisteredGroups 0
identifiesGroupByRegisteredTlds 0

PropertiesHelperTest

handlesIoProblems 0.014

EnvironmentIdValueOfTest

acceptNull 0
canBeCreatedWithOnlyAnEnvironmentName 0
canBeCreatedWithEnvironmentNameAndNodeName 0
canBeCreatedWithOnlyANodeName 0

DependencyParserTest

theNullValueReturnsTheEmptyList 0
aValueWithoutPlaceholdersReturnsTheEmptyList 0
aPlaceholderIsFound 0.002
moreThanOnePlaceholderIsFound 0.001

PropertyValueSecurityTest

retrievesASecuredProperty 0.011
setsASecuredProperty 0.004

PropertyConfigurationObjectBuilderTest

throwsExceptionWhenInterfaceWithoutAnnotationIsPassed 0.007
throwsExceptionWhenClassInsteadOfInterfaceIsPassed 0.005
throwsExceptionWhenNullInsteadOfInterfaceIsPassed 0.004
throwsExceptionWhenInterfaceWithMethodWithParameterIsPassed 0.005
callPropertyMethodDontCheckReturnValue 0
tk
callPropertyGetterMethodDontCheckReturnValue 0
tk
callAnnotatedPropertyKeyMethod 0.005
callAnnotatedPropertyKeyGetterMethod 0.004
callPropertyKeyMethodUsingNamingConvention 0.004
callPropertyKeyGetterMethodUsingNamingConvention 0.005
callAnnotatedPropertyDescriptorMethod 0.004
callAnnotatedPropertyDescriptorGetterMethod 0.004
callPropertyDescriptorMethodUsingNamingConvention 0.003
callPropertyDescriptorGetterMethodUsingNamingConvention 0.004
callPropertyMethodWithMetaDataAnnotationMustFail 0.004
testsThatTheAnnotationWinsOverTheNamingConvention 0.005
throwsExceptionWhenMethodHasAruments 0.033
throwsExceptionWhenPropertyMetaDataMethodIsCalldForNotExistingPropertyUsingAnnotation 0.006
throwsExceptionWhenPropertyMetaDataMethodIsCalldForNotExistingPropertyUsingNamingConvention 0.004

PropertyConstructionTest

allowsValueOfNull 0
requiresNameToBeNotNull 0.001
providesAccessToPropertyName 0
providesAccessToPropertyValue 0

PropertyValueResolvingTest

accessingCompositeValue 0.003

TenantUserConfigurationKeyFactoryCreateKeyFromStringTest

rejectsNullKeyString 0
rejectsEmptyKeyString 0.001
rejectsTooShortKeyString 0
returnsValidKeyForShortestPossibleDefaultKey 0.001
returnsValidKeyForFullKey 0

PropertyConfigurationProxyObjectBasicsTest

equalsIsReflexive 0.007
equalsIsSymmetric 0.003
equalsIsTransitive 0.006
equalsIsConsistent 0.004
equalsReturnFalseOnNull 0.001
equalsReturnFalseOnInstanceOfOtherType 0.001
hashCodeIsConsistent 0.003
hashCodeIsConsistentWithEquals 0.003
hashCodeProducesUnequalHashCodesForUnequalInstances 0.003
toStringRunsWithoutFailure 0.002

ApplicationIdObjectTest

equalsIsReflexive 0.001
equalsIsSymmetric 0.015
equalsIsTransitive 0.105
equalsIsConsistent 0.013
equalsReturnFalseOnNull 0.001
equalsReturnFalseOnInstanceOfOtherType 0.002
hashCodeIsConsistent 0.001
hashCodeIsConsistentWithEquals 0.013
hashCodeProducesUnequalHashCodesForUnequalInstances 0.017
toStringRunsWithoutFailure 0.003

AbstractConfigurationPropertiesSerializableTest

isSerializable 0.012

PropertyValueRangeValidationTest

setIntPropertyWithAValidRangeValue 0.004
setIntPropertyWithAnInvalidRangeValue 0.005
setStringPropertyWithAValidRangeValue 0.003
setStringPropertyWithAnInvalidRangeValue 0.004

EnvironmentIdObjectTest

equalsIsReflexive 0
equalsIsSymmetric 0.001
equalsIsTransitive 0.071
equalsIsConsistent 0.007
equalsReturnFalseOnNull 0.001
equalsReturnFalseOnInstanceOfOtherType 0.001
hashCodeIsConsistent 0.002
hashCodeIsConsistentWithEquals 0.007
hashCodeProducesUnequalHashCodesForUnequalInstances 0.006
toStringRunsWithoutFailure 0.001

ConfigurationKeyConstructionTest

providesAccessToEnvironmentId 0
providesAccessToApplicationId 0
requiresEnvironmentIdOnConstruction 0
requiresApplicationIdOnConstruction 0

ConfigurationKeyCompareToTest

compareToIsSymmetric 0.002
compareToIsTransitive 0.013
compareToIsConsistentToEquals 0.002

ApplicationIdConstructionTest

providesAccessToGroupId 0
providesAccessToArtifactId 0
providesAccessToVersion 0
versionNotRequiredOnConstruction 0
groupIdNotRequiredOnConstruction 0
artifactIdNotRequiredOnConstruction 0

PropertiesConfigurationPropertiesSerializableTest

isSerializable 0

EnvironmentIdSerializableTest

isSerializable 0.001

PropertiesPropertyCollectionCoverageTest

iteratorDoesNotAllowToRemoveElements 0.001

PropertyCompareToTest

compareToIsSymmetric 0.003
compareToIsTransitive 0.013
compareToIsConsistentToEquals 0.002

EnvironmentIdCompareToTest

compareToIsSymmetric 0.001
compareToIsTransitive 0.005
compareToIsConsistentToEquals 0.001

ApplicationIdCompareToTest

compareToIsSymmetric 0.006
compareToIsTransitive 0.022
compareToIsConsistentToEquals 0.004

PropertiesConfigurationPropertiesFactoryTest

providesAccessToProperties 0.202

EnvAppKeyListBuilderTest

derivesFromKeyWithOnlyAnEnvironmentName 0
derivesFromKeyWithEnvironmentNameAndNode 0
derivesFromKeyWithFullEnvironmentNameOnlyAndGroup 0.001
derivesFromKeyWithFullEnvironmentAndGroup 0
derivesFromKeyWithFullEnvironmentNameOnlyAndGA 0
derivesFromKeyWithFullEnvironmentAndGA 0
derivesFromKeyWithFullEnvironmentNameOnlyAndGAV 0
derivesFromKeyWithFullEnvironmentAndGAV 0.001

PropertiesDefinitionContextCoverageTest

toStringFull 0

ClassPathLoaderTest

readsPropertyDescriptorsAndDefinitionsFromTheClassPath 0.423
allowsToPassInAClassToDeriveTheRootUrl 0.208

PropertiesDefinitionContextTest

anyTwoLetterTldIdentifiesAGroup 0
anyTwoCharsDoNotIdentifyAGroup 0
anyTwoCharsDoNotIdentifyAGroupDigitFirst 0
anyThreeLettersDoNotIdentifyAGroup 0
aDefaultTldIdentifiesAGroup 0
nullIsNotAGroup 0

DefinitionKeyHelperTest

identifiesAnEnvironmentOnly 0.002
identifiesAnEnvironmentWithoutNode 0
identifiesAnEnvironmentWithNodeButNotApplication 0
identifiesAnEnvironmentWithNodeAndApplicationGroup 0
identifiesAnEnvironmentWithNodeAndApplicationGroupAndArtifact 0
identifiesAnEnvironmentWithNodeAndApplicationGroupAndArtifactAndVersion 0
identifiesApplicationGroupAndArtifactAndVersion 0
startingSlashAllowedWithEnvironment 0
startingSlashAllowedWithApplicationOnly 0
trailingSlashAllowedWithEnvironment 0
trailingSlashAllowedWithApplicationOnly 0
identifiesAnEnvironmentWithNodeAndApplicationGroupCom 0
returnsAnyEnvAnyAppKeyIfNoPathIsGiven 0.009
skipsPropertiesFile 0

Failure Details

[Summary] [Package List] [Test Cases]


retrievePropertyByShortName
skipped: tk - only FQNs allowed
callPropertyMethodDontCheckReturnValue
skipped: tk
callPropertyGetterMethodDontCheckReturnValue
skipped: tk