Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
253 0 0 1 99.605% 2.293

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.core.constraint 2 0 0 0 100% 0.216
de.smartics.properties.spi.core.constraint.jsr303 27 0 0 0 100% 0.078
test.de.smartics.properties.spi.core.metadata.comment 1 0 0 0 100% 0.077
test.de.smartics.properties.api.core.registry 3 0 0 0 100% 0.008
test.de.smartics.properties.spi.core.classpath 10 0 0 0 100% 0.117
test.de.smartics.properties.spi.core.metadata 44 0 0 0 100% 0.041
test.de.smartics.properties.api.core.domain 62 0 0 0 100% 0.989
test.de.smartics.properties.spi.core.constraint.jsr303 14 0 0 1 92.857% 0.079
test.de.smartics.properties.spi.core.value 20 0 0 0 100% 0.005
de.smartics.properties.spi.core.context 14 0 0 0 100% 0.034
test.de.smartics.properties.api.core.domain.exception 14 0 0 0 100% 0.258
test.de.smartics.properties.spi.core.metadata.projectdoc 3 0 0 0 100% 0.019
test.de.smartics.properties.spi.core.context 3 0 0 0 100% 0.003
de.smartics.properties.spi.core.value 6 0 0 0 100% 0.005
de.smartics.properties.spi.core.convert 8 0 0 0 100% 0.005
test.de.smartics.properties.api.core.app 1 0 0 0 100% 0.001
test.de.smartics.properties.spi.core.util 10 0 0 0 100% 0.345
test.de.smartics.properties.api.core.context.alias 11 0 0 0 100% 0.013

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

test.de.smartics.properties.spi.core.constraint

Class Tests Errors Failures Skipped Success Rate Time
AbstractPropertConstraintTest 2 0 0 0 100% 0.216

de.smartics.properties.spi.core.constraint.jsr303

Class Tests Errors Failures Skipped Success Rate Time
PrettifierHibernateTest 11 0 0 0 100% 0.058
ConstraintPrettifierJsr303Test 16 0 0 0 100% 0.02

test.de.smartics.properties.spi.core.metadata.comment

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

test.de.smartics.properties.api.core.registry

Class Tests Errors Failures Skipped Success Rate Time
PropertyDescriptorRegistryEmptyTest 1 0 0 0 100% 0
PropertyDescriptorRegistryNonEmptyTest 2 0 0 0 100% 0.008

test.de.smartics.properties.spi.core.classpath

Class Tests Errors Failures Skipped Success Rate Time
PropertiesFilesLoaderTest 7 0 0 0 100% 0.035
PropertySetClassesLoaderTest 3 0 0 0 100% 0.082

test.de.smartics.properties.api.core.domain

Class Tests Errors Failures Skipped Success Rate Time
PropertyTypeObjectTest 10 0 0 0 100% 0.314
PropertyKeySerializableTest 1 0 0 0 100% 0
PropertyKeyConstructionTest 5 0 0 0 100% 0.001
PropertyValueCommentTest 4 0 0 0 100% 0.001
PropertyKeyObjectTest 10 0 0 0 100% 0.615
PropertyExpressionTest 2 0 0 0 100% 0
ConfigMessageBundleTest 1 0 0 0 100% 0.034
PropertiesContextTest 4 0 0 0 100% 0
PropertyKeyCompareToTest 3 0 0 0 100% 0.019
PropertyTypeTest 3 0 0 0 100% 0
PropertyKeyCreateWithQualifiedNameTest 4 0 0 0 100% 0.002
PropertyExpressionSerializableTest 1 0 0 0 100% 0
PropertiesContextCreationTest 5 0 0 0 100% 0.001
PropertyKeyTest 4 0 0 0 100% 0.001
PropertyValueCommentSerializableTest 1 0 0 0 100% 0
PropertyValidationExceptionTest 2 0 0 0 100% 0.001
PropertiesContextEmptyTest 2 0 0 0 100% 0

test.de.smartics.properties.spi.core.constraint.jsr303

Class Tests Errors Failures Skipped Success Rate Time
GenericPropertyConstraintSerializableTest 1 0 0 0 100% 0.027
GenericPropertyConstraintTest 13 0 0 1 92.308% 0.052

test.de.smartics.properties.spi.core.value

Class Tests Errors Failures Skipped Success Rate Time
PropertyValueRangeWithEmptyListTest 3 0 0 0 100% 0
CollectionPropertyValueRangeWithNoElementArrayTest 3 0 0 0 100% 0.002
CollectionPropertyValueRangeWithArrayTest 5 0 0 0 100% 0.001
PropertyValueRangeWithListTest 5 0 0 0 100% 0
EnumeratedPropertyValueRangeTest 4 0 0 0 100% 0.002

