Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.suite 2 0 0 0 100% 0.276
info.magnolia.module.blossom.support 29 0 0 0 100% 0.031
info.magnolia.module.blossom.urimapping 2 0 0 0 100% 0.03
info.magnolia.module.blossom.context 15 0 0 0 100% 1.891
info.magnolia.module.blossom.view 5 0 0 0 100% 0.049
info.magnolia.module.blossom.preexecution 4 0 0 0 100% 0.039
info.magnolia.module.blossom.content2bean 1 0 0 0 100% 1.008
info.magnolia.module.blossom.dispatcher 1 0 0 0 100% 0.008
info.magnolia.module.blossom.setup 5 0 0 0 100% 0.01
info.magnolia.module.blossom.web 28 0 0 0 100% 0.307
info.magnolia.module.blossom.node2bean 1 0 0 0 100% 0.023
info.magnolia.module.blossom.dialog 25 0 0 0 100% 0.225
info.magnolia.module.blossom.multipart 1 0 0 0 100% 0.08
info.magnolia.module.blossom.template 32 0 0 0 100% 0.242

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

info.magnolia.module.blossom.suite

Class Tests Errors Failures Skipped Success Rate Time
DetectProxiedObjectsTest 1 0 0 0 100% 0.231
MassiveTest 1 0 0 0 100% 0.045

info.magnolia.module.blossom.support

Class Tests Errors Failures Skipped Success Rate Time
AbstractBeanDetectorTest 1 0 0 0 100% 0.017
AbstractUrlMappedHandlerPostProcessorTest 1 0 0 0 100% 0.007
ForwardRequestWrapperTest 6 0 0 0 100% 0.004
IncludeRequestWrapperTest 6 0 0 0 100% 0.002
ParameterResolverTest 1 0 0 0 100% 0
SpecialAttributeRequestWrapperTest 14 0 0 0 100% 0.001

info.magnolia.module.blossom.urimapping

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

info.magnolia.module.blossom.context

Class Tests Errors Failures Skipped Success Rate Time
ConfiguredBeanFactoryBeanTest 2 0 0 0 100% 0.115
MagnoliaComponentFactoryBeanTest 1 0 0 0 100% 0.032
MagnoliaMessageSourceTest 9 0 0 0 100% 0.356
ObservedBeanFactoryBeanTest 3 0 0 0 100% 1.388

info.magnolia.module.blossom.view

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

info.magnolia.module.blossom.preexecution

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

info.magnolia.module.blossom.content2bean

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

info.magnolia.module.blossom.dispatcher

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

info.magnolia.module.blossom.setup

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

info.magnolia.module.blossom.web

Class Tests Errors Failures Skipped Success Rate Time
BlossomHandlerMethodArgumentResolverTest 11 0 0 0 100% 0.121
BlossomRequestMappingHandlerAdapterTest 6 0 0 0 100% 0.12
BlossomWebArgumentResolverTest 11 0 0 0 100% 0.066

info.magnolia.module.blossom.node2bean

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

info.magnolia.module.blossom.dialog

Class Tests Errors Failures Skipped Success Rate Time
BlossomDialogDefinitionProviderTest 4 0 0 0 100% 0.003
DefaultDialogCreatorTest 14 0 0 0 100% 0.162
DialogDescriptionBuilderTest 2 0 0 0 100% 0
DialogExporterTest 5 0 0 0 100% 0.06

info.magnolia.module.blossom.multipart

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

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.05
TemplateDefinitionBuilderAutoGeneratorTest 6 0 0 0 100% 0.031
TemplateDefinitionBuilderAvailableTest 6 0 0 0 100% 0.036
TemplateDefinitionBuilderParametersTest 4 0 0 0 100% 0.029
TemplateDefinitionBuilderTest 9 0 0 0 100% 0.057
TemplateExporterTest 4 0 0 0 100% 0.039

Test Cases

[Summary] [Package List] [Test Cases]

SpringContent2BeanTransformerTest

