Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
151 0 0 0 100% 10.922

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.module.blossom.node2bean 1 0 0 0 100% 0.072
info.magnolia.module.blossom.support 29 0 0 0 100% 0.113
info.magnolia.module.blossom.urimapping 2 0 0 0 100% 0.107
info.magnolia.module.blossom.dispatcher 1 0 0 0 100% 0.015
info.magnolia.module.blossom.preexecution 4 0 0 0 100% 0.139
info.magnolia.module.blossom.suite 2 0 0 0 100% 0.814
info.magnolia.module.blossom.context 15 0 0 0 100% 4.196
info.magnolia.module.blossom.multipart 1 0 0 0 100% 0.167
info.magnolia.module.blossom.template 32 0 0 0 100% 0.752
info.magnolia.module.blossom.dialog 25 0 0 0 100% 1.096
info.magnolia.module.blossom.view 5 0 0 0 100% 0.17
info.magnolia.module.blossom.setup 5 0 0 0 100% 0.014
info.magnolia.module.blossom.content2bean 1 0 0 0 100% 1.948
info.magnolia.module.blossom.web 28 0 0 0 100% 1.319

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

info.magnolia.module.blossom.node2bean

Class Tests Errors Failures Skipped Success Rate Time
SpringNode2BeanTransformerTest 1 0 0 0 100% 0.072

info.magnolia.module.blossom.support

Class Tests Errors Failures Skipped Success Rate Time
AbstractBeanDetectorTest 1 0 0 0 100% 0.072
AbstractUrlMappedHandlerPostProcessorTest 1 0 0 0 100% 0.022
ForwardRequestWrapperTest 6 0 0 0 100% 0.009
IncludeRequestWrapperTest 6 0 0 0 100% 0.007
ParameterResolverTest 1 0 0 0 100% 0
SpecialAttributeRequestWrapperTest 14 0 0 0 100% 0.003

info.magnolia.module.blossom.urimapping

Class Tests Errors Failures Skipped Success Rate Time
BlossomVirtualURIMapperTest 2 0 0 0 100% 0.107

info.magnolia.module.blossom.dispatcher

Class Tests Errors Failures Skipped Success Rate Time
DispatcherAwareBeanPostProcessorTest 1 0 0 0 100% 0.015

info.magnolia.module.blossom.preexecution

Class Tests Errors Failures Skipped Success Rate Time
PreexecutionUtilsTest 4 0 0 0 100% 0.139

info.magnolia.module.blossom.suite

Class Tests Errors Failures Skipped Success Rate Time
DetectProxiedObjectsTest 1 0 0 0 100% 0.612
MassiveTest 1 0 0 0 100% 0.202

info.magnolia.module.blossom.context

Class Tests Errors Failures Skipped Success Rate Time
ConfiguredBeanFactoryBeanTest 2 0 0 0 100% 0.42
MagnoliaComponentFactoryBeanTest 1 0 0 0 100% 0.162
MagnoliaMessageSourceTest 9 0 0 0 100% 1.901
ObservedBeanFactoryBeanTest 3 0 0 0 100% 1.713

info.magnolia.module.blossom.multipart

Class Tests Errors Failures Skipped Success Rate Time
BlossomMultipartResolverTest 1 0 0 0 100% 0.167

info.magnolia.module.blossom.template

Class Tests Errors Failures Skipped Success Rate Time
BlossomTemplateDefinitionProviderTest 2 0 0 0 100% 0
ComponentCategoryAnnotationTest 1 0 0 0 100% 0.197
TemplateDefinitionBuilderAutoGeneratorTest 6 0 0 0 100% 0.08
TemplateDefinitionBuilderAvailableTest 6 0 0 0 100% 0.083
TemplateDefinitionBuilderParametersTest 4 0 0 0 100% 0.076
TemplateDefinitionBuilderTest 9 0 0 0 100% 0.11
TemplateExporterTest 4 0 0 0 100% 0.206

info.magnolia.module.blossom.dialog

Class Tests Errors Failures Skipped Success Rate Time
BlossomDialogDefinitionProviderTest 4 0 0 0 100% 0.004
DefaultDialogCreatorTest 14 0 0 0 100% 0.868
DialogDescriptionBuilderTest 2 0 0 0 100% 0
DialogExporterTest 5 0 0 0 100% 0.224

info.magnolia.module.blossom.view

Class Tests Errors Failures Skipped Success Rate Time
UuidRedirectViewResolverTest 5 0 0 0 100% 0.17

info.magnolia.module.blossom.setup

Class Tests Errors Failures Skipped Success Rate Time
MultiCheckAndModifyPropertyValueTaskTest 5 0 0 0 100% 0.014

info.magnolia.module.blossom.content2bean

Class Tests Errors Failures Skipped Success Rate Time
SpringContent2BeanTransformerTest 1 0 0 0 100% 1.948

info.magnolia.module.blossom.web

