Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
153 0 0 0 100% 4.814

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.urimapping 2 0 0 0 100% 0.059
info.magnolia.module.blossom.support 28 0 0 0 100% 0.031
info.magnolia.module.blossom.suite 2 0 0 0 100% 0.147
info.magnolia.module.blossom.context 15 0 0 0 100% 2.058
info.magnolia.module.blossom.view 5 0 0 0 100% 0.064
info.magnolia.module.blossom.preexecution 4 0 0 0 100% 0.813
info.magnolia.module.blossom.setup 5 0 0 0 100% 0.009
info.magnolia.module.blossom.dispatcher 1 0 0 0 100% 0.005
info.magnolia.module.blossom.web 26 0 0 0 100% 0.612
info.magnolia.module.blossom.node2bean 1 0 0 0 100% 0.029
info.magnolia.module.blossom.dialog 30 0 0 0 100% 0.485
info.magnolia.module.blossom.multipart 1 0 0 0 100% 0.023
info.magnolia.module.blossom.template 33 0 0 0 100% 0.479

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

info.magnolia.module.blossom.urimapping

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

info.magnolia.module.blossom.support

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

info.magnolia.module.blossom.suite

Class Tests Errors Failures Skipped Success Rate Time
MassiveTest 1 0 0 0 100% 0.097
DetectProxiedObjectsTest 1 0 0 0 100% 0.05

info.magnolia.module.blossom.context

Class Tests Errors Failures Skipped Success Rate Time
MagnoliaComponentFactoryBeanTest 1 0 0 0 100% 0.025
MagnoliaMessageSourceTest 9 0 0 0 100% 0.269
ConfiguredBeanFactoryBeanTest 2 0 0 0 100% 0.073
ObservedBeanFactoryBeanTest 3 0 0 0 100% 1.691

info.magnolia.module.blossom.view

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

info.magnolia.module.blossom.preexecution

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

info.magnolia.module.blossom.setup

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

info.magnolia.module.blossom.dispatcher

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

info.magnolia.module.blossom.web

Class Tests Errors Failures Skipped Success Rate Time
BlossomRequestMappingHandlerAdapterTest 6 0 0 0 100% 0.334
BlossomWebArgumentResolverTest 10 0 0 0 100% 0.074
BlossomHandlerMethodArgumentResolverTest 10 0 0 0 100% 0.204

info.magnolia.module.blossom.node2bean

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

info.magnolia.module.blossom.dialog

Class Tests Errors Failures Skipped Success Rate Time
DialogDescriptionBuilderTest 2 0 0 0 100% 0
BlossomDialogDefinitionProviderTest 4 0 0 0 100% 0.001
DialogCreatorDefinitionDecoratorTest 5 0 0 0 100% 0.335
DialogExporterTest 5 0 0 0 100% 0.051
DefaultDialogCreatorTest 14 0 0 0 100% 0.098

info.magnolia.module.blossom.multipart

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

info.magnolia.module.blossom.template

Class Tests Errors Failures Skipped Success Rate Time
TemplateDefinitionBuilderTest 9 0 0 0 100% 0.088
TemplateDefinitionBuilderAutoGeneratorTest 6 0 0 0 100% 0.039
TemplateExporterTest 5 0 0 0 100% 0.117
ComponentCategoryAnnotationTest 1 0 0 0 100% 0.16
BlossomTemplateDefinitionProviderTest 2 0 0 0 100% 0.002
TemplateDefinitionBuilderParametersTest 4 0 0 0 100% 0.027
TemplateDefinitionBuilderAvailableTest 6 0 0 0 100% 0.046

Test Cases

[Summary] [Package List] [Test Cases]

BlossomVirtualURIMapperTest

testBeanDetectionWithProxies 0.043
testBeanDetection 0.016

TemplateDefinitionBuilderTest

