Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
232 0 0 3 98.707% 2.837

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.impl.config.cache 1 0 0 0 100% 0.019
test.de.smartics.properties.spi.config.definition 33 0 0 0 100% 0.019
test.de.smartics.properties.spi.config.properties.support 2 0 0 0 100% 0.233
test.de.smartics.properties.spi.config.support 1 0 0 0 100% 0
de.smartics.properties.impl.config.properties 1 0 0 0 100% 0.001
de.smartics.properties.spi.config.support 1 0 0 0 100% 0.004
test.de.smartics.properties.api.config 21 0 0 0 100% 0.139
de.smartics.properties.impl.config.domain.key.rtaware 6 0 0 0 100% 0.011
de.smartics.properties.impl.config.cache 11 0 0 0 100% 0.236
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.012
test.de.smartics.properties.spi.config.ds 6 0 0 0 100% 0.067
test.de.smartics.properties.spi.config.security 2 0 0 0 100% 0.009
de.smartics.properties.spi.config.resolve 10 0 0 0 100% 0.111
test.de.smartics.properties.api.config.domain.key 64 0 0 0 100% 0.791
test.de.smartics.properties.impl.config.properties 14 0 0 0 100% 1.071
test.de.smartics.properties.spi.config.proxy 35 0 0 3 91.429% 0.077
de.smartics.properties.api.config.domain 4 0 0 0 100% 0.016
test.de.smartics.properties.spi.config.validation 6 0 0 0 100% 0.018

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

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

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

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

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

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

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

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

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

de.smartics.properties.impl.config.properties

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

de.smartics.properties.spi.config.support

Class Tests Errors Failures Skipped Success Rate Time
PropertiesHelperTest 1 0 0 0 100% 0.004

test.de.smartics.properties.api.config

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

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

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

de.smartics.properties.impl.config.cache

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

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.005
EnvAppKeyListBuilderTest 8 0 0 0 100% 0.007

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

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

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

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

de.smartics.properties.spi.config.resolve

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

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

Class Tests Errors Failures Skipped Success Rate Time
ApplicationIdCompareToTest 3 0 0 0 100% 0.187
ApplicationIdConstructionTest 6 0 0 0 100% 0
ApplicationIdObjectTest 10 0 0 0 100% 0.347
ApplicationIdSerializableTest 1 0 0 0 100% 0.004
ApplicationIdValueOfTest 4 0 0 0 100% 0
ConfigurationKeyCompareToTest 3 0 0 0 100% 0.029
ConfigurationKeyConstructionTest 4 0 0 0 100% 0
ConfigurationKeyObjectTest 10 0 0 0 100% 0.132
ConfigurationKeySerializableTest 1 0 0 0 100% 0.001
EnvironmentIdCompareToTest 3 0 0 0 100% 0.008
EnvironmentIdConstructionTest 4 0 0 0 100% 0
EnvironmentIdObjectTest 10 0 0 0 100% 0.083
EnvironmentIdSerializableTest 1 0 0 0 100% 0
EnvironmentIdValueOfTest 4 0 0 0 100% 0

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

Class Tests Errors Failures Skipped Success Rate Time
ListPropertiesTest 4 0 0 0 100% 0.178
PropertiesConfigurationPropertiesFactoryTest 1 0 0 0 100% 0.535
PropertiesConfigurationPropertiesSerializableTest 1 0 0 0 100% 0.009
PropertiesConfigurationPropertiesTest 8 0 0 0 100% 0.349

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

Class Tests Errors Failures Skipped Success Rate Time
PropertiesSerializableTest 1 0 0 0 100% 0.001
PropertyConfigurationObjectBuilderTest 19 0 0 2 89.474% 0.054
PropertyConfigurationProxyObjectBasicsTest 10 0 0 0 100% 0.012
PropertyConfigurationTest 5 0 0 1 80% 0.01

de.smartics.properties.api.config.domain

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

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

Class Tests Errors Failures Skipped Success Rate Time
PropertyValueRangeEnumValidationTest 2 0 0 0 100% 0.006
PropertyValueRangeValidationTest 4 0 0 0 100% 0.012

Test Cases

[Summary] [Package List] [Test Cases]

DependencyParserTest

theNullValueReturnsTheEmptyList 0.012
aValueWithoutPlaceholdersReturnsTheEmptyList 0.001
aPlaceholderIsFound 0.002
moreThanOnePlaceholderIsFound 0.001

DependencyTrackingCacheTest