de.smartics.properties.spi.core.context

Class Tests Errors Failures Skipped Success Rate Time
LocaleFinderCalcLocaleTest 10 0 0 0 100% 0
LocaleFinderTest 4 0 0 0 100% 0.034

test.de.smartics.properties.api.core.domain.exception

Class Tests Errors Failures Skipped Success Rate Time
DuplicatePropertyDeclarationExceptionTest 1 0 0 0 100% 0.011
PropertyDescriptorExceptionTest 1 0 0 0 100% 0
DuplicatePropertyDeclarationExceptionSerializableTest 1 0 0 0 100% 0.02
ReadOnlyPropertyExceptionTest 2 0 0 0 100% 0.013
PropertyValueConversionExceptionTest 3 0 0 0 100% 0.032
PropertyExceptionTest 1 0 0 0 100% 0
DuplicatePropertyDeclarationsExceptionTest 1 0 0 0 100% 0.1
DuplicatePropertyDeclarationsExceptionSerializableTest 1 0 0 0 100% 0.02
PropertyValueResolveExceptionTest 3 0 0 0 100% 0.062

test.de.smartics.properties.spi.core.metadata.projectdoc

Class Tests Errors Failures Skipped Success Rate Time
ProjectdocMetaDataParserFullTest 1 0 0 0 100% 0.013
ProjectdocMetaDataParserEmpty2Test 1 0 0 0 100% 0.003
ProjectdocMetaDataParserEmptyTest 1 0 0 0 100% 0.003

test.de.smartics.properties.spi.core.context

Class Tests Errors Failures Skipped Success Rate Time
DeclarationConfigParserTest 3 0 0 0 100% 0.003

de.smartics.properties.spi.core.value

Class Tests Errors Failures Skipped Success Rate Time
EnumIdTranslatorTest 6 0 0 0 100% 0.005

de.smartics.properties.spi.core.convert

Class Tests Errors Failures Skipped Success Rate Time
FromStringTypeConverterTest 8 0 0 0 100% 0.005

test.de.smartics.properties.api.core.app

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

test.de.smartics.properties.spi.core.util

Class Tests Errors Failures Skipped Success Rate Time
SerializableMethodSerializableTest 1 0 0 0 100% 0
SerializableMethodTest 4 0 0 0 100% 0
SerializableMethodDeserializeTest 3 0 0 0 100% 0.345
ClassLoaderUtilsTest 2 0 0 0 100% 0

test.de.smartics.properties.api.core.context.alias

Class Tests Errors Failures Skipped Success Rate Time
PropertyAliasMappingTest 7 0 0 0 100% 0.002
DuplicateAliasExceptionTest 1 0 0 0 100% 0.001
DuplicateAliasExceptionSerializableTest 1 0 0 0 100% 0.006
UnknownAliasExceptionSerializableTest 1 0 0 0 100% 0.004
PropertiesAliasMappingSerializableTest 1 0 0 0 100% 0

Test Cases

[Summary] [Package List] [Test Cases]

PropertyAliasMappingTest

requiresNonBlankAliasToBeAdded 0.001
requiresNonBlankTargetToBeAdded 0
allowsToAddAnAlias 0
allowsASecondAliasIfItPointsToTheSameTarget 0
rejectsASecondAliasIfItPointsToAnotherTarget 0
rejectsAccessingUnknownAlias 0
allowsTraversingAliases 0.001

AbstractPropertConstraintTest

validatesValues 0.215
detectsInvalidValues 0.001

MetaInfDocumentMetaDataProxySerializableTest

isSerializable 0.003

PropertyTypeObjectTest

equalsIsReflexive 0
equalsIsSymmetric 0.024
equalsIsTransitive 0.225
equalsIsConsistent 0.023
equalsReturnFalseOnNull 0.003
equalsReturnFalseOnInstanceOfOtherType 0.003
hashCodeIsConsistent 0.002
hashCodeIsConsistentWithEquals 0.017
hashCodeProducesUnequalHashCodesForUnequalInstances 0.015
toStringRunsWithoutFailure 0.002

PropertyMetaDataParserPropertyKeyAnnotationsTest

parsesPropertySetOnType 0
favoursPropertySetOnMethodName 0.001

SerializableMethodSerializableTest

isSerializable 0

PropertyKeySerializableTest

isSerializable 0

PropertyValueRangeWithEmptyListTest

providesAStringRepresentation 0
signalsRequestOfUnknownElementWithAnException 0
allowsToRetrieveAllValues 0

