Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
88 0 0 0 100% 1.896

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.015
info.magnolia.config.source 2 0 0 0 100% 0.01
info.magnolia.config.source.jcr 4 0 0 0 100% 1.086
info.magnolia.config.map2bean 24 0 0 0 100% 0.117
info.magnolia.commands 3 0 0 0 100% 0.259
info.magnolia.config.registry 9 0 0 0 100% 0.034
info.magnolia.config.converters 7 0 0 0 100% 0.308
info.magnolia.config.source.yaml 34 0 0 0 100% 0.067

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

info.magnolia.config.source

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

info.magnolia.config.source.jcr

Class Tests Errors Failures Skipped Success Rate Time
JcrConfigurationSourceTest 4 0 0 0 100% 1.086

info.magnolia.config.map2bean

Class Tests Errors Failures Skipped Success Rate Time
Map2BeanTransformerTest 24 0 0 0 100% 0.117

info.magnolia.commands

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

info.magnolia.config.registry

Class Tests Errors Failures Skipped Success Rate Time
AbstractRegistryTest 7 0 0 0 100% 0.03
RegistryFacadeImplTest 2 0 0 0 100% 0.004

info.magnolia.config.converters

Class Tests Errors Failures Skipped Success Rate Time
DefinitionRawViewToYamlConverterImplTest 7 0 0 0 100% 0.308

info.magnolia.config.source.yaml

Class Tests Errors Failures Skipped Success Rate Time
RegexBasedPathToMetadataInferrerTest 11 0 0 0 100% 0.007
SpaceCleaningReaderTest 1 0 0 0 100% 0.001
YamlConfigurationSourceTest 6 0 0 0 100% 0.043
YamlReaderTest 16 0 0 0 100% 0.016

Test Cases

[Summary] [Package List] [Test Cases]

ExportJcrNodeToYamlCommandTest

throwsExceptionIfPathIsNull 0.235
checksForRights 0.012
streamClosedCorrectlyEvenThoughExceptionOccurs 0.012

DefinitionRawViewToYamlConverterImplTest

subBeanWithNamePropertyPresentHandledCorrectly 0.048
definitionProviderViewNullCheck 0.002
convertsSimpleProperty 0.002
convertsNestedClasses 0.001
nestedCollectionsHandledCorrectly 0.001
sameDefinitionProducedAfterJcrToYamlConversion 0.253
convertsCollection 0.001

Map2BeanTransformerTest

toBeanResolvesSimpleMaps 0.007
toBeanSupportsNullProperties 0.003
toBeanInstantiatesTargetTypeDefinedByTheClassProperty 0.002
toBeanResolvesEmptyLists 0.002
toBeanResolvesEnums 0.002
toBeanResolvesBeanListsFromMaps 0.006
toBeanResolvesClassPropertyType 0.002
toBeanSupportsNullClassProperties 0.002
toBeanResolvesBeanLists 0.004
toBeanResolvesSimpleLists 0.003
toBeanDoesntInvokeGetters 0.051
toBeanSupportsNonTypedMaps 0.004
toBeanSupportsNonTypedLists 0.002
toBeanSupportsNullOrEmptyMap 0.002
unknownPropertiesAreIgnored 0.005
toBeanInstantiatesTargetTypeDefinedByTheClassPropertyAndResolvesSubTypeMapping 0.004
toBeanResolvesNamePropertyInBeanMaps 0.003
toBeanResolvesBeanMaps 0.002
toBeanPreservesOrderingOfBeanMaps 0.002
toBeanResolvesNameProperty 0.001
toBeanResolvesBasicPropertyTypes 0.002
toBeanResolvesListsAndIgnoresElementsWithIncompatibleType 0.002
toBeanResolvesSubBeans 0.002
toBeanResolvesNamePropertyInBeanListsFromMaps 0.002

AbstractRegistryTest

singleQueryFailsOnModuleAndNameMismatch 0.01
singleQuery 0.011
singleQueryByModuleAndName 0.005
singleQueryByName 0.001
queryByModuleName 0.002
singleQueryFailsIfMultipleMatches 0.001
singleQueryFailsIfNoMatch 0

RegistryFacadeImplTest

singleQuery 0.003
byModuleAggregatesFromDifferentRegistries 0.001

AbstractConfigurationSourceBuilderTest

nameOfCorrectlyPluralizes 0.009
nameOfCorrectlyHandlesCommonCapitalizationCases 0.001

JcrConfigurationSourceTest

sameNameSubNodesDoNotSpoilRawView 0.015
testReloadsOnChange 1.044
testRawViewGeneration 0.015
testRegistersOnStart 0.012

DefinitionRawViewMapWrapperTest

collectionOfNumbers 0.003
mapOfSimpleTypes 0.003
simpleValues 0.003
mapOfComplexTypes 0.003
collectionOfComplexTypes 0.003

RegexBasedPathToMetadataInferrerTest

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

SpaceCleaningReaderTest

cleansSpacesButKeepsTabsAndNewLines 0.001

YamlConfigurationSourceTest

shouldNotRegisterIfPathDoesNotMatch 0.011
registerProviderEvenIfFileCantBeLoaded 0.032
nameFromDefHasPriority 0
nameComesFromDefAndIsAvailableOnMetadataAsWell 0
registerProviderWithNullResource 0
registersWithInvalidYaml 0

YamlReaderTest

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