testTemplateDescription 0.017
testTemplateDescriptionWithFlags 0.009
testMissingTemplateAnnotation 0.006
testMaximumComponents 0.024
testMaximumComponentsNullWhenNotSet 0.008
testFindsAreasInSuperclass 0.007
testCreateAreaNodeSetToTrue 0.005
testCreateAreaNodeSetToFalse 0.005
testCreateAreaNodeNotSet 0.006

TemplateDefinitionBuilderAutoGeneratorTest

testAutoGenerator 0.007
testAutoGeneratorOverriding 0.006
testAutoGeneratorInheritance 0.007
testAutoGeneratorOverridingWithAnnotation 0.004
testAutoGeneratorInheritsAndOverridesWithAnnotation 0.006
testMultipleAutoGenerators 0.007

DialogDescriptionBuilderTest

testStaticTabFactory 0
testPostCreateOnStaticMethodFails 0

MagnoliaComponentFactoryBeanTest

testStuff 0.025

AbstractBeanDetectorTest

testBeanDetection 0.025

ParameterResolverTest

testChaining 0

TemplateExporterTest

testExportTemplate 0.036
testExportTemplateWithPreRegisterCallbackThatReturnsNull 0.009
testExportTemplateWithAreaWithPreRegisterCallbackThatReturnsNull 0.012
testTemplateAreaAndDialogRegistrationCallbacks 0.017
exportedTemplateDialogsHaveGeneratedFieldsWhenAccessedFromAnApp 0.042

UuidRedirectViewResolverTest

testRedirect 0.026
testRedirectMainContent 0.008
testRedirectCurrentContent 0.009
testRedirectWithModelAttributesExposed 0.014
testRedirectWithoutModelAttributesExposed 0.007

IncludeRequestWrapperTest

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

PreexecutionUtilsTest

testIsPreexecutingReturnsFalseWhenPreexecutionContextIsNotSet 0.612
testIsPreexecutingReturnsFalseWhenPreexecutighOtherNode 0.028
testIsPreexecutingReturnsTrueWhenPreexecutingCurrentNode 0.017
testRepositoryExceptionIsWrappedInRuntimeRepositoryException 0.146

ComponentCategoryAnnotationTest

test 0.16

MagnoliaMessageSourceTest

testGetMessageThrowsExceptionWhenMessageMissingInDefaultBundle 0.133
testGetMessageThrowsExceptionWhenMessageMissingInConfiguredBundle 0.016
testGetMessageFromDefaultBundle 0.016
testGetMessageFromConfiguredBundle 0.016
testGetMessageGivesPreferenceToConfiguredBundle 0.015
testGetMessageUsesPassedLocaleByDefault 0.017
testGetMessageCanPreferMagnoliaLocale 0.013
testGetMessageUsesConfiguredLocaleProvider 0.015
testGetMessageWithMessageFormat 0.014

BlossomDialogDefinitionProviderTest

metadataForDialogWithIdInCompositeFormHasMetadataPopulated 0
metadataForDialogWithIdInSimpleFormHasMetadataPopulated 0
metadataForDialogWithGenereatedIdHasMetadataPopulated 0
metadataHasLocationSetWithFactoryMethodPopulated 0

ForwardRequestWrapperTest

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

MultiCheckAndModifyPropertyValueTaskTest

testChangesWhenSetToOldName 0.005
testChangesWhenSetToOldName2 0.001
testChangesWhenSetToOldName3 0
testChangesNothingWhenAlreadyCorrect 0.001
testChangesNothingWhenSetToUnexpectedValue 0.001

BlossomTemplateDefinitionProviderTest

metadataForTemplateWithIdInCompositeFormHasMetadataPopulated 0.001
metadataForTemplateWithIdInSimpleFormHasMetadataPopulated 0

BlossomRequestMappingHandlerAdapterTest

testRedirectViewDetection 0.228
testRedirectViewDetectionWithCustomPatterns 0.019
testArgumentResolversResolvesContext 0.041
testArgumentResolversResolvesWebContext 0.018
testArgumentResolversResolvesUser 0.012
testArgumentResolversResolvesMgnlUser 0.015