PropertyKeyConstructionTest

allowsToCreateKeyWithoutAComponentName 0
butTheComponentNameMustNotContainOnlyWhitespaces 0
butTheComponentNameMustNotBeEmpty 0
theNameOfTheKeyMustNotBeBlank 0.001
aValidKeyContainsAnOptionalComponentNameAndANonBlankName 0

ProjectdocMetaDataParserFullTest

parsesEveryProjecdocInformation 0.013

SerializableMethodTest

providesAStringRepresentation 0
allowsNullMethod 0
allowsToAccessWrappedMethod 0
providesAStringRepresentationForNullMethod 0

PropertyValueCommentTest

providesASummaryComment 0
allowsToAddValueCommentsComment 0
toStringOnEmptyInstanceDoesNotFail 0.001
toStringOnFullInstanceDoesNotFail 0

DeclarationConfigParserTest

createsAPathToAnExistingXmlDocument 0.001
parsesConfigurationFromClassPath 0.001
createsAPathToAnExistingDefaultXmlDocument 0.001

DuplicateAliasExceptionTest

providesAccessToItsProperties 0.001

ProjectdocMetaDataParserEmpty2Test

projectdocInformationMayBeMissing 0.003

PropertyKeyObjectTest

equalsIsReflexive 0.008
equalsIsSymmetric 0.066
equalsIsTransitive 0.45
equalsIsConsistent 0.029
equalsReturnFalseOnNull 0.003
equalsReturnFalseOnInstanceOfOtherType 0.004
hashCodeIsConsistent 0.005
hashCodeIsConsistentWithEquals 0.025
hashCodeProducesUnequalHashCodesForUnequalInstances 0.023
toStringRunsWithoutFailure 0.002

DuplicatePropertyDeclarationExceptionTest

providesAccessToOffendingDescriptors 0.011

SerializableMethodDeserializeTest

signalsProblemsIfSerializedFormCannotBeDeserialized 0.279
signalsProblemsIfSerializedFormCannotBeDeserializedWithOneParameter 0.032
signalsProblemsIfSerializedFormCannotBeDeserializedWithTwoParameters 0.034

PropertiesFilesLoaderTest

allowsNullAsCollectionOfClassPathRoots 0.001
allowsAnEmptyCollectionOfClassPathRoots 0
returnsOnlyPropertiesFiles 0.031
returnsBootPropertiesFile 0.002
returnsNoBootPropertiesFileIfNoneIsProvided 0.001
fetchingBootPropertiesAllowsUrlsToBeNull 0
fetchingBootPropertiesAllowsUrlsToBeEmpty 0

PropertyExpressionTest

createsANonBlankExpression 0
createsABlankExpression 0

PropertyDescriptorExceptionTest

providesAccessToInformation 0

PropertyMetaDataParserListTest

parsesListOfStringsType 0
parsesListOfIntegersType 0
parsesListOPrioritiesType 0.001
parsesConstraintListOfStrings 0

ConfigMessageBundleTest

signalsNamespaceProblems 0.034

DuplicatePropertyDeclarationExceptionSerializableTest

isSerializable 0.02

PropertiesContextTest

throwsExceptionIfTargetOfReportUrlIsBlank 0
checksForStartingTargetSlashesOnCreationOfReportUrl 0
createsReportUrlWithPropertyKeyOfDescriptor 0
createsMetaInfPath 0

PropertyUtilsCheckPropertySetTypeTest

requiresNonNullType 0
signalsNonPropertySetType 0
signalsNonPropertySetTypeIfNotAnInterface 0.001
recognizesPropertySetType 0

PropertyMetaDataParserMetaDataTest

propertyMetaDataAnnotationIsNotRequired 0
propertyMetaDataAnnotationProvidesDefaults 0.001
propertyMetaDataAnnotationFromType 0.001
propertyMetaDataAnnotationAllowsToProvideConfigurationTimeAndUpdateInterval 0.001

PropertyKeyCompareToTest

compareToIsSymmetric 0.004
compareToIsTransitive 0.012
compareToIsConsistentToEquals 0.003

GenericPropertyConstraintSerializableTest

isSerializable 0.027

ReadOnlyPropertyExceptionTest

providesAccessToInformation 0.002
handlesNonSerializableValues 0.011

PropertyTypeTest

providesAccessToTypeAndElementType 0
providesSimpleTypeForScalarTypes 0
providesSimpleTypeForListTypes 0

EnumIdTranslatorTest

