Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
209 0 0 1 99.522% 9.968

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
info.magnolia.config.module 8 0 0 0 100% 0.237
info.magnolia.config.source.yaml 58 0 0 0 100% 3.463
info.magnolia.config.source.jcr 4 0 0 0 100% 1.139
info.magnolia.config.source.yaml.decoration 15 0 0 0 100% 0.509
info.magnolia.config.maputil 8 0 0 0 100% 0.581
info.magnolia.config.resolver 6 0 0 0 100% 3.317
info.magnolia.commands 3 0 0 0 100% 0.025
info.magnolia.config.converters 10 0 0 0 100% 0.048
info.magnolia.config.registry 30 0 0 0 100% 0.034
info.magnolia.config.map2bean 39 0 0 1 97.436% 0.09
info.magnolia.config.source 2 0 0 0 100% 0.014
info.magnolia.config.source.raw 6 0 0 0 100% 0
info.magnolia.config 16 0 0 0 100% 0.501
info.magnolia.config.registry.decoration 4 0 0 0 100% 0.01

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

info.magnolia.config.module

Class Tests Errors Failures Skipped Success Rate Time
ModuleJcrConfigurationSourceTest 1 0 0 0 100% 0.069
ModuleMap2BeanTransformerTest 5 0 0 0 100% 0.165
ModuleYamlConfigurationSourceTest 2 0 0 0 100% 0.003

info.magnolia.config.source.yaml

Class Tests Errors Failures Skipped Success Rate Time
RegexBasedPathToMetadataInferrerTest 11 0 0 0 100% 0.003
YamlReaderTest 17 0 0 0 100% 0.016
YamlDefinitionProviderTest 17 0 0 0 100% 3.392
YamlConfigurationSourceTest 9 0 0 0 100% 0.049
MetadataProcessorTest 1 0 0 0 100% 0.002
YamlConfigurationSourceBuilderTest 2 0 0 0 100% 0.001
WhiteSpaceNormalisingReaderTest 1 0 0 0 100% 0

info.magnolia.config.source.jcr

Class Tests Errors Failures Skipped Success Rate Time
JcrConfigurationSourceTest 4 0 0 0 100% 1.139

info.magnolia.config.source.yaml.decoration

Class Tests Errors Failures Skipped Success Rate Time
FilePathBasedYamlDefinitionDecoratorResolverTest 3 0 0 0 100% 0.008
YamlDefinitionDecoratorTest 12 0 0 0 100% 0.501

info.magnolia.config.maputil

Class Tests Errors Failures Skipped Success Rate Time
ConfigurationMapOverlayTest 3 0 0 0 100% 0.567
ToMapTest 5 0 0 0 100% 0.014

info.magnolia.config.resolver

Class Tests Errors Failures Skipped Success Rate Time
AnnotationProcessingTypeResolverTest 6 0 0 0 100% 3.317

info.magnolia.commands

Class Tests Errors Failures Skipped Success Rate Time
ExportJcrNodeToYamlCommandTest 3 0 0 0 100% 0.025

info.magnolia.config.converters

Class Tests Errors Failures Skipped Success Rate Time
DefinitionRawViewToYamlConverterImplTest 7 0 0 0 100% 0.048
RawDefinitionViewToMapConverterTest 3 0 0 0 100% 0

info.magnolia.config.registry

Class Tests Errors Failures Skipped Success Rate Time
DefinitionProviderBuilderTest 3 0 0 0 100% 0.001
DefinitionQueryImplTest 2 0 0 0 100% 0.002
RegistryTypeNameUtilTest 2 0 0 0 100% 0
RegistryFacadeImplTest 4 0 0 0 100% 0.007
AbstractRegistryTest 13 0 0 0 100% 0.024
RegistryMapTest 6 0 0 0 100% 0

info.magnolia.config.map2bean

Class Tests Errors Failures Skipped Success Rate Time
Map2BeanTransformerTest 39 0 0 1 97.436% 0.09

info.magnolia.config.source

Class Tests Errors Failures Skipped Success Rate Time
AbstractConfigurationSourceBuilderTest 2 0 0 0 100% 0.014

info.magnolia.config.source.raw

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

