Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
73 0 0 3 95.89% 1.768

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.source.raw 5 0 0 0 100% 0.086
info.magnolia.config.source 2 0 0 0 100% 0.032
info.magnolia.config.source.jcr 2 0 0 0 100% 1.139
info.magnolia.config.map2bean 21 0 0 3 85.714% 0.191
info.magnolia.config.registry 9 0 0 0 100% 0.257
info.magnolia.config.source.yaml 34 0 0 0 100% 0.063

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

info.magnolia.config.source.raw

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

info.magnolia.config.source

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

info.magnolia.config.source.jcr

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

info.magnolia.config.map2bean

Class Tests Errors Failures Skipped Success Rate Time
Map2BeanTransformerTest 21 0 0 3 85.714% 0.191

info.magnolia.config.registry

Class Tests Errors Failures Skipped Success Rate Time
AbstractRegistryTest 7 0 0 0 100% 0.238
RegistryFacadeImplTest 2 0 0 0 100% 0.019

info.magnolia.config.source.yaml

Class Tests Errors Failures Skipped Success Rate Time
RegexBasedPathToMetadataInferrerTest 11 0 0 0 100% 0.008
SpaceCleaningReaderTest 1 0 0 0 100% 0.001
YamlConfigurationSourceTest 6 0 0 0 100% 0.03
YamlReaderTest 16 0 0 0 100% 0.024

Test Cases

[Summary] [Package List] [Test Cases]

Map2BeanTransformerTest

toBeanResolvesSimpleMaps 0.097
toBeanSupportsNullProperties 0.004
toBeanInstantiatesTargetTypeDefinedByTheClassProperty 0.008
toBeanResolvesEmptyLists 0.003
toBeanResolvesBeanListsFromMaps 0
node2Bean provides such convenience of deserializing lists out of maps; map2Bean does not support this at the moment.
toBeanResolvesClassPropertyType 0.002
toBeanSupportsNullClassProperties 0
currently fails on null class properties (e.g. modelClass)
toBeanResolvesBeanLists 0.01
toBeanResolvesSimpleLists 0.003
toBeanSupportsNonTypedMaps 0.013
toBeanSupportsNonTypedLists 0.005
toBeanSupportsNullOrEmptyMap 0.003
unknownPropertiesAreIgnored 0.008
toBeanInstantiatesTargetTypeDefinedByTheClassPropertyAndResolvesSubTypeMapping 0.007
toBeanResolvesNamePropertyInBeanMaps 0.009
toBeanResolvesBeanMaps 0.006
toBeanPreservesOrderingOfBeanMaps 0.005
toBeanResolvesNameProperty 0.002
toBeanResolvesBasicPropertyTypes 0.003
toBeanResolvesSubBeans 0.003
toBeanResolvesNamePropertyInBeanListsFromMaps 0
node2Bean provides such convenience of deserializing lists out of maps; map2Bean does not support this at the moment.

AbstractRegistryTest

singleQueryFailsOnModuleAndNameMismatch 0.213
singleQuery 0.013
singleQueryByModuleAndName 0.005
singleQueryByName 0.001
queryByModuleName 0.004
singleQueryFailsIfMultipleMatches 0.001
singleQueryFailsIfNoMatch 0.001

RegistryFacadeImplTest

singleQuery 0.017
byModuleAggregatesFromDifferentRegistries 0.002

AbstractConfigurationSourceBuilderTest

nameOfCorrectlyPluralizes 0.031
nameOfCorrectlyHandlesCommonCapitalizationCases 0.001

JcrConfigurationSourceTest

testReloadsOnChange 1.127
testRegistersOnStart 0.012

DefinitionRawViewMapWrapperTest

collectionOfNumbers 0.073
mapOfSimpleTypes 0.003
simpleValues 0.004
mapOfComplexTypes 0.003
collectionOfComplexTypes 0.003

RegexBasedPathToMetadataInferrerTest

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

SpaceCleaningReaderTest

cleansSpacesButKeepsTabsAndNewLines 0.001

YamlConfigurationSourceTest

shouldNotRegisterIfPathDoesNotMatch 0.012
registerProviderEvenIfFileCantBeLoaded 0.004
nameFromDefHasPriority 0.006
nameComesFromDefAndIsAvailableOnMetadataAsWell 0.004
registerProviderWithNullResource 0.001
registersWithInvalidYaml 0.003

YamlReaderTest

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

Failure Details

[Summary] [Package List] [Test Cases]


toBeanResolvesBeanListsFromMaps
skipped: node2Bean provides such convenience of deserializing lists out of maps; map2Bean does not support this at the moment.
toBeanSupportsNullClassProperties
skipped: currently fails on null class properties (e.g. modelClass)
toBeanResolvesNamePropertyInBeanListsFromMaps
skipped: node2Bean provides such convenience of deserializing lists out of maps; map2Bean does not support this at the moment.