testContentToBeanWithClassDefined 1.008

ConfiguredBeanFactoryBeanTest

testDefaultClass 0.067
testInstantiationInitializationAndDestruction 0.048

MagnoliaComponentFactoryBeanTest

testStuff 0.032

MagnoliaMessageSourceTest

testGetMessageThrowsExceptionWhenMessageMissingInDefaultBundle 0.228
testGetMessageThrowsExceptionWhenMessageMissingInConfiguredBundle 0.022
testGetMessageFromDefaultBundle 0.014
testGetMessageFromConfiguredBundle 0.018
testGetMessageGivesPreferenceToConfiguredBundle 0.014
testGetMessageUsesPassedLocaleByDefault 0.014
testGetMessageCanPreferMagnoliaLocale 0.017
testGetMessageUsesConfiguredLocaleProvider 0.013
testGetMessageWithMessageFormat 0.016

ObservedBeanFactoryBeanTest

testInstantiationInitializationReloadingAndDestruction 1.329
testJdkProxy 0.032
testDefaultClass 0.027

BlossomDialogDefinitionProviderTest

metadataForDialogWithIdInCompositeFormHasMetadataPopulated 0.003
metadataForDialogWithIdInSimpleFormHasMetadataPopulated 0
metadataForDialogWithGenereatedIdHasMetadataPopulated 0
metadataHasLocationSetWithFactoryMethodPopulated 0

DefaultDialogCreatorTest

testSimpleFactory 0.024
testInheritingFactory 0.013
testDialogFactoryOnMethod 0.01
testDialogFactoryThatNeedsItem 0.011
testDialogFactoryWithTabFactoryThatNeedsItem 0.008
testPostCreateIsInvokedOnSuperclassesFirst 0.01
testPostCreateOnMethodInSuperclassThatIsOverriddenIsInvokedFirst 0.008
testPostCreateIsNotInvokedIfMethodIsOverriddenWithoutRepeatingAnnotation 0.007
testPostCreateIsInvokedWithArguments 0.023
testPostCreateForAfterSubclassesPhaseIsInvokedLast 0.008
testSortTabsByName 0.015
testSortTabsByLabel 0.007
testSetsBothLabelAndNameByDefault 0.009
testSetsNoLabelIfAskedNotTo 0.009

DialogDescriptionBuilderTest

testPostCreateOnStaticMethodFails 0
testStaticTabFactory 0

DialogExporterTest

testExportDialogFactory 0.023
testExportDialogFactoryThatReturnsNull 0.01
testExportDialogFactoryWithPreRegisterCallback 0.009
testExportDialogFactoryWithOverriddenPreRegisterCallback 0.008
testExportDialogFactoryWithPreRegisterThatAddsMessageToMessageFromSuperclass 0.01

DispatcherAwareBeanPostProcessorTest

testDispatcherAware 0.008

BlossomMultipartResolverTest

testResolver 0.08

SpringNode2BeanTransformerTest

testContentToBeanWithClassDefined 0.023

PreexecutionUtilsTest

testIsPreexecutingReturnsFalseWhenPreexecutionContextIsNotSet 0.012
testIsPreexecutingReturnsFalseWhenPreexecutighOtherNode 0.009
testIsPreexecutingReturnsTrueWhenPreexecutingCurrentNode 0.01
testRepositoryExceptionIsWrappedInRuntimeRepositoryException 0.008

MultiCheckAndModifyPropertyValueTaskTest

testChangesWhenSetToOldName 0.006
testChangesWhenSetToOldName2 0.001
testChangesWhenSetToOldName3 0.001
testChangesNothingWhenAlreadyCorrect 0.001
testChangesNothingWhenSetToUnexpectedValue 0.001

DetectProxiedObjectsTest

testDetectsProxiedObjects 0.231

MassiveTest

testMassively 0.045

AbstractBeanDetectorTest

testBeanDetection 0.017

AbstractUrlMappedHandlerPostProcessorTest

testBeanDetection 0.007

ForwardRequestWrapperTest

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