TemplateDefinitionBuilderParametersTest

parametersAreFoundInAnnotations 0
parametersAreFoundInSuperclassAndThatSubclassOverrides 0.01
parametersAreFoundOnAreas 0.009
parametersOnAreasAreFoundInSuperclassAndThatSubclassOverrides 0.007

SpecialAttributeRequestWrapperTest

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

DialogCreatorDefinitionDecoratorTest

createDialogOnlyWhenDialogCreationContextIsReadyInOldPagesApp 0.092
createDialogWhenDialogCreationContextIsReadyInOldContentApp 0.008
dontCreateDialogInDefinitionsApp 0.214
dontFailIfOutOfAppContext 0.01
createDialogEagerlyInNewPagesApp 0.008

ConfiguredBeanFactoryBeanTest

testDefaultClass 0.038
testInstantiationInitializationAndDestruction 0.034

BlossomMultipartResolverTest

testResolver 0.023

ObservedBeanFactoryBeanTest

testInstantiationInitializationReloadingAndDestruction 1.597
testDefaultClass 0.049
testJdkProxy 0.045

MassiveTest

testMassively 0.097

DispatcherAwareBeanPostProcessorTest

testDispatcherAware 0.004

DialogExporterTest

testExportDialogFactory 0.007
testExportDialogFactoryThatReturnsNull 0.008
testExportDialogFactoryWithPreRegisterCallback 0.009
testExportDialogFactoryWithOverriddenPreRegisterCallback 0.012
testExportDialogFactoryWithPreRegisterThatAddsMessageToMessageFromSuperclass 0.012

BlossomWebArgumentResolverTest

testAggregationState 0.005
testNodeAsArgument 0.01
testTwoArgumentsOfTypeNode 0.006
testUserAsArgument 0.007
testTemplateDefinitionAsArgument 0.006
testBlossomTemplateDefinitionAsArgument 0.006
testAreaDefinitionAsArgument 0.008
testBlossomAreaDefinitionAsArgument 0.009
testChannelAsArgument 0.008
testSiteAndThemeAsArguments 0.007

DetectProxiedObjectsTest

testDetectsProxiedObjects 0.048

TemplateDefinitionBuilderAvailableTest

testTemplateAvailability 0.005
testAvailableOverriding 0.009
testAvailableInheritance 0.006
testAvailableOverridingWithAnnotation 0.009
testAvailableInheritsAndOverridesWithAnnotation 0.008
testAvailableMultiple 0.007

DefaultDialogCreatorTest

testSimpleFactory 0.009
testInheritingFactory 0.008
testDialogFactoryOnMethod 0.009
testDialogFactoryThatNeedsItem 0.009
testDialogFactoryWithTabFactoryThatNeedsItem 0.006
testPostCreateIsInvokedOnSuperclassesFirst 0.007
testPostCreateOnMethodInSuperclassThatIsOverriddenIsInvokedFirst 0.005
testPostCreateIsNotInvokedIfMethodIsOverriddenWithoutRepeatingAnnotation 0.005
testPostCreateIsInvokedWithArguments 0.007
testPostCreateForAfterSubclassesPhaseIsInvokedLast 0.006
testSortTabsByName 0.008
testSortTabsByLabel 0.007
testSetsBothLabelAndNameByDefault 0.006
testSetsNoLabelIfAskedNotTo 0.005

BlossomHandlerMethodArgumentResolverTest

testAggregationState 0.007
testNodeAsArgument 0.009
testTwoArgumentsOfTypeNode 0.008
testUserAsArgument 0.086
testTemplateDefinitionAsArgument 0.011
testBlossomTemplateDefinitionAsArgument 0.019
testAreaDefinitionAsArgument 0.01
testBlossomAreaDefinitionAsArgument 0.021
testChannelAsArgument 0.008
testSiteAndThemeAsArguments 0.023

SpringNode2BeanTransformerTest

testContentToBeanWithClassDefined 0.029