Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
208 0 0 1 99.519% 10.19

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.301
info.magnolia.config.source.yaml 58 0 0 0 100% 3.455
info.magnolia.config.source.jcr 4 0 0 0 100% 1.137
info.magnolia.config.source.yaml.decoration 15 0 0 0 100% 0.503
info.magnolia.config.maputil 8 0 0 0 100% 0.429
info.magnolia.config.resolver 6 0 0 0 100% 3.469
info.magnolia.commands 3 0 0 0 100% 0.026
info.magnolia.config.converters 10 0 0 0 100% 0.056
info.magnolia.config.registry 30 0 0 0 100% 0.033
info.magnolia.config.map2bean 38 0 0 1 97.368% 0.088
info.magnolia.config.source 2 0 0 0 100% 0.013
info.magnolia.config.source.raw 6 0 0 0 100% 0.001
info.magnolia.config 16 0 0 0 100% 0.664
info.magnolia.config.registry.decoration 4 0 0 0 100% 0.015

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.075
ModuleMap2BeanTransformerTest 5 0 0 0 100% 0.223
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.017
YamlDefinitionProviderTest 17 0 0 0 100% 3.387
YamlConfigurationSourceTest 9 0 0 0 100% 0.045
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.137

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

info.magnolia.config.maputil

Class Tests Errors Failures Skipped Success Rate Time
ConfigurationMapOverlayTest 3 0 0 0 100% 0.411
ToMapTest 5 0 0 0 100% 0.018

info.magnolia.config.resolver

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

info.magnolia.commands

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

info.magnolia.config.converters

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

info.magnolia.config.map2bean

Class Tests Errors Failures Skipped Success Rate Time
Map2BeanTransformerTest 38 0 0 1 97.368% 0.088

info.magnolia.config.source

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

info.magnolia.config.source.raw

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

info.magnolia.config

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

info.magnolia.config.registry.decoration

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

Test Cases

[Summary] [Package List] [Test Cases]

DefinitionRawViewToYamlConverterImplTest

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

ModuleJcrConfigurationSourceTest

reload 0.074

RawDefinitionViewToMapConverterTest

handlesPrimitiveCollections 0
handlesSubBeans 0
handlesCollectionProperties 0

DefinitionProviderBuilderTest

buildFromTransformationResultCompatibleDefinitionType 0
buildFromTransformationResultIncompatibleDefinitionType 0
reportsIncompatibleDefinitions 0.001

RegexBasedPathToMetadataInferrerTest

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

ModuleMap2BeanTransformerTest

handleMissingProperty 0.027
readCollection 0.002
createModuleInstance 0.005
readMapDoesNotSkipBeanWhenIsEnabledReturnsBooleanClass 0.002
readMap 0

MutableWrapperTest

avoidsInvokingWrappedObjectsClassConstructorForProxy 0.308
modifyListPropertyElement 0.038
canWrapBeanWithCycles 0.043
mutableWrapperPreservesRuntimeType 0.018
modifyMapPropertyEntry 0.029
stringsAreNotWrapped 0
canWrapProxiedObject 0.012
modificationsArePickedUpByNonGetterSetterMethods 0.018
modifySimpleProperty 0.012
primitivesAreNotWrapped 0
modifyPrimitiveListProperty 0.044
explicitlySetPropertyIsNotAffectedByWrappingMechanism 0.025
equalsWithComplexFieldsModified 0.045
enumsAreNotWrapped 0.001
toStringInvocation 0.016
equalsTakesSourceObjectAndModifiedPropertiesInAccount 0.052

YamlReaderTest

readerGetsClosed 0
tabsCanBeUsedInScalars 0
syntaxQuirks 0.001
loadingListAsRootObjectShouldFail 0.002
includesWithAbsolutePaths 0.002
tabsCantBeUsedToIndent 0.002
mapWithNumberKeys 0
canHandleNonBreakingWhiteSpace 0.002
brokenIndentationLeadsToUnderstandableErrorMessages 0.001
singleLineYamlCanBeRead 0
references 0.002
canHandleNonBreakingWhiteSpace2 0
basicAttributes 0.001
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.373
overlaysMapOfMapsAtPath 0.005
overlaysMapOfMapsAtRoot 0

CachingDefinitionDecoratorTest

invalidatesCacheOnDefinitionProviderChange 0.007
cachedDecorationResult 0.001
invalidatesCacheOnDefinitionProviderModification 0.001

DefinitionQueryImplTest

queryByName 0.001
queryByLocation 0

YamlDefinitionProviderTest

