Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
257 0 0 0 100% 1.87

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
de.smartics.properties.spi.core.constraint.jsr303 27 0 0 0 100% 0.093
test.de.smartics.properties.spi.core.metadata.comment 1 0 0 0 100% 0.005
test.de.smartics.properties.api.core.registry 3 0 0 0 100% 0.147
test.de.smartics.properties.spi.core.classpath 10 0 0 0 100% 0.219
test.de.smartics.properties.spi.core.metadata 40 0 0 0 100% 0.02
test.de.smartics.properties.api.core.domain 61 0 0 0 100% 0.887
test.de.smartics.properties.spi.core.constraint.jsr303 2 0 0 0 100% 0.017
test.de.smartics.properties.spi.core.value 20 0 0 0 100% 0
test.de.smartics.properties.api.core.util 13 0 0 0 100% 0.002
de.smartics.properties.spi.core.context 14 0 0 0 100% 0.023
test.de.smartics.properties.api.core.domain.exception 24 0 0 0 100% 0.043
test.de.smartics.properties.spi.core.metadata.projectdoc 3 0 0 0 100% 0.017
test.de.smartics.properties.spi.core.context 3 0 0 0 100% 0.004
de.smartics.properties.spi.core.value 6 0 0 0 100% 0.003
de.smartics.properties.spi.core.convert 6 0 0 0 100% 0.005
test.de.smartics.properties.api.core.app 1 0 0 0 100% 0
test.de.smartics.properties.spi.core.util 10 0 0 0 100% 0.349
test.de.smartics.properties.api.core.context.alias 11 0 0 0 100% 0.036

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

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

Class Tests Errors Failures Skipped Success Rate Time
ConstraintPrettifierJsr303Test 16 0 0 0 100% 0.055
PrettifierHibernateTest 11 0 0 0 100% 0.038

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

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

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

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

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

Class Tests Errors Failures Skipped Success Rate Time
PropertiesFilesLoaderTest 7 0 0 0 100% 0.17
PropertySetClassesLoaderTest 3 0 0 0 100% 0.049

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

Class Tests Errors Failures Skipped Success Rate Time
PropertiesContextCreationTest 5 0 0 0 100% 0.001
PropertiesContextEmptyTest 2 0 0 0 100% 0
PropertiesContextTest 4 0 0 0 100% 0.001
PropertyExpressionSerializableTest 1 0 0 0 100% 0
PropertyExpressionTest 2 0 0 0 100% 0
PropertyKeyCompareToTest 3 0 0 0 100% 0.052
PropertyKeyConstructionTest 5 0 0 0 100% 0.001
PropertyKeyCreateWithQualifiedNameTest 4 0 0 0 100% 0
PropertyKeyObjectTest 10 0 0 0 100% 0.375
PropertyKeySerializableTest 1 0 0 0 100% 0
PropertyKeyTest 4 0 0 0 100% 0.001
PropertyTypeObjectTest 10 0 0 0 100% 0.333
PropertyTypeTest 3 0 0 0 100% 0
PropertyValidationExceptionTest 2 0 0 0 100% 0.123
PropertyValueCommentSerializableTest 1 0 0 0 100% 0
PropertyValueCommentTest 4 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.007
GenericPropertyConstraintTest 1 0 0 0 100% 0.01

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

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

test.de.smartics.properties.api.core.util

Class Tests Errors Failures Skipped Success Rate Time
JavadocCommentHelperHtmlTest 11 0 0 0 100% 0.002
JavadocCommentHelperTextTest 2 0 0 0 100% 0

de.smartics.properties.spi.core.context

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

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