storesAMissInTheCache 0.197
storesAHitInTheCache 0.006
removesAValueFromTheCache 0.01
allowsToRemoveAValueFromTheCacheThatIsNotThereGracefully 0
removedDependentPropertiesRoot 0.011
removedDependentPropertiesMiddle 0.002
removedDependentPropertiesLeaf 0.002
removeMulipleRoot 0.002
removeMulipleMiddle 0.002
removeMulipleLeaf 0.002
allowsEmptyPropertiesGracefully 0.002

EnvAppConfigurationKeyFactoryCreateKeyFromStringTest

rejectsNullKeyString 0.002
rejectsEmptyKeyString 0.001
rejectsTooShortKeyString 0
returnsValidKeyForShortestPossibleDefaultKey 0.002
returnsValidKeyForFullKey 0

EnvAppKeyListBuilderTest

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

TenantUserConfigurationKeyFactoryCreateKeyFromStringTest

rejectsNullKeyString 0.001
rejectsEmptyKeyString 0.001
rejectsTooShortKeyString 0
returnsValidKeyForShortestPossibleDefaultKey 0
returnsValidKeyForFullKey 0

TenantUserKeyListBuilderTest

returnsStrictlyDefindedKeys 0.009

PropertiesPropertyCollectionCoverageTest

iteratorDoesNotAllowToRemoveElements 0.001

ResolverTest

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

PropertiesHelperTest

handlesIoProblems 0.004

ApplicationIdCompareToTest

compareToIsSymmetric 0.032
compareToIsTransitive 0.136
compareToIsConsistentToEquals 0.019

ApplicationIdConstructionTest

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

ApplicationIdObjectTest

equalsIsReflexive 0.009
equalsIsSymmetric 0.069
equalsIsTransitive 0.223
equalsIsConsistent 0.013
equalsReturnFalseOnNull 0.001
equalsReturnFalseOnInstanceOfOtherType 0.003
hashCodeIsConsistent 0.002
hashCodeIsConsistentWithEquals 0.013
hashCodeProducesUnequalHashCodesForUnequalInstances 0.012
toStringRunsWithoutFailure 0.002

ApplicationIdSerializableTest

isSerializable 0.004

ApplicationIdValueOfTest

acceptNull 0
canBeCreatedWithOnlyAnArtifactId 0
canBeCreatedWithOnlyAGroupId 0
canBeCreatedWithOnlyAVersion 0

ConfigurationKeyCompareToTest

compareToIsSymmetric 0.004
compareToIsTransitive 0.021
compareToIsConsistentToEquals 0.004

ConfigurationKeyConstructionTest

providesAccessToEnvironmentId 0
providesAccessToApplicationId 0
requiresEnvironmentIdOnConstruction 0
requiresApplicationIdOnConstruction 0

ConfigurationKeyObjectTest

equalsIsReflexive 0.003
equalsIsSymmetric 0.012
equalsIsTransitive 0.082
equalsIsConsistent 0.01
equalsReturnFalseOnNull 0.002
equalsReturnFalseOnInstanceOfOtherType 0.001
hashCodeIsConsistent 0.002
hashCodeIsConsistentWithEquals 0.009
hashCodeProducesUnequalHashCodesForUnequalInstances 0.01
toStringRunsWithoutFailure 0.001

ConfigurationKeySerializableTest

isSerializable 0.001

EnvironmentIdCompareToTest

compareToIsSymmetric 0.001
compareToIsTransitive 0.006
compareToIsConsistentToEquals 0.001

EnvironmentIdConstructionTest

providesAccessToEnvironmentName 0
noRequiredNameOnConstruction 0
nameMustNotBeEmpty 0
nameMustNotContainOnlyWhiteSpaces 0

EnvironmentIdObjectTest

equalsIsReflexive 0.002
equalsIsSymmetric 0.007
equalsIsTransitive 0.049
equalsIsConsistent 0.008
equalsReturnFalseOnNull 0.001
equalsReturnFalseOnInstanceOfOtherType 0.001
hashCodeIsConsistent 0.001
hashCodeIsConsistentWithEquals 0.007
hashCodeProducesUnequalHashCodesForUnequalInstances 0.006
toStringRunsWithoutFailure 0.001

EnvironmentIdSerializableTest

isSerializable 0

EnvironmentIdValueOfTest

acceptNull 0
canBeCreatedWithOnlyAnEnvironmentName 0
canBeCreatedWithEnvironmentNameAndNodeName 0
canBeCreatedWithOnlyANodeName 0

