Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.291
info.magnolia.config.source.yaml 58 0 0 0 100% 3.492
info.magnolia.config.source.jcr 4 0 0 0 100% 1.183
info.magnolia.config.source.yaml.decoration 15 0 0 0 100% 0.565
info.magnolia.config.maputil 8 0 0 0 100% 0.64
info.magnolia.config.resolver 6 0 0 0 100% 4.448
info.magnolia.commands 3 0 0 0 100% 0.026
info.magnolia.config.converters 10 0 0 0 100% 0.022
info.magnolia.config.registry 30 0 0 0 100% 0.05
info.magnolia.config.map2bean 39 0 0 1 97.436% 0.138
info.magnolia.config.source 2 0 0 0 100% 0.018
info.magnolia.config.source.raw 6 0 0 0 100% 0
info.magnolia.config 16 0 0 0 100% 0.698
info.magnolia.config.registry.decoration 4 0 0 0 100% 0.012

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.083
ModuleMap2BeanTransformerTest 5 0 0 0 100% 0.206
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.004
YamlReaderTest 17 0 0 0 100% 0.001
YamlDefinitionProviderTest 17 0 0 0 100% 3.399
YamlConfigurationSourceTest 9 0 0 0 100% 0.086
MetadataProcessorTest 1 0 0 0 100% 0.002
YamlConfigurationSourceBuilderTest 2 0 0 0 100% 0
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.183

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

info.magnolia.config.maputil

Class Tests Errors Failures Skipped Success Rate Time
ConfigurationMapOverlayTest 3 0 0 0 100% 0.617
ToMapTest 5 0 0 0 100% 0.023

info.magnolia.config.resolver

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

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.021
RawDefinitionViewToMapConverterTest 3 0 0 0 100% 0.001

info.magnolia.config.registry

Class Tests Errors Failures Skipped Success Rate Time
DefinitionProviderBuilderTest 3 0 0 0 100% 0.005
DefinitionQueryImplTest 2 0 0 0 100% 0
RegistryTypeNameUtilTest 2 0 0 0 100% 0
RegistryFacadeImplTest 4 0 0 0 100% 0.013
AbstractRegistryTest 13 0 0 0 100% 0.031
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.138

info.magnolia.config.source

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

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

info.magnolia.config.registry.decoration

Class Tests Errors Failures Skipped Success Rate Time
CachingDefinitionDecoratorTest 3 0 0 0 100% 0.008
DefinitionDecoratorsTest 1 0 0 0 100% 0.004

Test Cases

[Summary] [Package List] [Test Cases]

DefinitionRawViewToYamlConverterImplTest

subBeanWithNamePropertyPresentHandledCorrectly 0
definitionProviderViewNullCheck 0
convertsSimpleProperty 0
convertsNestedClasses 0
nestedCollectionsHandledCorrectly 0.002
sameDefinitionProducedAfterJcrToYamlConversion 0.014
convertsCollection 0.005

ModuleJcrConfigurationSourceTest

reload 0.082

RawDefinitionViewToMapConverterTest

handlesPrimitiveCollections 0
handlesSubBeans 0
handlesCollectionProperties 0

DefinitionProviderBuilderTest

buildFromTransformationResultCompatibleDefinitionType 0
buildFromTransformationResultIncompatibleDefinitionType 0.002
reportsIncompatibleDefinitions 0.002

RegexBasedPathToMetadataInferrerTest

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

ModuleMap2BeanTransformerTest

handleMissingProperty 0.19
readCollection 0.005
createModuleInstance 0.005
readMapDoesNotSkipBeanWhenIsEnabledReturnsBooleanClass 0.005
readMap 0.001

MutableWrapperTest

avoidsInvokingWrappedObjectsClassConstructorForProxy 0.345
modifyListPropertyElement 0.051
canWrapBeanWithCycles 0.054
mutableWrapperPreservesRuntimeType 0.025
modifyMapPropertyEntry 0.037
stringsAreNotWrapped 0
canWrapProxiedObject 0.013
modificationsArePickedUpByNonGetterSetterMethods 0.03
modifySimpleProperty 0.01
primitivesAreNotWrapped 0
modifyPrimitiveListProperty 0.017
explicitlySetPropertyIsNotAffectedByWrappingMechanism 0.014
equalsWithComplexFieldsModified 0.031
enumsAreNotWrapped 0
toStringInvocation 0.016
equalsTakesSourceObjectAndModifiedPropertiesInAccount 0.054

YamlReaderTest

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

DefinitionRawViewMapWrapperTest

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

ConfigurationMapOverlayTest

createsMissingMapLayers 0.546
overlaysMapOfMapsAtPath 0.007
overlaysMapOfMapsAtRoot 0

CachingDefinitionDecoratorTest

invalidatesCacheOnDefinitionProviderChange 0.005
cachedDecorationResult 0.002
invalidatesCacheOnDefinitionProviderModification 0.001

DefinitionQueryImplTest

queryByName 0
queryByLocation 0