translatesEnumWithoutFromStringMethod 0.002
translatesEnumWithFromStringMethod 0.001
translatesEnumWithFromStringMethodPerDefaultByItsElementName 0
throwsExceptionIfElementIsNotKnownToEnumWithoutFromStringMethod 0.001
throwsExceptionIfElementIsNotKnownToEnumWithFromStringMethod 0
notConfusedByInstanceFromStringMethod 0.001

LocaleFinderCalcLocaleTest

returnsNullIfNoLocaleIsProvided 0
returnsNullIfNoLocaleIsProvidedWithPath 0
returnsNullIfNoLocaleIsProvidedOnAFileWithNoExtension 0
returnsALanguageLocale 0
returnsACountryLocale 0
returnsVariantLocale 0
returnsRecognizedTheLocaleRelevantPartInAFileName 0
returnsRecognizedTheLocaleRelevantPartInAFileNameEvenWithoutExtension 0
separatorWithoutLocaleAtEndOfFileName 0
separatorWithLocaleAtEndOfFileName 0

PropertyValueConversionExceptionTest

providesAccessToInformation 0.011
handlesNonSerializableValues 0.01
handlesNullValues 0.011

PrettifierHibernateTest

acceptsCreditCardNumber 0.023
acceptsNoFlagEmail 0.005
acceptsMultiFlagEmail 0
acceptsSingleFlagEmail 0.001
acceptsLength 0.003
acceptsNotBlank 0.005
acceptsNotEmpty 0.005
acceptsRange 0.007
acceptsSafeHtml 0.003
acceptsScriptAssert 0.003
acceptsUrl 0.003

DuplicateAliasExceptionSerializableTest

isSerializable 0.006

PropertyExceptionTest

providesAccessToInformation 0

CollectionPropertyValueRangeWithNoElementArrayTest

providesAStringRepresentation 0.001
signalsRequestOfUnknownElementWithAnException 0
allowsToRetrieveAllValues 0.001

UnknownAliasExceptionSerializableTest

isSerializable 0.004

PropertyKeyCreateWithQualifiedNameTest

allowsToCreateWithAQualifiedNameConveniently 0
allowsSeparatorAtStart 0.002
allowsSeparatorAtEnd 0
rejectsBlankQualifiedNames 0

PropertyDescriptorRegistryEmptyTest

allowsConstructionWithoutInitialization 0

PropertyExpressionSerializableTest

isSerializable 0

PropertyRootExceptionTest

providesAccessToInformation 0.001

PropertiesContextCreationTest

returnsNullIfInformationIsMissing 0
requiresHomePageUrl 0.001
requiresPropertiesReportUrl 0
providesAccessToItsInformation 0
removesATrailingSlashFromReportUrl 0

PropertyMetaDataParserPropertySetAnnotationsTest

parsesPropertySetOnType 0.01
favoursPropertySetOnMethodName 0
allowsToEraseThePropertySetName 0.001
defaultIsASingleSpace 0

CollectionPropertyValueRangeWithArrayTest

providesAStringRepresentation 0
signalsRequestOfUnknownElementWithAnException 0
allowsToRetrieveAllValues 0
providesAnElementInstanceFromAString 0
constructionRequiresANonNullArray 0.001

PropertyKeyTest

providesAccessToThePropertySetName 0
providesAccessToThePropertyName 0
theNameDoesNotContainTheNameOfThePropertySet 0
toStringProvidesTheFullyQualifiedNameWhichIncludesTheNameOfThePropertySet 0.001

PropertyValueCommentSerializableTest

isSerializable 0

PropertyDescriptorRegistryNonEmptyTest

allowsAccessToPropertyDescriptorByStringKey 0.006
allowsAccessToAllPropertyDescriptors 0.002

PropertyMetaDataParserNoAnnotationsTest

parsesStringPropertiesWithoutAnyAnnotations 0.001
parsesPrimitivePropertiesWithoutAnyAnnotations 0
parsesEnumPropertiesWithoutAnyAnnotations 0.001
removesGetFromPropertiesName 0
allowsMethodToBeNamedGet 0
allowsPropertyToHaveOnlyOneChar 0
doesNotConfuseMethodsStartingWithGetWithPropertyGetter 0

DuplicatePropertyDeclarationsExceptionTest

providesAccessToListOfExceptions 0.1

PropertyMetaDataParserPropertyExpressionAnnotationsTest

parsesPropertySetOnType 0.001
favoursPropertySetOnMethodName 0.002

PropertyMetaDataParserConstraintsTest

recognizesConstraints 0.001

PropertyMetaDataParserMandatoryTest

recognizesMandatoryProperties 0

PropertyMetaDataParserSecuredTest