Class Tests Errors Failures Skipped Success Rate Time
DuplicatePropertyDeclarationExceptionSerializableTest 1 0 0 0 100% 0.02
DuplicatePropertyDeclarationExceptionTest 1 0 0 0 100% 0.001
DuplicatePropertyDeclarationsExceptionSerializableTest 1 0 0 0 100% 0.007
DuplicatePropertyDeclarationsExceptionTest 1 0 0 0 100% 0
PropertyDescriptorExceptionTest 10 0 0 0 100% 0.01
PropertyExceptionTest 1 0 0 0 100% 0
PropertyValueConversionExceptionTest 3 0 0 0 100% 0.002
PropertyValueResolveExceptionTest 3 0 0 0 100% 0.001
ReadOnlyPropertyExceptionTest 3 0 0 0 100% 0.002

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

Class Tests Errors Failures Skipped Success Rate Time
ProjectdocMetaDataParserEmpty2Test 1 0 0 0 100% 0.009
ProjectdocMetaDataParserEmptyTest 1 0 0 0 100% 0.004
ProjectdocMetaDataParserFullTest 1 0 0 0 100% 0.004

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

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

de.smartics.properties.spi.core.value

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

de.smartics.properties.spi.core.convert

Class Tests Errors Failures Skipped Success Rate Time
FromStringTypeConverterTest 6 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

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

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

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

Class Tests Errors Failures Skipped Success Rate Time
DuplicateAliasExceptionSerializableTest 1 0 0 0 100% 0.029
DuplicateAliasExceptionTest 1 0 0 0 100% 0
PropertiesAliasMappingSerializableTest 1 0 0 0 100% 0
PropertyAliasMappingTest 7 0 0 0 100% 0.003
UnknownAliasExceptionSerializableTest 1 0 0 0 100% 0.004

Test Cases

[Summary] [Package List] [Test Cases]

ConstraintPrettifierJsr303Test

rejectsNullAnnotations 0.008
acceptsAssertFalse 0.011
acceptsAssertTrue 0.003
acceptsDecimalMax 0.003
acceptsDecimalMin 0.003
acceptsDigits 0.003
acceptsFuture 0.003
acceptsMax 0.003
acceptsMin 0.003
acceptsNotNull 0.002
acceptsNull 0.002
acceptsPast 0.003
acceptsNoFlagPattern 0.003
acceptsMultiFlagPattern 0.001
acceptsSingleFlagPattern 0.001
acceptsSize 0.003

PrettifierHibernateTest

acceptsCreditCardNumber 0.01
acceptsNoFlagEmail 0.003
acceptsMultiFlagEmail 0.001
acceptsSingleFlagEmail 0.001
acceptsLength 0.004
acceptsNotBlank 0.003
acceptsNotEmpty 0.003
acceptsRange 0.003
acceptsSafeHtml 0.004
acceptsScriptAssert 0.003
acceptsUrl 0.003

LocaleFinderCalcLocaleTest

returnsNullIfNoLocaleIsProvided 0.008
returnsNullIfNoLocaleIsProvidedWithPath 0.001
returnsNullIfNoLocaleIsProvidedOnAFileWithNoExtension 0
returnsALanguageLocale 0.002
returnsACountryLocale 0
returnsVariantLocale 0
returnsRecognizedTheLocaleRelevantPartInAFileName 0.001
returnsRecognizedTheLocaleRelevantPartInAFileNameEvenWithoutExtension 0
separatorWithoutLocaleAtEndOfFileName 0
separatorWithLocaleAtEndOfFileName 0

LocaleFinderTest

returnsTheDefaultLocaleIfNoPropertySetIsFound 0.007
returnsTheDefaultLocaleIfOnlyPropertySetsAreFoundWithoutSuffix 0.001
returnsAllLocalesOfAPropertySet 0.001
returnsAllLocalesOfDifferentPropertySetsEvenIfNotEveryLocaleIsSupportedByEveryPropertySet 0.002

FromStringTypeConverterTest

validFromString 0.003
requiresNonNullType 0
requiresTypeWithStaticFromStringMethod 0.001
requiresFromStringMethodToBeStatic 0
requiresFromStringMethodToBeNotVoid 0.001
requiresFromStringMethodToBeNotPrimitive 0

EnumIdTranslatorTest

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

PropertyRootExceptionTest

