Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.242
info.magnolia.config.source.yaml 58 0 0 0 100% 3.349
info.magnolia.config.source.jcr 4 0 0 0 100% 1.123
info.magnolia.config.source.yaml.decoration 15 0 0 0 100% 0.441
info.magnolia.config.maputil 8 0 0 0 100% 0.352
info.magnolia.config.resolver 6 0 0 0 100% 3.09
info.magnolia.commands 3 0 0 0 100% 0.021
info.magnolia.config.converters 10 0 0 0 100% 0.043
info.magnolia.config.registry 30 0 0 0 100% 0.035
info.magnolia.config.map2bean 38 0 0 1 97.368% 0.084
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.519
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.068
ModuleMap2BeanTransformerTest 5 0 0 0 100% 0.171
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.004
YamlReaderTest 17 0 0 0 100% 0.017
YamlDefinitionProviderTest 17 0 0 0 100% 3.286
YamlConfigurationSourceTest 9 0 0 0 100% 0.04
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.123

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

info.magnolia.config.maputil

Class Tests Errors Failures Skipped Success Rate Time
ConfigurationMapOverlayTest 3 0 0 0 100% 0.335
ToMapTest 5 0 0 0 100% 0.017

info.magnolia.config.resolver

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

info.magnolia.commands

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

info.magnolia.config.converters

Class Tests Errors Failures Skipped Success Rate Time
DefinitionRawViewToYamlConverterImplTest 7 0 0 0 100% 0.043
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
RegistryTypeNameUtilTest 2 0 0 0 100% 0
RegistryFacadeImplTest 4 0 0 0 100% 0.009
AbstractRegistryTest 13 0 0 0 100% 0.024
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.084

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

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.011
definitionProviderViewNullCheck 0.004
convertsSimpleProperty 0.004
convertsNestedClasses 0.004
nestedCollectionsHandledCorrectly 0.005
sameDefinitionProducedAfterJcrToYamlConversion 0.01
convertsCollection 0.004

ModuleJcrConfigurationSourceTest

reload 0.067

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

ModuleMap2BeanTransformerTest

handleMissingProperty 0.026
readCollection 0.002
createModuleInstance 0.004
readMapDoesNotSkipBeanWhenIsEnabledReturnsBooleanClass 0.003
readMap 0

MutableWrapperTest

avoidsInvokingWrappedObjectsClassConstructorForProxy 0.268
modifyListPropertyElement 0.033
canWrapBeanWithCycles 0.043
mutableWrapperPreservesRuntimeType 0.019
modifyMapPropertyEntry 0.023
stringsAreNotWrapped 0
canWrapProxiedObject 0.009
modificationsArePickedUpByNonGetterSetterMethods 0.012
modifySimpleProperty 0.008
primitivesAreNotWrapped 0
modifyPrimitiveListProperty 0.014
explicitlySetPropertyIsNotAffectedByWrappingMechanism 0.015
equalsWithComplexFieldsModified 0.031
enumsAreNotWrapped 0
toStringInvocation 0.01
equalsTakesSourceObjectAndModifiedPropertiesInAccount 0.034

YamlReaderTest

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

CachingDefinitionDecoratorTest

invalidatesCacheOnDefinitionProviderChange 0.005
cachedDecorationResult 0.001
invalidatesCacheOnDefinitionProviderModification 0

DefinitionQueryImplTest

queryByName 0
queryByLocation 0

YamlDefinitionProviderTest

inheritingMissingDefinitionYieldsInvalidDefinition 0.022
decorationWithOverride 0.023
complexInheritanceWithOverriding 0.036
gracefullyReEvaluatesDefinitionWhenDependencyIsRemoved 1.013
reactsOnIncludedFileChange 1.014
doesNotFailWhenBoundToEmptyFile 1.011
deprecateYAMLDefinition 0.017
deprecateYamlDefinitionWithOnlySinceValue 0.012
overrideListAndMapAndKeepOrder 0.021
definitionInheritanceWithNameAsId 0.016
includeWithOverriding 0.018
deprecateYamlDefinitionWhichInheritsOtherDefinition 0.022
deprecateYamlDefinitionContainsDescriptionWithSpaces 0.01
returnsLastResolvedResultWhenRootDefinitionResourceIsGone 0.007
deprecationInformationRemovedFromMetadata 0.013
simpleOverride 0.015
simpleInheritance 0.014