recognizesSecuredProperties 0.001
recognizesExplicitlySecuredProperties 0.001
recognizesNoDecryptedProperties 0
recognizesNonSecuredProperties 0

ProjectdocMetaDataParserEmptyTest

projectdocInformationMayBeMissing 0.003

PropertyValidationExceptionTest

allowsToAddSerializableValue 0
allowsToAddNonSerializableValueStoredInStringRepresentation 0.001

PropertyCommentParserTest

createsAPathToAnExistingXmlDocument 0.077

PropertiesContextEmptyTest

returnsNullIfInformationIsMissing 0
returnsNullForReportUrlIfInformationIsMissing 0

PropertyMetaDataParserDocumentAnnotationsTest

propertyMetaDataAnnotationIsNotRequired 0.007
propertyMetaDataAnnotationProvidesDefaults 0.001
propertyMetaDataAnnotationAllowsMultipleValues 0.001

FromStringTypeConverterTest

validFromString 0.005
requiresNonNullType 0
requiresTypeWithStaticFromStringMethod 0
requiresFromStringMethodToBeStatic 0
requiresFromStringMethodToBeNotVoid 0
requiresFromStringMethodToBeNotPrimitive 0
validValueOfOfEnum 0
invalidValueOfOfEnum 0

ConstraintPrettifierJsr303Test

rejectsNullAnnotations 0
acceptsAssertFalse 0
acceptsAssertTrue 0
acceptsDecimalMax 0
acceptsDecimalMin 0
acceptsDigits 0.003
acceptsFuture 0.003
acceptsMax 0.001
acceptsMin 0.001
acceptsNotNull 0.001
acceptsNull 0.004
acceptsPast 0.003
acceptsNoFlagPattern 0.001
acceptsMultiFlagPattern 0.001
acceptsSingleFlagPattern 0.001
acceptsSize 0.001

GenericPropertyConstraintTest

allowsValidation 0.045
allowsStringValidationWithSize 0.002
allowsByteArrayValidationWithSize 0.001
allowsShortArrayValidationWithSize 0
short[] not supported by Bean Validation.
allowsIntArrayValidationWithSize 0.001
allowsIntegerArrayValidationWithSize 0.001
allowsCharArrayValidationWithSize 0
allowsLongArrayValidationWithSize 0.001
allowsFloatArrayValidationWithSize 0
allowsDoubleArrayValidationWithSize 0.001
allowsBooleanArrayValidationWithSize 0
allowsObjectArrayValidationWithSize 0
allowsExceptionArrayValidationWithSize 0

DuplicatePropertyDeclarationsExceptionSerializableTest

isSerializable 0.02

ClassLoaderUtilsTest

calculatesThePathToTheRoot 0
signalsMissingResourceWithException 0

PropertyValueRangeWithListTest

providesAStringRepresentation 0
signalsRequestOfUnknownElementWithAnException 0
allowsToRetrieveAllValues 0
providesAnElementInstanceFromAString 0
constructionRequiresANonNullList 0

PropertyValueResolveExceptionTest

providesAccessToInformation 0.007
handlesNullValues 0.007
showsCauseIfItIsAlsoAResolveException 0.048

PropertiesAliasMappingSerializableTest

isSerializable 0

PropertyMetaDataParserListElementsWithConstraintsTest

parsesListWithElementConstraints 0.002

EnumeratedPropertyValueRangeTest

providesAStringRepresentation 0.001
allowsToRetrieveAllValues 0
providesAnEnumerationElementInstanceFromAString 0.001
providesAccessToTheEnumerationClass 0

PropertySetClassesLoaderTest

allowsNullAsCollectionOfClassPathRoots 0
allowsAnEmptyCollectionOfClassPathRoots 0
returnsOnlyTypesAnnotatedAsPropertySet 0.082

PropertyUtilsIsPropertyMethodTest

requiresNonNullTypeForMethodTest 0
recognizesAnnotatedPropertyDescriptorMethod 0
recognizesMethodWithPropertyDescriptorSuffix 0
recognizesMethodWithPropertyKeySuffix 0
recognizesPropertyMethod 0
testPrivateConstructor 0.002

LocaleFinderTest

returnsTheDefaultLocaleIfNoPropertySetIsFound 0.023
returnsTheDefaultLocaleIfOnlyPropertySetsAreFoundWithoutSuffix 0.002
returnsAllLocalesOfAPropertySet 0.009
returnsAllLocalesOfDifferentPropertySetsEvenIfNotEveryLocaleIsSupportedByEveryPropertySet 0

Failure Details

[Summary] [Package List] [Test Cases]


allowsShortArrayValidationWithSize
skipped: short[] not supported by Bean Validation.