Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
211 0 0 3 98.578% 2.317

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.016
test.de.smartics.properties.spi.config.definition 33 0 0 0 100% 0.017
test.de.smartics.properties.spi.config.properties.support 2 0 0 0 100% 0.201
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.002
de.smartics.properties.spi.config.support 9 0 0 0 100% 0.012
test.de.smartics.properties.api.config 21 0 0 0 100% 0.135
de.smartics.properties.impl.config.cache 11 0 0 0 100% 0.196
test.de.smartics.properties.spi.config.resolve 1 0 0 0 100% 0.003
test.de.smartics.properties.spi.config.ds 6 0 0 0 100% 0.068
de.smartics.properties.spi.config.resolve 10 0 0 0 100% 0.022
test.de.smartics.properties.api.config.domain.key 56 0 0 0 100% 0.815
test.de.smartics.properties.impl.config.properties 14 0 0 0 100% 0.726
de.smartics.properties.api.config.domain 4 0 0 0 100% 0.014
test.de.smartics.properties.spi.config.proxy 35 0 0 3 91.429% 0.074
test.de.smartics.properties.spi.config.validation 6 0 0 0 100% 0.016

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.016

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

Class Tests Errors Failures Skipped Success Rate Time
DefinitionConfigParserTest 7 0 0 0 100% 0.013
DefinitionKeyHelperRegisteredFilesTest 1 0 0 0 100% 0
DefinitionKeyHelperRegisteredTest 4 0 0 0 100% 0
DefinitionKeyHelperTest 14 0 0 0 100% 0.004
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.201

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.002

de.smartics.properties.spi.config.support

Class Tests Errors Failures Skipped Success Rate Time
KeySetBuilderTest 8 0 0 0 100% 0.008
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.001
PropertyObjectTest 10 0 0 0 100% 0.11
PropertySerializableTest 1 0 0 0 100% 0.001
UnknownPropertiesTest 3 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.196

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

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

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

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

de.smartics.properties.spi.config.resolve

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

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

Class Tests Errors Failures Skipped Success Rate Time
ApplicationIdCompareToTest 3 0 0 0 100% 0.194
ApplicationIdConstructionTest 6 0 0 0 100% 0
ApplicationIdObjectTest 10 0 0 0 100% 0.359
ApplicationIdSerializableTest 1 0 0 0 100% 0.004
ConfigurationKeyCompareToTest 3 0 0 0 100% 0.023
ConfigurationKeyConstructionTest 4 0 0 0 100% 0
ConfigurationKeyObjectTest 10 0 0 0 100% 0.143
ConfigurationKeySerializableTest 1 0 0 0 100% 0.001
EnvironmentIdCompareToTest 3 0 0 0 100% 0.01
EnvironmentIdConstructionTest 4 0 0 0 100% 0.001
EnvironmentIdObjectTest 10 0 0 0 100% 0.08
EnvironmentIdSerializableTest 1 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.257
PropertiesConfigurationPropertiesFactoryTest 1 0 0 0 100% 0.428
PropertiesConfigurationPropertiesSerializableTest 1 0 0 0 100% 0.007
PropertiesConfigurationPropertiesTest 8 0 0 0 100% 0.034

de.smartics.properties.api.config.domain

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

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

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

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.01

Test Cases

[Summary] [Package List] [Test Cases]

DependencyParserTest

theNullValueReturnsTheEmptyList 0.01
aValueWithoutPlaceholdersReturnsTheEmptyList 0.001
aPlaceholderIsFound 0.002
moreThanOnePlaceholderIsFound 0.001

DependencyTrackingCacheTest

storesAMissInTheCache 0.17
storesAHitInTheCache 0.005
removesAValueFromTheCache 0.009
allowsToRemoveAValueFromTheCacheThatIsNotThereGracefully 0
removedDependentPropertiesRoot 0.002
removedDependentPropertiesMiddle 0.001
removedDependentPropertiesLeaf 0.001
removeMulipleRoot 0.004
removeMulipleMiddle 0.002
removeMulipleLeaf 0.001
allowsEmptyPropertiesGracefully 0.001

PropertiesPropertyCollectionCoverageTest

iteratorDoesNotAllowToRemoveElements 0.002

ResolverTest

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

KeySetBuilderTest

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

PropertiesHelperTest

handlesIoProblems 0.004

ApplicationIdCompareToTest

compareToIsSymmetric 0.032
compareToIsTransitive 0.141
compareToIsConsistentToEquals 0.021

ApplicationIdConstructionTest

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

ApplicationIdObjectTest

equalsIsReflexive 0.009
equalsIsSymmetric 0.079
equalsIsTransitive 0.222
equalsIsConsistent 0.015
equalsReturnFalseOnNull 0.002
equalsReturnFalseOnInstanceOfOtherType 0.002
hashCodeIsConsistent 0.002
hashCodeIsConsistentWithEquals 0.014
hashCodeProducesUnequalHashCodesForUnequalInstances 0.013
toStringRunsWithoutFailure 0.001

ApplicationIdSerializableTest

isSerializable 0.004

ConfigurationKeyCompareToTest

compareToIsSymmetric 0.003
compareToIsTransitive 0.016
compareToIsConsistentToEquals 0.004

ConfigurationKeyConstructionTest

providesAccessToEnvironmentId 0
providesAccessToApplicationId 0
requiresEnvironmentIdOnConstruction 0
requiresApplicationIdOnConstruction 0