YamlDefinitionProviderTest

inheritingMissingDefinitionYieldsInvalidDefinition 0.046
decorationWithOverride 0.019
complexInheritanceWithOverriding 0.064
gracefullyReEvaluatesDefinitionWhenDependencyIsRemoved 1.021
reactsOnIncludedFileChange 1.021
doesNotFailWhenBoundToEmptyFile 1.02
deprecateYAMLDefinition 0.02
deprecateYamlDefinitionWithOnlySinceValue 0.034
overrideListAndMapAndKeepOrder 0.011
definitionInheritanceWithNameAsId 0.039
includeWithOverriding 0.003
deprecateYamlDefinitionWhichInheritsOtherDefinition 0.012
deprecateYamlDefinitionContainsDescriptionWithSpaces 0.035
returnsLastResolvedResultWhenRootDefinitionResourceIsGone 0.001
deprecationInformationRemovedFromMetadata 0.002
simpleOverride 0.013
simpleInheritance 0.036

YamlConfigurationSourceTest

shouldNotRegisterIfPathDoesNotMatch 0.001
registerProviderEvenIfFileCantBeLoaded 0.038
nameComesFromDefAndIsAvailableOnMetadataAsWell 0.001
nameFromConfigurationSourceHasHigherPriorityThanNameFromMetadata 0
detectsYamlDefinitionDecoratorUponStart 0.001
definitionDecoratorsRemovedUponWholeDecorationFolderRemoval 0.001
registerProviderWithNullResource 0
registersWithInvalidYaml 0.042
transformationResultProblemsAreAggregatedByDefinitionProvider 0.002

ToMapTest

merelyTypeCastsMap 0
producesEmptyMapForNonMapOrCollectionArgument 0.001
producesMapWithSequentialStringKeysForListWithoutNameProperty 0.017
extractsNameKeysFromElementsOfListOfMaps 0.003
doesNotYieldNPEOnNullInput 0.002

RegistryTypeNameUtilTest

providesHumanReadableRegistryName 0
providesHumanReadablePluralRegistryName 0

ExportJcrNodeToYamlCommandTest

throwsExceptionIfPathIsNull 0.01
checksForRights 0.009
streamClosedCorrectlyEvenThoughExceptionOccurs 0.006

MetadataProcessorTest

emptyMapEntryValueDoesNotThrowNPE 0

ModuleYamlConfigurationSourceTest

decorationPattern 0.001
moduleConfigPattern 0.001

JcrConfigurationSourceTest

sameNameSubNodesDoNotSpoilRawView 0.061
testReloadsOnChange 1.08
testRawViewGeneration 0.03
testRegistersOnStart 0.011

RegistryFacadeImplTest

singleQuery 0.004
byModuleAggregatesFromDifferentRegistries 0.003
providersByType 0.002
providersByConfigurationSourceType 0.004

AbstractRegistryTest

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

YamlConfigurationSourceBuilderTest

withCustomConstruct 0
withCustomMultiConstruct 0

WhiteSpaceNormalisingReaderTest

cleansSpacesButKeepsTabsAndNewLines 0

FilePathBasedYamlDefinitionDecoratorResolverTest

resolvesDecoratorWithCorrectMetadataWhenRegistryUsesModuleAndRelativePathAsReferenceId 0.006
resolvesDecoratorWithCorrectMetadataWhenRegistryUsesOnlyNameAsReferenceId 0.001
decoratedTemplateItemDoesNotEndUpInBlockRegistryDueToMismatchInTargetModule 0.003

Map2BeanTransformerTest

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

AnnotationProcessingTypeResolverTest

packageRestrictionToNonExistingPackage 0.162
packageRestrictionToParentPackage 0.041
noPackageRestrictionPropertyEmpty 2.686
packageRestrictionToFieldAndColumnPackages 0.008
noPackageRestriction 1.546
packageRestrictionToFieldPackage 0.004

DefinitionDecoratorsTest

definitionDecoratorComparisonIsLenientToNonRegisteredModules 0.003

RegistryMapTest

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

AbstractConfigurationSourceBuilderTest

nameOfCorrectlyPluralizes 0.016
nameOfCorrectlyHandlesCommonCapitalizationCases 0.002

YamlDefinitionDecoratorTest

supportsAdditionOfPreviouslyNotPresentSubDefinition 0.284
decoratesRoot 0.024
decoratesAndOverridesListAndMapKeepOrder 0.027
decoratesNamedLists 0.022
decoratesTypeInformation 0.031
decorationProblemsAreAggregated 0.031
decoratesMapWithDigitKeys 0.013
emptyDecoratorIsLoggedAsProblem 0.036
cannotDecorateMapProblemShouldHaveSevereLevel 0.059
decoratesMapMember 0.001
decoratesMapWithArbitraryValueType 0.002
removingDecoratorOfDeletedResourceDoesNotThrowException 0.023

Failure Details

[Summary] [Package List] [Test Cases]


beanTypeResolutionProblemIsTracked
skipped: skipped