PropertyCompareToTest

compareToIsSymmetric 0.003
compareToIsTransitive 0.014
compareToIsConsistentToEquals 0.004

PropertyConstructionTest

allowsValueOfNull 0
requiresNameToBeNotNull 0
providesAccessToPropertyName 0
providesAccessToPropertyValue 0

PropertyObjectTest

equalsIsReflexive 0.001
equalsIsSymmetric 0.011
equalsIsTransitive 0.074
equalsIsConsistent 0.009
equalsReturnFalseOnNull 0.001
equalsReturnFalseOnInstanceOfOtherType 0.001
hashCodeIsConsistent 0.001
hashCodeIsConsistentWithEquals 0.009
hashCodeProducesUnequalHashCodesForUnequalInstances 0.008
toStringRunsWithoutFailure 0.002

PropertySerializableTest

isSerializable 0.001

UnknownPropertiesTest

allowsAddingProperties 0
providesAStringRepresentation 0
providesAStringRepresentationForEmptyProperties 0

CacheConfigurationPropertiesManagementTest

settingPropertyClearesDependentProperty 0.019

ListPropertiesTest

providesAccessToValidatedStringListProperties 0.165
providesAccessToValidatedIntegerListProperties 0.004
providesAccessToValidatedEnumListProperties 0.004
providesAccessToValidatedUrlListProperties 0.005

PropertiesConfigurationPropertiesFactoryTest

providesAccessToProperties 0.535

PropertiesConfigurationPropertiesSerializableTest

isSerializable 0.009

PropertiesConfigurationPropertiesTest

providesAccessToValidatedStringProperties 0.005
providesAccessToValidatedIntProperties 0.005
providesAccessToValidatedUrlProperties 0.003
recognizesConversionProblems 0.204
recognizesConversionProblemsOnInts 0.049
recognizesInvalidProperties 0.056
recognizesMissingMandatoryProperties 0.015
recognizesSurplusProperties 0.012

DefinitionConfigParserTest

readsEmptyDefinitionFile 0.001
readsTldOnlyDefinitionFile 0.002
readsEnvironmentsOnlyDefinitionFile 0.002
readsNodesOnlyDefinitionFile 0.002
readsGroupsOnlyDefinitionFile 0.001
readsFilesOnlyDefinitionFile 0.004
readsFullDefinitionFile 0.003

DefinitionKeyHelperRegisteredFilesTest

identifiesRegisteredFiles 0

DefinitionKeyHelperRegisteredTest

identifiesRegisteredEnvironments 0
identifiesRegisteredNodes 0.001
identifiesRegisteredGroups 0
identifiesGroupByRegisteredTlds 0

DefinitionKeyHelperTest

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

PropertiesDefinitionContextCoverageTest

toStringFull 0

PropertiesDefinitionContextTest

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

DsPropertyCollectionTest

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

ClassPathLoaderTest

readsPropertyDescriptorsAndDefinitionsFromTheClassPath 0.062
allowsToPassInAClassToDeriveTheRootUrl 0.171

PropertiesSerializableTest

isSerializable 0.001

PropertyConfigurationObjectBuilderTest

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

PropertyConfigurationProxyObjectBasicsTest

equalsIsReflexive 0.003
equalsIsSymmetric 0.001
equalsIsTransitive 0.002
equalsIsConsistent 0.001
equalsReturnFalseOnNull 0
equalsReturnFalseOnInstanceOfOtherType 0.001
hashCodeIsConsistent 0.001
hashCodeIsConsistentWithEquals 0.001
hashCodeProducesUnequalHashCodesForUnequalInstances 0.001
toStringRunsWithoutFailure 0.001

PropertyConfigurationTest

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

PropertyValueResolvingTest

accessingCompositeValue 0.003

PropertyValueSecurityTest

retrievesASecuredProperty 0.007
setsASecuredProperty 0.002

AbstractConfigurationPropertiesSerializableTest

isSerializable 0

PropertyValueRangeEnumValidationTest

setPropertyWithAValidRangeValue 0.003
setPropertyWithAnInvalidRangeValue 0.003

PropertyValueRangeValidationTest

setIntPropertyWithAValidRangeValue 0.003
setIntPropertyWithAnInvalidRangeValue 0.003
setStringPropertyWithAValidRangeValue 0.003
setStringPropertyWithAnInvalidRangeValue 0.003

Failure Details

[Summary] [Package List] [Test Cases]


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