info.magnolia.config

Class Tests Errors Failures Skipped Success Rate Time
MutableWrapperTest 16 0 0 0 100% 0.501

info.magnolia.config.registry.decoration

Class Tests Errors Failures Skipped Success Rate Time
CachingDefinitionDecoratorTest 3 0 0 0 100% 0.007
DefinitionDecoratorsTest 1 0 0 0 100% 0.003

Test Cases

[Summary] [Package List] [Test Cases]

DefinitionRawViewToYamlConverterImplTest

subBeanWithNamePropertyPresentHandledCorrectly 0.012
definitionProviderViewNullCheck 0.004
convertsSimpleProperty 0.005
convertsNestedClasses 0.004
nestedCollectionsHandledCorrectly 0.005
sameDefinitionProducedAfterJcrToYamlConversion 0.011
convertsCollection 0.006

ModuleJcrConfigurationSourceTest

reload 0.068

RawDefinitionViewToMapConverterTest

handlesPrimitiveCollections 0
handlesSubBeans 0
handlesCollectionProperties 0

DefinitionProviderBuilderTest

buildFromTransformationResultCompatibleDefinitionType 0
buildFromTransformationResultIncompatibleDefinitionType 0
reportsIncompatibleDefinitions 0.001

RegexBasedPathToMetadataInferrerTest

moduleIsFoundFromPattern 0
nameIsFoundFromNamedPattern 0
nameFromPathPattern 0
nameFallsBackToFileName 0
nameAndModuleFromNamedGroups 0.001
throwsExceptionIfPathDoesntMatchPattern 0
nameIsFoundFromNumberedPattern 0
moduleIsFoundFromPatternWithNamedGroup 0.001
nameFromFilenameIfNoPattern 0
javaFreeModulesConventions 0.001
moduleFallsBackToGivenDefault 0

ModuleMap2BeanTransformerTest

handleMissingProperty 0.152
readCollection 0.004
createModuleInstance 0.004
readMapDoesNotSkipBeanWhenIsEnabledReturnsBooleanClass 0.003
readMap 0.001

MutableWrapperTest

avoidsInvokingWrappedObjectsClassConstructorForProxy 0.254
modifyListPropertyElement 0.037
canWrapBeanWithCycles 0.043
mutableWrapperPreservesRuntimeType 0.021
modifyMapPropertyEntry 0.033
stringsAreNotWrapped 0
canWrapProxiedObject 0.007
modificationsArePickedUpByNonGetterSetterMethods 0.011
modifySimpleProperty 0.005
primitivesAreNotWrapped 0
modifyPrimitiveListProperty 0.013
explicitlySetPropertyIsNotAffectedByWrappingMechanism 0.011
equalsWithComplexFieldsModified 0.021
enumsAreNotWrapped 0.001
toStringInvocation 0.01
equalsTakesSourceObjectAndModifiedPropertiesInAccount 0.034

YamlReaderTest

readerGetsClosed 0
tabsCanBeUsedInScalars 0
syntaxQuirks 0.002
loadingListAsRootObjectShouldFail 0.001
includesWithAbsolutePaths 0.001
tabsCantBeUsedToIndent 0.002
mapWithNumberKeys 0.001
canHandleNonBreakingWhiteSpace 0.001
brokenIndentationLeadsToUnderstandableErrorMessages 0.002
singleLineYamlCanBeRead 0
references 0.001
canHandleNonBreakingWhiteSpace2 0.001
basicAttributes 0
selfTestNestedMapGet 0
canReadValueLessProperty 0
supportsAbbreviatedSyntax 0.003
canReadEmptyStringProperty 0

DefinitionRawViewMapWrapperTest

collectionOfNumbers 0
mapOfSimpleTypes 0
simpleValues 0
mapOfComplexTypes 0
collectionOfComplexTypes 0
mapOfSimpleTypesWithNonStringKeys 0

ConfigurationMapOverlayTest

createsMissingMapLayers 0.519
overlaysMapOfMapsAtPath 0.005
overlaysMapOfMapsAtRoot 0

CachingDefinitionDecoratorTest