providesAccessToInformation 0

DuplicateAliasExceptionSerializableTest

isSerializable 0.029

DuplicateAliasExceptionTest

providesAccessToItsProperties 0

PropertiesAliasMappingSerializableTest

isSerializable 0

PropertyAliasMappingTest

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

UnknownAliasExceptionSerializableTest

isSerializable 0.004

DuplicatePropertyDeclarationExceptionSerializableTest

isSerializable 0.02

DuplicatePropertyDeclarationExceptionTest

providesAccessToOffendingDescriptors 0.001

DuplicatePropertyDeclarationsExceptionSerializableTest

isSerializable 0.007

DuplicatePropertyDeclarationsExceptionTest

providesAccessToListOfExceptions 0

PropertyDescriptorExceptionTest

providesAccessToInformation 0.001
doesNotRequireAMessage 0
doesNotRequireARootCause 0
providesHelperToGenerateMetaDataMessage 0.005
providesHelperToGenerateMetaDataMessageWithNonEmptyBuffer 0
providesHelperToGenerateMetaDataMessageWithEmptyBufferAndComment 0.001
providesHelperToGenerateMetaDataMessageWithNonEmptyBufferAndComment 0
providesHelperToGenerateMetaDataMessageWithNonEmptyBufferAndABlankComment 0.001
providesHelperToGenerateMetaDataMessageUsingANonEmptyContext 0.001
providesHelperToGenerateMetaDataMessageUsingAnEmptyBufferAndANonEmptyContext 0.001

PropertyExceptionTest

providesAccessToInformation 0

PropertyValueConversionExceptionTest

providesAccessToInformation 0.001
handlesNonSerializableValues 0.001
handlesNullValues 0

PropertyValueResolveExceptionTest

providesAccessToInformation 0.001
handlesNullValues 0
showsCauseIfItIsAlsoAResolveException 0

ReadOnlyPropertyExceptionTest

providesAccessToInformation 0.001
handlesNonSerializableValues 0
defaultMessageIsProvided 0.001

PropertiesContextCreationTest

requiresHomePageUrl 0
requiresPropertiesReportUrl 0
providesAccessToItsInformation 0
returnsNullIfInformationIsMissing 0.001
removesATrailingSlashFromReportUrl 0

PropertiesContextEmptyTest

returnsNullIfInformationIsMissing 0
returnsNullForReportUrlIfInformationIsMissing 0

PropertiesContextTest

throwsExceptionIfTargetOfReportUrlIsBlank 0
checksForStartingTargetSlashesOnCreationOfReportUrl 0.001
createsReportUrlWithPropertyKeyOfDescriptor 0
createsMetaInfPath 0

PropertyExpressionSerializableTest

isSerializable 0

PropertyExpressionTest

createsANonBlankExpression 0
createsABlankExpression 0

PropertyKeyCompareToTest

compareToIsSymmetric 0.01
compareToIsTransitive 0.034
compareToIsConsistentToEquals 0.008

PropertyKeyConstructionTest

allowsToCreateKeyWithoutAComponentName 0
butTheComponentNameMustNotContainOnlyWhitespaces 0.001
butTheComponentNameMustNotBeEmpty 0
theNameOfTheKeyMustNotBeBlank 0
aValidKeyContainsAnOptionalComponentNameAndANonBlankName 0

PropertyKeyCreateWithQualifiedNameTest

allowsToCreateWithAQualifiedNameConveniently 0
allowsSeparatorAtStart 0
allowsSeparatorAtEnd 0
rejectsBlankQualifiedNames 0

PropertyKeyObjectTest

equalsIsReflexive 0.009
equalsIsSymmetric 0.067
equalsIsTransitive 0.255
equalsIsConsistent 0.014
equalsReturnFalseOnNull 0.001
equalsReturnFalseOnInstanceOfOtherType 0.002
hashCodeIsConsistent 0.002
hashCodeIsConsistentWithEquals 0.013
hashCodeProducesUnequalHashCodesForUnequalInstances 0.01
toStringRunsWithoutFailure 0.002