ConfigurationKeyObjectTest

equalsIsReflexive 0.003
equalsIsSymmetric 0.017
equalsIsTransitive 0.088
equalsIsConsistent 0.011
equalsReturnFalseOnNull 0.002
equalsReturnFalseOnInstanceOfOtherType 0.001
hashCodeIsConsistent 0.002
hashCodeIsConsistentWithEquals 0.009
hashCodeProducesUnequalHashCodesForUnequalInstances 0.008
toStringRunsWithoutFailure 0.002

ConfigurationKeySerializableTest

isSerializable 0.001

EnvironmentIdCompareToTest

compareToIsSymmetric 0.001
compareToIsTransitive 0.007
compareToIsConsistentToEquals 0.002

EnvironmentIdConstructionTest

providesAccessToEnvironmentName 0
noRequiredNameOnConstruction 0
nameMustNotBeEmpty 0
nameMustNotContainOnlyWhiteSpaces 0.001

EnvironmentIdObjectTest

equalsIsReflexive 0.001
equalsIsSymmetric 0.009
equalsIsTransitive 0.047
equalsIsConsistent 0.006
equalsReturnFalseOnNull 0.001
equalsReturnFalseOnInstanceOfOtherType 0.001
hashCodeIsConsistent 0.001
hashCodeIsConsistentWithEquals 0.007
hashCodeProducesUnequalHashCodesForUnequalInstances 0.006
toStringRunsWithoutFailure 0.001

EnvironmentIdSerializableTest

isSerializable 0

PropertyCompareToTest

compareToIsSymmetric 0.003
compareToIsTransitive 0.014
compareToIsConsistentToEquals 0.004

PropertyConstructionTest

allowsValueOfNull 0
requiresNameToBeNotNull 0
providesAccessToPropertyName 0.001
providesAccessToPropertyValue 0

PropertyObjectTest

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

PropertySerializableTest

isSerializable 0.001

UnknownPropertiesTest

allowsAddingProperties 0.001
providesAStringRepresentation 0.001
providesAStringRepresentationForEmptyProperties 0

CacheConfigurationPropertiesManagementTest

settingPropertyClearesDependentProperty 0.016

ListPropertiesTest

providesAccessToValidatedStringListProperties 0.241
providesAccessToValidatedIntegerListProperties 0.005
providesAccessToValidatedEnumListProperties 0.005
providesAccessToValidatedUrlListProperties 0.006

PropertiesConfigurationPropertiesFactoryTest

providesAccessToProperties 0.428

PropertiesConfigurationPropertiesSerializableTest

isSerializable 0.007

PropertiesConfigurationPropertiesTest

providesAccessToValidatedStringProperties 0.004
providesAccessToValidatedIntProperties 0.006
providesAccessToValidatedUrlProperties 0.005
recognizesConversionProblems 0.006
recognizesConversionProblemsOnInts 0.003
recognizesInvalidProperties 0.005
recognizesMissingMandatoryProperties 0.003
recognizesSurplusProperties 0.002

DefinitionConfigParserTest

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

DefinitionKeyHelperRegisteredFilesTest

identifiesRegisteredFiles 0

DefinitionKeyHelperRegisteredTest

identifiesRegisteredEnvironments 0
identifiesRegisteredNodes 0
identifiesRegisteredGroups 0
identifiesGroupByRegisteredTlds 0

DefinitionKeyHelperTest

identifiesAnEnvironmentOnly 0
identifiesAnEnvironmentWithoutNode 0
identifiesAnEnvironmentWithNodeButNotApplication 0
identifiesAnEnvironmentWithNodeAndApplicationGroup 0
identifiesAnEnvironmentWithNodeAndApplicationGroupAndArtifact 0.001
identifiesAnEnvironmentWithNodeAndApplicationGroupAndArtifactAndVersion 0
identifiesApplicationGroupAndArtifactAndVersion 0
startingSlashAllowedWithEnvironment 0
startingSlashAllowedWithApplicationOnly 0.001
trailingSlashAllowedWithEnvironment 0
trailingSlashAllowedWithApplicationOnly 0.001
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.001
allowsToIterateOverOneProperty 0.001
allowsToIterateOverProperties 0.001
removingFromTheIteratorIsNotSupported 0
signalsUnderlyingProblemsWithAnIllegalStateException 0.002

ClassPathLoaderTest

readsPropertyDescriptorsAndDefinitionsFromTheClassPath 0.063
allowsToPassInAClassToDeriveTheRootUrl 0.138

PropertiesSerializableTest

isSerializable 0

PropertyConfigurationObjectBuilderTest

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

PropertyConfigurationProxyObjectBasicsTest

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

PropertyConfigurationTest

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

PropertyValueResolvingTest

accessingCompositeValue 0.003

AbstractConfigurationPropertiesSerializableTest

isSerializable 0

PropertyValueRangeEnumValidationTest

setPropertyWithAValidRangeValue 0.004
setPropertyWithAnInvalidRangeValue 0.002

PropertyValueRangeValidationTest

setIntPropertyWithAValidRangeValue 0.004
setIntPropertyWithAnInvalidRangeValue 0.002
setStringPropertyWithAValidRangeValue 0.002
setStringPropertyWithAnInvalidRangeValue 0.002

Failure Details

[Summary] [Package List] [Test Cases]


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