Class Tests Errors Failures Skipped Success Rate Time
BlossomHandlerMethodArgumentResolverTest 11 0 0 0 100% 0.541
BlossomRequestMappingHandlerAdapterTest 6 0 0 0 100% 0.426
BlossomWebArgumentResolverTest 11 0 0 0 100% 0.352

Test Cases

[Summary] [Package List] [Test Cases]

SpringContent2BeanTransformerTest

testContentToBeanWithClassDefined 1.948

ConfiguredBeanFactoryBeanTest

testDefaultClass 0.265
testInstantiationInitializationAndDestruction 0.155

MagnoliaComponentFactoryBeanTest

testStuff 0.162

MagnoliaMessageSourceTest

testGetMessageThrowsExceptionWhenMessageMissingInDefaultBundle 0.451
testGetMessageThrowsExceptionWhenMessageMissingInConfiguredBundle 0.23
testGetMessageFromDefaultBundle 0.201
testGetMessageFromConfiguredBundle 0.192
testGetMessageGivesPreferenceToConfiguredBundle 0.183
testGetMessageUsesPassedLocaleByDefault 0.184
testGetMessageCanPreferMagnoliaLocale 0.154
testGetMessageUsesConfiguredLocaleProvider 0.155
testGetMessageWithMessageFormat 0.151

ObservedBeanFactoryBeanTest

testDefaultClass 0.322
testInstantiationInitializationReloadingAndDestruction 1.301
testJdkProxy 0.09

BlossomDialogDefinitionProviderTest

metadataForDialogWithIdInCompositeFormHasMetadataPopulated 0.004
metadataForDialogWithIdInSimpleFormHasMetadataPopulated 0
metadataForDialogWithGenereatedIdHasMetadataPopulated 0
metadataHasLocationSetWithFactoryMethodPopulated 0

DefaultDialogCreatorTest

testSimpleFactory 0.081
testInheritingFactory 0.057
testDialogFactoryOnMethod 0.037
testDialogFactoryThatNeedsItem 0.191
testDialogFactoryWithTabFactoryThatNeedsItem 0.043
testPostCreateIsInvokedOnSuperclassesFirst 0.039
testPostCreateOnMethodInSuperclassThatIsOverriddenIsInvokedFirst 0.045
testPostCreateIsNotInvokedIfMethodIsOverriddenWithoutRepeatingAnnotation 0.042
testPostCreateIsInvokedWithArguments 0.087
testPostCreateForAfterSubclassesPhaseIsInvokedLast 0.043
testSortTabsByName 0.072
testSortTabsByLabel 0.042
testSetsBothLabelAndNameByDefault 0.042
testSetsNoLabelIfAskedNotTo 0.047

DialogDescriptionBuilderTest

testStaticTabFactory 0
testPostCreateOnStaticMethodFails 0

DialogExporterTest

testExportDialogFactory 0.094
testExportDialogFactoryThatReturnsNull 0.04
testExportDialogFactoryWithPreRegisterCallback 0.033
testExportDialogFactoryWithOverriddenPreRegisterCallback 0.029
testExportDialogFactoryWithPreRegisterThatAddsMessageToMessageFromSuperclass 0.028

DispatcherAwareBeanPostProcessorTest

testDispatcherAware 0.015

BlossomMultipartResolverTest

testResolver 0.167

SpringNode2BeanTransformerTest

testContentToBeanWithClassDefined 0.072

PreexecutionUtilsTest

testIsPreexecutingReturnsFalseWhenPreexecutionContextIsNotSet 0.05
testIsPreexecutingReturnsFalseWhenPreexecutighOtherNode 0.035
testIsPreexecutingReturnsTrueWhenPreexecutingCurrentNode 0.027
testRepositoryExceptionIsWrappedInRuntimeRepositoryException 0.027

MultiCheckAndModifyPropertyValueTaskTest

testChangesWhenSetToOldName 0.01
testChangesWhenSetToOldName2 0.001
testChangesWhenSetToOldName3 0.001
testChangesNothingWhenAlreadyCorrect 0.001
testChangesNothingWhenSetToUnexpectedValue 0.001

DetectProxiedObjectsTest

testDetectsProxiedObjects 0.612

MassiveTest

testMassively 0.202

AbstractBeanDetectorTest

testBeanDetection 0.072

AbstractUrlMappedHandlerPostProcessorTest

testBeanDetection 0.022

ForwardRequestWrapperTest

testSetsForwardAttributesAndChangesPathElements 0.001
testDoesNotSetForwardAttributesIfAlreadyPerformingForwardButChangesPathElements 0
testHidesUpstreamAttributesButNotPathElementsOnForward 0.006
testChangesNothingOnInclude 0.001
testDisablesPreviousForwardWrapperAndRestoresItAfterwards 0
testDisablesPreviousIncludeWrapperAndRestoresItAfterwards 0.001

IncludeRequestWrapperTest