inheritingMissingDefinitionYieldsInvalidDefinition 0.027
decorationWithOverride 0.026
complexInheritanceWithOverriding 0.044
gracefullyReEvaluatesDefinitionWhenDependencyIsRemoved 1.016
reactsOnIncludedFileChange 1.017
doesNotFailWhenBoundToEmptyFile 1.016
deprecateYAMLDefinition 0.022
deprecateYamlDefinitionWithOnlySinceValue 0.015
overrideListAndMapAndKeepOrder 0.021
definitionInheritanceWithNameAsId 0.02
includeWithOverriding 0.03
deprecateYamlDefinitionWhichInheritsOtherDefinition 0.033
deprecateYamlDefinitionContainsDescriptionWithSpaces 0.031
returnsLastResolvedResultWhenRootDefinitionResourceIsGone 0.013
deprecationInformationRemovedFromMetadata 0.014
simpleOverride 0.023
simpleInheritance 0.017

YamlConfigurationSourceTest

shouldNotRegisterIfPathDoesNotMatch 0.001
registerProviderEvenIfFileCantBeLoaded 0.01
nameComesFromDefAndIsAvailableOnMetadataAsWell 0
nameFromConfigurationSourceHasHigherPriorityThanNameFromMetadata 0.002
detectsYamlDefinitionDecoratorUponStart 0.008
definitionDecoratorsRemovedUponWholeDecorationFolderRemoval 0.006
registerProviderWithNullResource 0.001
registersWithInvalidYaml 0.014
transformationResultProblemsAreAggregatedByDefinitionProvider 0.001

ToMapTest

merelyTypeCastsMap 0
producesEmptyMapForNonMapOrCollectionArgument 0
producesMapWithSequentialStringKeysForListWithoutNameProperty 0.012
extractsNameKeysFromElementsOfListOfMaps 0.001
doesNotYieldNPEOnNullInput 0.002

RegistryTypeNameUtilTest

providesHumanReadableRegistryName 0
providesHumanReadablePluralRegistryName 0

ExportJcrNodeToYamlCommandTest

throwsExceptionIfPathIsNull 0.012
checksForRights 0.009
streamClosedCorrectlyEvenThoughExceptionOccurs 0.005

MetadataProcessorTest

emptyMapEntryValueDoesNotThrowNPE 0.001

ModuleYamlConfigurationSourceTest

decorationPattern 0.003
moduleConfigPattern 0

JcrConfigurationSourceTest

sameNameSubNodesDoNotSpoilRawView 0.055
testReloadsOnChange 1.051
testRawViewGeneration 0.022
testRegistersOnStart 0.009

RegistryFacadeImplTest

singleQuery 0.003
byModuleAggregatesFromDifferentRegistries 0.003
providersByType 0.001
providersByConfigurationSourceType 0.002

AbstractRegistryTest

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

YamlConfigurationSourceBuilderTest

withCustomConstruct 0.001
withCustomMultiConstruct 0

WhiteSpaceNormalisingReaderTest

cleansSpacesButKeepsTabsAndNewLines 0

FilePathBasedYamlDefinitionDecoratorResolverTest

resolvesDecoratorWithCorrectMetadataWhenRegistryUsesModuleAndRelativePathAsReferenceId 0.004
resolvesDecoratorWithCorrectMetadataWhenRegistryUsesOnlyNameAsReferenceId 0.001
decoratedTemplateItemDoesNotEndUpInBlockRegistryDueToMismatchInTargetModule 0.002

Map2BeanTransformerTest

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

AnnotationProcessingTypeResolverTest

packageRestrictionToNonExistingPackage 0.116
packageRestrictionToParentPackage 0.034
noPackageRestrictionPropertyEmpty 1.826
packageRestrictionToFieldAndColumnPackages 0.008
noPackageRestriction 1.482
packageRestrictionToFieldPackage 0.003

DefinitionDecoratorsTest

definitionDecoratorComparisonIsLenientToNonRegisteredModules 0.005

RegistryMapTest

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

AbstractConfigurationSourceBuilderTest

nameOfCorrectlyPluralizes 0.011
nameOfCorrectlyHandlesCommonCapitalizationCases 0.002

YamlDefinitionDecoratorTest

supportsAdditionOfPreviouslyNotPresentSubDefinition 0.252
decoratesRoot 0.021
decoratesAndOverridesListAndMapKeepOrder 0.024
decoratesNamedLists 0.02
decoratesTypeInformation 0.034
decorationProblemsAreAggregated 0.024
decoratesMapWithDigitKeys 0.017
emptyDecoratorIsLoggedAsProblem 0.016
cannotDecorateMapProblemShouldHaveSevereLevel 0.038
decoratesMapMember 0.012
decoratesMapWithArbitraryValueType 0.014
removingDecoratorOfDeletedResourceDoesNotThrowException 0.015

Failure Details

[Summary] [Package List] [Test Cases]


beanTypeResolutionProblemIsTracked
skipped: skipped