invalidatesCacheOnDefinitionProviderChange 0.005
cachedDecorationResult 0.001
invalidatesCacheOnDefinitionProviderModification 0.001

DefinitionQueryImplTest

queryByName 0.001
queryByLocation 0.001

YamlDefinitionProviderTest

inheritingMissingDefinitionYieldsInvalidDefinition 0.031
decorationWithOverride 0.031
complexInheritanceWithOverriding 0.05
gracefullyReEvaluatesDefinitionWhenDependencyIsRemoved 1.02
reactsOnIncludedFileChange 1.021
doesNotFailWhenBoundToEmptyFile 1.022
deprecateYAMLDefinition 0.027
deprecateYamlDefinitionWithOnlySinceValue 0.026
overrideListAndMapAndKeepOrder 0.022
definitionInheritanceWithNameAsId 0.022
includeWithOverriding 0.022
deprecateYamlDefinitionWhichInheritsOtherDefinition 0.017
deprecateYamlDefinitionContainsDescriptionWithSpaces 0.016
returnsLastResolvedResultWhenRootDefinitionResourceIsGone 0.009
deprecationInformationRemovedFromMetadata 0.014
simpleOverride 0.021
simpleInheritance 0.021

YamlConfigurationSourceTest

shouldNotRegisterIfPathDoesNotMatch 0.002
registerProviderEvenIfFileCantBeLoaded 0.011
nameComesFromDefAndIsAvailableOnMetadataAsWell 0.001
nameFromConfigurationSourceHasHigherPriorityThanNameFromMetadata 0.001
detectsYamlDefinitionDecoratorUponStart 0.009
definitionDecoratorsRemovedUponWholeDecorationFolderRemoval 0.008
registerProviderWithNullResource 0.002
registersWithInvalidYaml 0.014
transformationResultProblemsAreAggregatedByDefinitionProvider 0.001

ToMapTest

merelyTypeCastsMap 0
producesEmptyMapForNonMapOrCollectionArgument 0
producesMapWithSequentialStringKeysForListWithoutNameProperty 0.011
extractsNameKeysFromElementsOfListOfMaps 0.001
doesNotYieldNPEOnNullInput 0.001

RegistryTypeNameUtilTest

providesHumanReadableRegistryName 0
providesHumanReadablePluralRegistryName 0

ExportJcrNodeToYamlCommandTest

throwsExceptionIfPathIsNull 0.011
checksForRights 0.009
streamClosedCorrectlyEvenThoughExceptionOccurs 0.005

MetadataProcessorTest

emptyMapEntryValueDoesNotThrowNPE 0.002

ModuleYamlConfigurationSourceTest

decorationPattern 0.003
moduleConfigPattern 0

JcrConfigurationSourceTest

sameNameSubNodesDoNotSpoilRawView 0.051
testReloadsOnChange 1.052
testRawViewGeneration 0.028
testRegistersOnStart 0.008

RegistryFacadeImplTest

singleQuery 0.002
byModuleAggregatesFromDifferentRegistries 0.002
providersByType 0.002
providersByConfigurationSourceType 0.001

AbstractRegistryTest

singleQueryFailsOnModuleAndNameMismatch 0.002
singleQuery 0.001
singleQueryByModuleAndPartialName 0.001
singleQueryByModuleAndName 0.001
unregisterDecoratedDefinition 0.004
singleQueryByPartialName 0.001
singleQueryByName 0.001
addDecoratorTargetingNonExistingDefinition 0.002
queryByModuleName 0.001
allowsDefinitionDecorationAndAppliesDecoratorsInOrderOfModuleDependency 0.007
singleQueryFailsIfMultipleMatches 0
validateAlsoDecoratedDefinition 0.002
singleQueryFailsIfNoMatch 0.001

YamlConfigurationSourceBuilderTest

withCustomConstruct 0.001
withCustomMultiConstruct 0

WhiteSpaceNormalisingReaderTest

cleansSpacesButKeepsTabsAndNewLines 0

FilePathBasedYamlDefinitionDecoratorResolverTest