PropertyKeySerializableTest

isSerializable 0

PropertyKeyTest

providesAccessToThePropertySetName 0
providesAccessToThePropertyName 0
theNameDoesNotContainTheNameOfThePropertySet 0.001
toStringProvidesTheFullyQualifiedNameWhichIncludesTheNameOfThePropertySet 0

PropertyTypeObjectTest

equalsIsReflexive 0.005
equalsIsSymmetric 0.029
equalsIsTransitive 0.233
equalsIsConsistent 0.02
equalsReturnFalseOnNull 0.002
equalsReturnFalseOnInstanceOfOtherType 0.002
hashCodeIsConsistent 0.002
hashCodeIsConsistentWithEquals 0.018
hashCodeProducesUnequalHashCodesForUnequalInstances 0.02
toStringRunsWithoutFailure 0.002

PropertyTypeTest

providesAccessToTypeAndElementType 0
providesSimpleTypeForScalarTypes 0
providesSimpleTypeForListTypes 0

PropertyValidationExceptionTest

allowsToAddSerializableValue 0.122
allowsToAddNonSerializableValueStoredInStringRepresentation 0.001

PropertyValueCommentSerializableTest

isSerializable 0

PropertyValueCommentTest

providesASummaryComment 0
allowsToAddValueCommentsComment 0
toStringOnEmptyInstanceDoesNotFail 0
toStringOnFullInstanceDoesNotFail 0

PropertyDescriptorRegistryEmptyTest

allowsConstructionWithoutInitialization 0.014

PropertyDescriptorRegistryNonEmptyTest

allowsAccessToPropertyDescriptorByStringKey 0.131
allowsAccessToAllPropertyDescriptors 0.002

JavadocCommentHelperHtmlTest

ifFragmentIsBlankTheValueIsReturned 0.001
allowsReferenceToLocalElement 0
allowsFullyQualifiedReference 0
allowsFullyQualifiedReferenceWithLabel 0
allowsMethods 0
allowsMethodsWithLabel 0
allowsMethodsWithArguments 0
allowsMethodsWithArgumentsAndLabel 0.001
noInlineComment 0
allowsMultilineComment 0
allowsMultilineCommentWithLabel 0

JavadocCommentHelperTextTest

allowsMultilineComment 0
allowsMultilineCommentWithLabel 0

PropertiesFilesLoaderTest

allowsNullAsCollectionOfClassPathRoots 0.008
allowsAnEmptyCollectionOfClassPathRoots 0
returnsOnlyPropertiesFiles 0.16
returnsBootPropertiesFile 0.001
returnsNoBootPropertiesFileIfNoneIsProvided 0.001
fetchingBootPropertiesAllowsUrlsToBeNull 0
fetchingBootPropertiesAllowsUrlsToBeEmpty 0

PropertySetClassesLoaderTest

allowsNullAsCollectionOfClassPathRoots 0
allowsAnEmptyCollectionOfClassPathRoots 0
returnsOnlyTypesAnnotatedAsPropertySet 0.049

AbstractPropertConstraintTest

validatesValues 0
detectsInvalidValues 0

GenericPropertyConstraintSerializableTest

isSerializable 0.007

GenericPropertyConstraintTest

allowsValidation 0.01

DeclarationConfigParserTest

parsesConfigurationFromClassPath 0.002
createsAPathToAnExistingXmlDocument 0.001
createsAPathToAnExistingDefaultXmlDocument 0.001

PropertyCommentParserTest

createsAPathToAnExistingXmlDocument 0.005

MetaInfDocumentMetaDataProxySerializableTest

isSerializable 0.001

ProjectdocMetaDataParserEmpty2Test

projectdocInformationMayBeMissing 0.009

ProjectdocMetaDataParserEmptyTest

projectdocInformationMayBeMissing 0.004

ProjectdocMetaDataParserFullTest

parsesEveryProjecdocInformation 0.004