YamlConfigurationSourceTest

shouldNotRegisterIfPathDoesNotMatch 0.001
registerProviderEvenIfFileCantBeLoaded 0.008
nameComesFromDefAndIsAvailableOnMetadataAsWell 0.001
nameFromConfigurationSourceHasHigherPriorityThanNameFromMetadata 0
detectsYamlDefinitionDecoratorUponStart 0.008
definitionDecoratorsRemovedUponWholeDecorationFolderRemoval 0.007
registerProviderWithNullResource 0.001
registersWithInvalidYaml 0.012
transformationResultProblemsAreAggregatedByDefinitionProvider 0.001

ToMapTest

merelyTypeCastsMap 0
producesEmptyMapForNonMapOrCollectionArgument 0
producesMapWithSequentialStringKeysForListWithoutNameProperty 0.012
extractsNameKeysFromElementsOfListOfMaps 0.002
doesNotYieldNPEOnNullInput 0.002

RegistryTypeNameUtilTest

providesHumanReadableRegistryName 0
providesHumanReadablePluralRegistryName 0

ExportJcrNodeToYamlCommandTest

throwsExceptionIfPathIsNull 0.01
checksForRights 0.007
streamClosedCorrectlyEvenThoughExceptionOccurs 0.004

MetadataProcessorTest

emptyMapEntryValueDoesNotThrowNPE 0.001

ModuleYamlConfigurationSourceTest

decorationPattern 0.002
moduleConfigPattern 0

JcrConfigurationSourceTest

sameNameSubNodesDoNotSpoilRawView 0.045
testReloadsOnChange 1.048
testRawViewGeneration 0.022
testRegistersOnStart 0.008

RegistryFacadeImplTest

singleQuery 0.003
byModuleAggregatesFromDifferentRegistries 0.002
providersByType 0.002
providersByConfigurationSourceType 0.002

AbstractRegistryTest

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

YamlConfigurationSourceBuilderTest

withCustomConstruct 0
withCustomMultiConstruct 0

WhiteSpaceNormalisingReaderTest

cleansSpacesButKeepsTabsAndNewLines 0

FilePathBasedYamlDefinitionDecoratorResolverTest

resolvesDecoratorWithCorrectMetadataWhenRegistryUsesModuleAndRelativePathAsReferenceId 0.005
resolvesDecoratorWithCorrectMetadataWhenRegistryUsesOnlyNameAsReferenceId 0.001
decoratedTemplateItemDoesNotEndUpInBlockRegistryDueToMismatchInTargetModule 0.002

Map2BeanTransformerTest

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

AnnotationProcessingTypeResolverTest

packageRestrictionToNonExistingPackage 0.096
packageRestrictionToParentPackage 0.027
noPackageRestrictionPropertyEmpty 1.667
packageRestrictionToFieldAndColumnPackages 0.004
noPackageRestriction 1.292
packageRestrictionToFieldPackage 0.003

DefinitionDecoratorsTest

definitionDecoratorComparisonIsLenientToNonRegisteredModules 0.003

RegistryMapTest

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

AbstractConfigurationSourceBuilderTest

nameOfCorrectlyPluralizes 0.008
nameOfCorrectlyHandlesCommonCapitalizationCases 0.001

YamlDefinitionDecoratorTest

supportsAdditionOfPreviouslyNotPresentSubDefinition 0.236
decoratesRoot 0.017
decoratesAndOverridesListAndMapKeepOrder 0.018
decoratesNamedLists 0.018
decoratesTypeInformation 0.023
decorationProblemsAreAggregated 0.019
decoratesMapWithDigitKeys 0.018
emptyDecoratorIsLoggedAsProblem 0.014
cannotDecorateMapProblemShouldHaveSevereLevel 0.032
decoratesMapMember 0.009
decoratesMapWithArbitraryValueType 0.011
removingDecoratorOfDeletedResourceDoesNotThrowException 0.012

Failure Details

[Summary] [Package List] [Test Cases]


beanTypeResolutionProblemIsTracked
skipped: skipped