IncludeRequestWrapperTest

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

ParameterResolverTest

testChaining 0

SpecialAttributeRequestWrapperTest

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

BlossomTemplateDefinitionProviderTest

metadataForTemplateWithIdInCompositeFormHasMetadataPopulated 0
metadataForTemplateWithIdInSimpleFormHasMetadataPopulated 0

ComponentCategoryAnnotationTest

test 0.05

TemplateDefinitionBuilderAutoGeneratorTest

testAutoGenerator 0.003
testAutoGeneratorOverriding 0.006
testAutoGeneratorInheritance 0.006
testAutoGeneratorOverridingWithAnnotation 0.006
testAutoGeneratorInheritsAndOverridesWithAnnotation 0.005
testMultipleAutoGenerators 0.005

TemplateDefinitionBuilderAvailableTest

testTemplateAvailability 0.006
testAvailableOverriding 0.006
testAvailableInheritance 0.006
testAvailableOverridingWithAnnotation 0.006
testAvailableInheritsAndOverridesWithAnnotation 0.006
testAvailableMultiple 0.006

TemplateDefinitionBuilderParametersTest

parametersAreFoundInAnnotations 0.009
parametersAreFoundInSuperclassAndThatSubclassOverrides 0.008
parametersAreFoundOnAreas 0.006
parametersOnAreasAreFoundInSuperclassAndThatSubclassOverrides 0.006

TemplateDefinitionBuilderTest

testTemplateDescription 0.007
testTemplateDescriptionWithFlags 0.006
testMissingTemplateAnnotation 0.006
testMaximumComponents 0.007
testMaximumComponentsNullWhenNotSet 0.005
testFindsAreasInSuperclass 0.014
testCreateAreaNodeSetToTrue 0.004
testCreateAreaNodeSetToFalse 0.004
testCreateAreaNodeNotSet 0.004

TemplateExporterTest

testExportTemplate 0.014
testExportTemplateWithPreRegisterCallbackThatReturnsNull 0.008
testExportTemplateWithAreaWithPreRegisterCallbackThatReturnsNull 0.008
testTemplateAreaAndDialogRegistrationCallbacks 0.009

BlossomVirtualURIMapperTest

testBeanDetection 0.013
testBeanDetectionWithProxies 0.017

UuidRedirectViewResolverTest

testRedirect 0.022
testRedirectMainContent 0.007
testRedirectCurrentContent 0.006
testRedirectWithModelAttributesExposed 0.007
testRedirectWithoutModelAttributesExposed 0.007

BlossomHandlerMethodArgumentResolverTest

testAggregationState 0.005
testContentAsArgument 0.008
testTwoArgumentsOfTypeContent 0.005
testTwoArgumentsOfTypeNode 0.008
testUserAsArgument 0.012
testTemplateDefinitionAsArgument 0.014
testBlossomTemplateDefinitionAsArgument 0.017
testAreaDefinitionAsArgument 0.009
testBlossomAreaDefinitionAsArgument 0.019
testChannelAsArgument 0.006
testSiteAndThemeAsArguments 0.018

BlossomRequestMappingHandlerAdapterTest

testRedirectViewDetection 0.055
testRedirectViewDetectionWithCustomPatterns 0.01
testArgumentResolversResolvesContext 0.019
testArgumentResolversResolvesWebContext 0.013
testArgumentResolversResolvesUser 0.012
testArgumentResolversResolvesMgnlUser 0.011

BlossomWebArgumentResolverTest

testAggregationState 0.006
testContentAsArgument 0.007
testTwoArgumentsOfTypeContent 0.006
testTwoArgumentsOfTypeNode 0.006
testUserAsArgument 0.005
testTemplateDefinitionAsArgument 0.006
testBlossomTemplateDefinitionAsArgument 0.006
testAreaDefinitionAsArgument 0.006
testBlossomAreaDefinitionAsArgument 0.006
testChannelAsArgument 0.005
testSiteAndThemeAsArguments 0.007