Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.221
info.magnolia.config.source.yaml 58 0 0 0 100% 3.492
info.magnolia.config.source.jcr 4 0 0 0 100% 1.121
info.magnolia.config.source.yaml.decoration 15 0 0 0 100% 0.478
info.magnolia.config.maputil 8 0 0 0 100% 0.365
info.magnolia.config.resolver 6 0 0 0 100% 4.194
info.magnolia.commands 3 0 0 0 100% 0
info.magnolia.config.converters 10 0 0 0 100% 0.057
info.magnolia.config.registry 30 0 0 0 100% 0.002
info.magnolia.config.map2bean 39 0 0 1 97.436% 0.111
info.magnolia.config.source 2 0 0 0 100% 0.01
info.magnolia.config.source.raw 6 0 0 0 100% 0
info.magnolia.config 16 0 0 0 100% 0.771
info.magnolia.config.registry.decoration 4 0 0 0 100% 0.014

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.066
ModuleMap2BeanTransformerTest 5 0 0 0 100% 0.153
ModuleYamlConfigurationSourceTest 2 0 0 0 100% 0.002

info.magnolia.config.source.yaml

Class Tests Errors Failures Skipped Success Rate Time
RegexBasedPathToMetadataInferrerTest 11 0 0 0 100% 0.006
YamlReaderTest 17 0 0 0 100% 0.025
YamlDefinitionProviderTest 17 0 0 0 100% 3.403
YamlConfigurationSourceTest 9 0 0 0 100% 0.056
MetadataProcessorTest 1 0 0 0 100% 0.001
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.121

info.magnolia.config.source.yaml.decoration

Class Tests Errors Failures Skipped Success Rate Time
FilePathBasedYamlDefinitionDecoratorResolverTest 3 0 0 0 100% 0.01
YamlDefinitionDecoratorTest 12 0 0 0 100% 0.468

info.magnolia.config.maputil

Class Tests Errors Failures Skipped Success Rate Time
ConfigurationMapOverlayTest 3 0 0 0 100% 0.355
ToMapTest 5 0 0 0 100% 0.01

info.magnolia.config.resolver

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

info.magnolia.commands

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

info.magnolia.config.converters

Class Tests Errors Failures Skipped Success Rate Time
DefinitionRawViewToYamlConverterImplTest 7 0 0 0 100% 0.057
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
DefinitionQueryImplTest 2 0 0 0 100% 0
RegistryTypeNameUtilTest 2 0 0 0 100% 0
RegistryFacadeImplTest 4 0 0 0 100% 0.001
AbstractRegistryTest 13 0 0 0 100% 0
RegistryMapTest 6 0 0 0 100% 0.001

info.magnolia.config.map2bean

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

info.magnolia.config.source

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

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

info.magnolia.config.registry.decoration

Class Tests Errors Failures Skipped Success Rate Time
CachingDefinitionDecoratorTest 3 0 0 0 100% 0.009
DefinitionDecoratorsTest 1 0 0 0 100% 0.005

Test Cases

[Summary] [Package List] [Test Cases]

DefinitionRawViewToYamlConverterImplTest

subBeanWithNamePropertyPresentHandledCorrectly 0.013
definitionProviderViewNullCheck 0.005
convertsSimpleProperty 0.005
convertsNestedClasses 0.007
nestedCollectionsHandledCorrectly 0.006
sameDefinitionProducedAfterJcrToYamlConversion 0.015
convertsCollection 0.006

ModuleJcrConfigurationSourceTest

reload 0.065

RawDefinitionViewToMapConverterTest

handlesPrimitiveCollections 0
handlesSubBeans 0
handlesCollectionProperties 0

DefinitionProviderBuilderTest

buildFromTransformationResultCompatibleDefinitionType 0
buildFromTransformationResultIncompatibleDefinitionType 0
reportsIncompatibleDefinitions 0

RegexBasedPathToMetadataInferrerTest

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

ModuleMap2BeanTransformerTest

handleMissingProperty 0.141
readCollection 0.003
createModuleInstance 0.004
readMapDoesNotSkipBeanWhenIsEnabledReturnsBooleanClass 0.004
readMap 0

MutableWrapperTest

avoidsInvokingWrappedObjectsClassConstructorForProxy 0.469
modifyListPropertyElement 0.057
canWrapBeanWithCycles 0.064
mutableWrapperPreservesRuntimeType 0.02
modifyMapPropertyEntry 0.021
stringsAreNotWrapped 0
canWrapProxiedObject 0.009
modificationsArePickedUpByNonGetterSetterMethods 0.012
modifySimpleProperty 0.008
primitivesAreNotWrapped 0
modifyPrimitiveListProperty 0.024
explicitlySetPropertyIsNotAffectedByWrappingMechanism 0.011
equalsWithComplexFieldsModified 0.023
enumsAreNotWrapped 0
toStringInvocation 0.012
equalsTakesSourceObjectAndModifiedPropertiesInAccount 0.04

YamlReaderTest

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

DefinitionRawViewMapWrapperTest

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

ConfigurationMapOverlayTest

createsMissingMapLayers 0.307
overlaysMapOfMapsAtPath 0.004
overlaysMapOfMapsAtRoot 0

