Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
88 0 0 1 98.864% 1.95

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.016
info.magnolia.config.source 2 0 0 0 100% 0.01
info.magnolia.config.source.jcr 4 0 0 0 100% 1.09
info.magnolia.config.map2bean 24 0 0 1 95.833% 0.118
info.magnolia.commands 3 0 0 0 100% 0.29
info.magnolia.config.registry 9 0 0 0 100% 0.034
info.magnolia.config.converters 7 0 0 0 100% 0.321
info.magnolia.config.source.yaml 34 0 0 0 100% 0.071

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

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

info.magnolia.config.map2bean

Class Tests Errors Failures Skipped Success Rate Time
Map2BeanTransformerTest 24 0 0 1 95.833% 0.118

info.magnolia.commands

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

info.magnolia.config.registry

Class Tests Errors Failures Skipped Success Rate Time
AbstractRegistryTest 7 0 0 0 100% 0.031
RegistryFacadeImplTest 2 0 0 0 100% 0.003

info.magnolia.config.converters

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

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.048
YamlReaderTest 16 0 0 0 100% 0.015

Test Cases

[Summary] [Package List] [Test Cases]

ExportJcrNodeToYamlCommandTest

throwsExceptionIfPathIsNull 0.261
checksForRights 0.017
streamClosedCorrectlyEvenThoughExceptionOccurs 0.012

DefinitionRawViewToYamlConverterImplTest

subBeanWithNamePropertyPresentHandledCorrectly 0.047
definitionProviderViewNullCheck 0.002
convertsSimpleProperty 0.001
convertsNestedClasses 0.002
nestedCollectionsHandledCorrectly 0.002
sameDefinitionProducedAfterJcrToYamlConversion 0.266
convertsCollection 0.001

Map2BeanTransformerTest

toBeanResolvesSimpleMaps 0.008
toBeanSupportsNullProperties 0.004
toBeanInstantiatesTargetTypeDefinedByTheClassProperty 0.002
toBeanResolvesEmptyLists 0.002
toBeanResolvesEnums 0.002
toBeanResolvesBeanListsFromMaps 0.005
toBeanResolvesClassPropertyType 0.001
toBeanSupportsNullClassProperties 0
currently fails on null class properties (e.g. modelClass)
toBeanResolvesBeanLists 0.003
toBeanResolvesSimpleLists 0.003
toBeanDoesntInvokeGetters 0.053
toBeanSupportsNonTypedMaps 0.004
toBeanSupportsNonTypedLists 0.003
toBeanSupportsNullOrEmptyMap 0.001
unknownPropertiesAreIgnored 0.005
toBeanInstantiatesTargetTypeDefinedByTheClassPropertyAndResolvesSubTypeMapping 0.004
toBeanResolvesNamePropertyInBeanMaps 0.003
toBeanResolvesBeanMaps 0.002
toBeanPreservesOrderingOfBeanMaps 0.002
toBeanResolvesNameProperty 0.002
toBeanResolvesBasicPropertyTypes 0.002
toBeanResolvesListsAndIgnoresElementsWithIncompatibleType 0.002
toBeanResolvesSubBeans 0.002
toBeanResolvesNamePropertyInBeanListsFromMaps 0.003

AbstractRegistryTest

singleQueryFailsOnModuleAndNameMismatch 0.009
singleQuery 0.011
singleQueryByModuleAndName 0.005
singleQueryByName 0.001
queryByModuleName 0.003
singleQueryFailsIfMultipleMatches 0.001
singleQueryFailsIfNoMatch 0.001

RegistryFacadeImplTest

singleQuery 0.002
byModuleAggregatesFromDifferentRegistries 0.001

AbstractConfigurationSourceBuilderTest

nameOfCorrectlyPluralizes 0.008
nameOfCorrectlyHandlesCommonCapitalizationCases 0.002

JcrConfigurationSourceTest

sameNameSubNodesDoNotSpoilRawView 0.016
testReloadsOnChange 1.047
testRawViewGeneration 0.015
testRegistersOnStart 0.012

DefinitionRawViewMapWrapperTest

collectionOfNumbers 0.004
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.013
registerProviderEvenIfFileCantBeLoaded 0.034
nameFromDefHasPriority 0
nameComesFromDefAndIsAvailableOnMetadataAsWell 0
registerProviderWithNullResource 0
registersWithInvalidYaml 0.001

YamlReaderTest

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

Failure Details

[Summary] [Package List] [Test Cases]


toBeanSupportsNullClassProperties
skipped: currently fails on null class properties (e.g. modelClass)