testDisablesPreviousIncludeWrapperAndRestoresItAfterwards 0
testSetsIncludeAttributes 0.001
testHidesPreviousIncludeAttributes 0
testOverridesPreviousIncludeWrapper 0.001
testHidesAttributesWhenPerformingInclude 0.003
testHidesAttributesWhenPerformingForward 0.002

ParameterResolverTest

testChaining 0

SpecialAttributeRequestWrapperTest

testAddedSingleAttributeIsVisible 0
testOverridesSingleAttribute 0
testOverriddenAttributeIsPresentInAttributeNamesEnumeration 0.001
testDoesNotAllowChangingOverriddenAttribute 0
testAllowsChangingNonOverriddenAttribute 0.001
testDoesNotAllowRemovingOverriddenAttribute 0
testAllowsRemovingNonOverriddenAttribute 0
testHidesOverriddenValuesWhenDisabled 0
testIsOverrideAttributes 0
testOverridesWithNullValue 0
testAttributeNamesNextElementWithExistingAttributes 0.001
testAttributeNamesNextElementWithOverriddenAttributes 0
testAttributeNamesNextElementSkipsOverriddenNullValues 0
testEnumeratesThrowsNoSuchElementException 0

BlossomTemplateDefinitionProviderTest

metadataForTemplateWithIdInCompositeFormHasMetadataPopulated 0
metadataForTemplateWithIdInSimpleFormHasMetadataPopulated 0

ComponentCategoryAnnotationTest

test 0.197

TemplateDefinitionBuilderAutoGeneratorTest

testAutoGenerator 0.009
testAutoGeneratorOverriding 0.011
testAutoGeneratorInheritance 0.022
testAutoGeneratorOverridingWithAnnotation 0.013
testAutoGeneratorInheritsAndOverridesWithAnnotation 0.011
testMultipleAutoGenerators 0.014

TemplateDefinitionBuilderAvailableTest

testTemplateAvailability 0.009
testAvailableOverriding 0.011
testAvailableInheritance 0.01
testAvailableOverridingWithAnnotation 0.026
testAvailableInheritsAndOverridesWithAnnotation 0.013
testAvailableMultiple 0.014

TemplateDefinitionBuilderParametersTest

parametersAreFoundInAnnotations 0.02
parametersAreFoundInSuperclassAndThatSubclassOverrides 0.014
parametersAreFoundOnAreas 0.029
parametersOnAreasAreFoundInSuperclassAndThatSubclassOverrides 0.013

TemplateDefinitionBuilderTest

testTemplateDescription 0.017
testTemplateDescriptionWithFlags 0.012
testMissingTemplateAnnotation 0.01
testMaximumComponents 0.021
testMaximumComponentsNullWhenNotSet 0.01
testFindsAreasInSuperclass 0.014
testCreateAreaNodeSetToTrue 0.009
testCreateAreaNodeSetToFalse 0.008
testCreateAreaNodeNotSet 0.009

TemplateExporterTest

testExportTemplate 0.031
testExportTemplateWithPreRegisterCallbackThatReturnsNull 0.06
testExportTemplateWithAreaWithPreRegisterCallbackThatReturnsNull 0.05
testTemplateAreaAndDialogRegistrationCallbacks 0.065

BlossomVirtualURIMapperTest

testBeanDetectionWithProxies 0.075
testBeanDetection 0.032

UuidRedirectViewResolverTest

testRedirect 0.05
testRedirectMainContent 0.034
testRedirectCurrentContent 0.028
testRedirectWithModelAttributesExposed 0.029
testRedirectWithoutModelAttributesExposed 0.029

BlossomHandlerMethodArgumentResolverTest

testAggregationState 0.056
testContentAsArgument 0.046
testTwoArgumentsOfTypeContent 0.034
testTwoArgumentsOfTypeNode 0.035
testUserAsArgument 0.047
testTemplateDefinitionAsArgument 0.042
testBlossomTemplateDefinitionAsArgument 0.053
testAreaDefinitionAsArgument 0.05
testBlossomAreaDefinitionAsArgument 0.063
testChannelAsArgument 0.042
testSiteAndThemeAsArguments 0.073

BlossomRequestMappingHandlerAdapterTest

testRedirectViewDetection 0.19
testRedirectViewDetectionWithCustomPatterns 0.045
testArgumentResolversResolvesContext 0.062
testArgumentResolversResolvesWebContext 0.047
testArgumentResolversResolvesUser 0.041
testArgumentResolversResolvesMgnlUser 0.041

BlossomWebArgumentResolverTest

testAggregationState 0.025
testContentAsArgument 0.043
testTwoArgumentsOfTypeContent 0.036
testTwoArgumentsOfTypeNode 0.03
testUserAsArgument 0.027
testTemplateDefinitionAsArgument 0.028
testBlossomTemplateDefinitionAsArgument 0.032
testAreaDefinitionAsArgument 0.033
testBlossomAreaDefinitionAsArgument 0.028
testChannelAsArgument 0.026
testSiteAndThemeAsArguments 0.044