PropertyMetaDataParserConstraintsTest

recognizesConstraints 0

PropertyMetaDataParserDocumentAnnotationsTest

propertyMetaDataAnnotationIsNotRequired 0.009
propertyMetaDataAnnotationProvidesDefaults 0
propertyMetaDataAnnotationAllowsToProvideConfigurationTimeAndUpdateInterval 0

PropertyMetaDataParserListElementsWithConstraintsTest

parsesListWithElementConstraints 0.003

PropertyMetaDataParserListTest

parsesListOfStringsType 0
parsesListOfIntegersType 0
parsesListOPrioritiesType 0
parsesConstraintListOfStrings 0

PropertyMetaDataParserMandatoryTest

recognizesMandatoryProperties 0

PropertyMetaDataParserMetaDataTest

propertyMetaDataAnnotationIsNotRequired 0
propertyMetaDataAnnotationProvidesDefaults 0.001
propertyMetaDataAnnotationAllowsToProvideConfigurationTimeAndUpdateInterval 0
propertyMetaDataAnnotationFromType 0.001

PropertyMetaDataParserNoAnnotationsTest

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

PropertyMetaDataParserPropertyExpressionAnnotationsTest

parsesPropertySetOnType 0
favoursPropertySetOnMethodName 0

PropertyMetaDataParserPropertyKeyAnnotationsTest

parsesPropertySetOnType 0
favoursPropertySetOnMethodName 0

PropertyMetaDataParserPropertySetAnnotationsTest

parsesPropertySetOnType 0
favoursPropertySetOnMethodName 0
allowsToEraseThePropertySetName 0
defaultIsASingleSpace 0

PropertyUtilsCheckPropertySetTypeTest

requiresNonNullType 0
signalsNonPropertySetType 0.001
signalsNonPropertySetTypeIfNotAnInterface 0
recognizesPropertySetType 0

PropertyUtilsIsPropertyMethodTest

requiresNonNullTypeForMethodTest 0
recognizesAnnotatedPropertyDescriptorMethod 0.001
recognizesMethodWithPropertyDescriptorSuffix 0
recognizesMethodWithPropertyKeySuffix 0
recognizesPropertyMethod 0
testPrivateConstructor 0

ClassLoaderUtilsTest

calculatesThePathToTheRoot 0
signalsMissingResourceWithException 0

SerializableMethodDeserializeTest

signalsProblemsIfSerializedFormCannotBeDeserialized 0.294
signalsProblemsIfSerializedFormCannotBeDeserializedWithOneParameter 0.027
signalsProblemsIfSerializedFormCannotBeDeserializedWithTwoParameters 0.027

SerializableMethodSerializableTest

isSerializable 0.001

SerializableMethodTest

allowsNullMethod 0
allowsToAccessWrappedMethod 0
providesAStringRepresentation 0
providesAStringRepresentationForNullMethod 0

CollectionPropertyValueRangeWithArrayTest

providesAStringRepresentation 0
providesAnElementInstanceFromAString 0
signalsRequestOfUnknownElementWithAnException 0
allowsToRetrieveAllValues 0
constructionRequiresANonNullArray 0

CollectionPropertyValueRangeWithNoElementArrayTest

providesAStringRepresentation 0
signalsRequestOfUnknownElementWithAnException 0
allowsToRetrieveAllValues 0

EnumeratedPropertyValueRangeTest

providesAStringRepresentation 0
allowsToRetrieveAllValues 0
providesAnEnumerationElementInstanceFromAString 0
providesAccessToTheEnumerationClass 0

PropertyValueRangeWithEmptyListTest

providesAStringRepresentation 0
signalsRequestOfUnknownElementWithAnException 0
allowsToRetrieveAllValues 0

PropertyValueRangeWithListTest

providesAStringRepresentation 0
providesAnElementInstanceFromAString 0
signalsRequestOfUnknownElementWithAnException 0
allowsToRetrieveAllValues 0
constructionRequiresANonNullList 0