resolvesDecoratorWithCorrectMetadataWhenRegistryUsesModuleAndRelativePathAsReferenceId 0.005
resolvesDecoratorWithCorrectMetadataWhenRegistryUsesOnlyNameAsReferenceId 0.001
decoratedTemplateItemDoesNotEndUpInBlockRegistryDueToMismatchInTargetModule 0.002

Map2BeanTransformerTest

toBeanResolvesSimpleMaps 0.002
toBeanSupportsNullProperties 0.003
toBeanInstantiatesTargetTypeDefinedByTheClassProperty 0
nullPropertyValuesShowWarning 0.002
toBeanResolvesEmptyLists 0.001
emptyNameIsNotForciblySetByMap2Bean 0.001
toBeanResolvesEnums 0.001
toBeanResolvesBeanListsFromMaps 0.002
toBeanResolvesClassPropertyType 0
toBeanSupportsNullClassProperties 0.002
toBeanResolvesBeanLists 0.002
beanSetterInvocationProblemIsTracked 0.002
toBeanResolvesSimpleLists 0.001
toBeanDoesntInvokeGetters 0.03
toBeanSupportsNonTypedMaps 0.002
toBeanSupportsNonTypedLists 0.001
yieldsCorrectCollectionTypes 0.003
toBeanSupportsNullOrEmptyMap 0
typeMismatchShowsWarnings 0.002
initIsCalledAfterBeanIsPopulated 0.001
beanTypeResolutionProblemIsTracked 0
skipped
toBeanResolvesPrimitiveListsAndIgnoresIncompatibleTypes 0.002
invalidClassPropertyValueIsTrackedAsProblem 0.001
toBeanInstantiatesTargetTypeDefinedByTheClassPropertyAndResolvesSubTypeMapping 0.004
toBeanResolvesIterablesOfPrimitives 0.001
toBeanResolvesNamePropertyInBeanMaps 0.002
beanInitialisationProblemIsTracked 0.001
toBeanResolvesBeanMaps 0.002
transformationOfNullInputIsTrackedAsProblem 0
toBeanPreservesOrderingOfBeanMaps 0.002
toBeanResolvesNameProperty 0.001
toBeanResolvesBasicPropertyTypes 0
toBeanCanHandleMapsWithNonStringKeys 0.001
initIsCalledAfterBeanIsMapped 0.003
simpleValueConversionProblemIsTracked 0.002
toBeanResolvesListsAndIgnoresElementsWithIncompatibleType 0.002
toBeanResolvesSubBeans 0.001
unknownPropertiesAreTracked 0.003
toBeanResolvesNamePropertyInBeanListsFromMaps 0.001

AnnotationProcessingTypeResolverTest

packageRestrictionToNonExistingPackage 0.116
packageRestrictionToParentPackage 0.035
noPackageRestrictionPropertyEmpty 1.796
packageRestrictionToFieldAndColumnPackages 0.006
noPackageRestriction 1.36
packageRestrictionToFieldPackage 0.004

DefinitionDecoratorsTest

definitionDecoratorComparisonIsLenientToNonRegisteredModules 0.003

RegistryMapTest

removeAndPutAll 0
canReRegisterDefinitionWithTheSameMetadata 0
canReRegisterDefinitionStub 0
idAlreadyRegistered 0
putAndGet 0
remove 0

AbstractConfigurationSourceBuilderTest

nameOfCorrectlyPluralizes 0.012
nameOfCorrectlyHandlesCommonCapitalizationCases 0.002

YamlDefinitionDecoratorTest

supportsAdditionOfPreviouslyNotPresentSubDefinition 0.261
decoratesRoot 0.019
decoratesAndOverridesListAndMapKeepOrder 0.023
decoratesNamedLists 0.025
decoratesTypeInformation 0.03
decorationProblemsAreAggregated 0.025
decoratesMapWithDigitKeys 0.016
emptyDecoratorIsLoggedAsProblem 0.017
cannotDecorateMapProblemShouldHaveSevereLevel 0.041
decoratesMapMember 0.01
decoratesMapWithArbitraryValueType 0.015
removingDecoratorOfDeletedResourceDoesNotThrowException 0.017

Failure Details

[Summary] [Package List] [Test Cases]


beanTypeResolutionProblemIsTracked
skipped: skipped