CachingDefinitionDecoratorTest

invalidatesCacheOnDefinitionProviderChange 0.006
cachedDecorationResult 0.001
invalidatesCacheOnDefinitionProviderModification 0.001

DefinitionQueryImplTest

queryByName 0
queryByLocation 0

YamlDefinitionProviderTest

inheritingMissingDefinitionYieldsInvalidDefinition 0.031
decorationWithOverride 0.033
complexInheritanceWithOverriding 0.051
gracefullyReEvaluatesDefinitionWhenDependencyIsRemoved 1.018
reactsOnIncludedFileChange 1.021
doesNotFailWhenBoundToEmptyFile 1.019
deprecateYAMLDefinition 0.02
deprecateYamlDefinitionWithOnlySinceValue 0.015
overrideListAndMapAndKeepOrder 0.042
definitionInheritanceWithNameAsId 0.021
includeWithOverriding 0.021
deprecateYamlDefinitionWhichInheritsOtherDefinition 0.017
deprecateYamlDefinitionContainsDescriptionWithSpaces 0.013
returnsLastResolvedResultWhenRootDefinitionResourceIsGone 0.014
deprecationInformationRemovedFromMetadata 0.017
simpleOverride 0.026
simpleInheritance 0.023

YamlConfigurationSourceTest

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

ToMapTest

merelyTypeCastsMap 0
producesEmptyMapForNonMapOrCollectionArgument 0
producesMapWithSequentialStringKeysForListWithoutNameProperty 0.007
extractsNameKeysFromElementsOfListOfMaps 0.001
doesNotYieldNPEOnNullInput 0.002

RegistryTypeNameUtilTest

providesHumanReadableRegistryName 0
providesHumanReadablePluralRegistryName 0

ExportJcrNodeToYamlCommandTest

throwsExceptionIfPathIsNull 0
checksForRights 0
streamClosedCorrectlyEvenThoughExceptionOccurs 0

MetadataProcessorTest

emptyMapEntryValueDoesNotThrowNPE 0.001

ModuleYamlConfigurationSourceTest

decorationPattern 0.002
moduleConfigPattern 0

JcrConfigurationSourceTest

sameNameSubNodesDoNotSpoilRawView 0.042
testReloadsOnChange 1.045
testRawViewGeneration 0.027
testRegistersOnStart 0.007

RegistryFacadeImplTest

singleQuery 0
byModuleAggregatesFromDifferentRegistries 0
providersByType 0
providersByConfigurationSourceType 0

AbstractRegistryTest

singleQueryFailsOnModuleAndNameMismatch 0
singleQuery 0
singleQueryByModuleAndPartialName 0
singleQueryByModuleAndName 0
unregisterDecoratedDefinition 0
singleQueryByPartialName 0
singleQueryByName 0
addDecoratorTargetingNonExistingDefinition 0
queryByModuleName 0
allowsDefinitionDecorationAndAppliesDecoratorsInOrderOfModuleDependency 0
singleQueryFailsIfMultipleMatches 0
validateAlsoDecoratedDefinition 0
singleQueryFailsIfNoMatch 0

YamlConfigurationSourceBuilderTest

withCustomConstruct 0.001
withCustomMultiConstruct 0

WhiteSpaceNormalisingReaderTest

cleansSpacesButKeepsTabsAndNewLines 0

FilePathBasedYamlDefinitionDecoratorResolverTest

resolvesDecoratorWithCorrectMetadataWhenRegistryUsesModuleAndRelativePathAsReferenceId 0.005
resolvesDecoratorWithCorrectMetadataWhenRegistryUsesOnlyNameAsReferenceId 0.001
decoratedTemplateItemDoesNotEndUpInBlockRegistryDueToMismatchInTargetModule 0.002

Map2BeanTransformerTest

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

AnnotationProcessingTypeResolverTest

packageRestrictionToNonExistingPackage 0.119
packageRestrictionToParentPackage 0.047
noPackageRestrictionPropertyEmpty 2.061
packageRestrictionToFieldAndColumnPackages 0.004
noPackageRestriction 1.958
packageRestrictionToFieldPackage 0.004

DefinitionDecoratorsTest

definitionDecoratorComparisonIsLenientToNonRegisteredModules 0.004

RegistryMapTest

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

AbstractConfigurationSourceBuilderTest

nameOfCorrectlyPluralizes 0.009
nameOfCorrectlyHandlesCommonCapitalizationCases 0.001

YamlDefinitionDecoratorTest

supportsAdditionOfPreviouslyNotPresentSubDefinition 0.233
decoratesRoot 0.017
decoratesAndOverridesListAndMapKeepOrder 0.021
decoratesNamedLists 0.02
decoratesTypeInformation 0.028
decorationProblemsAreAggregated 0.024
decoratesMapWithDigitKeys 0.02
emptyDecoratorIsLoggedAsProblem 0.018
cannotDecorateMapProblemShouldHaveSevereLevel 0.044
decoratesMapMember 0.011
decoratesMapWithArbitraryValueType 0.013
removingDecoratorOfDeletedResourceDoesNotThrowException 0.017

Failure Details

[Summary] [Package List] [Test Cases]


beanTypeResolutionProblemIsTracked
skipped: skipped