Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
249 0 0 4 98.394% 12.288

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.templating.freemarker 21 0 0 0 100% 1.835
info.magnolia.templating.module.setup 1 0 0 0 100% 4.726
info.magnolia.templating.functions 151 0 0 0 100% 1.497
info.magnolia.templating.elements 64 0 0 4 93.75% 3.109
info.magnolia.templating.renderers 4 0 0 0 100% 0.058
info.magnolia.templating.inheritance 8 0 0 0 100% 1.063

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

info.magnolia.templating.freemarker

Class Tests Errors Failures Skipped Success Rate Time
AbstractDirectiveTest 2 0 0 0 100% 0.07
AreaDirectiveTest 10 0 0 0 100% 1.32
ComponentDirectiveTest 2 0 0 0 100% 0.094
InitDirectiveTest 3 0 0 0 100% 0.236
ReadOnlyComponentDirectiveTest 1 0 0 0 100% 0.036
RenderableDefinitionModelTest 3 0 0 0 100% 0.079

info.magnolia.templating.module.setup

Class Tests Errors Failures Skipped Success Rate Time
TemplatingModuleVersionHandlerTest 1 0 0 0 100% 4.726

info.magnolia.templating.functions

Class Tests Errors Failures Skipped Success Rate Time
TemplatingFunctionsMetaDataTest 22 0 0 0 100% 0.024
TemplatingFunctionsTest 129 0 0 0 100% 1.473

info.magnolia.templating.elements

Class Tests Errors Failures Skipped Success Rate Time
AbstractContentTemplatingElementTest 3 0 0 0 100% 1.052
AbstractTemplateElementTest 8 0 0 2 75% 0.329
AreaElementCanRenderAreaTest 6 0 0 0 100% 0.277
AreaElementComponentsTest 5 0 0 0 100% 0.185
AreaElementTest 22 0 0 0 100% 0.921
ComponentElementTest 10 0 0 0 100% 0.2
InitElementTest 7 0 0 2 71.429% 0.143
MarkupHelperTest 3 0 0 0 100% 0.002

info.magnolia.templating.renderers

Class Tests Errors Failures Skipped Success Rate Time
NoScriptRendererTest 2 0 0 0 100% 0.036
PlainTextRendererTest 2 0 0 0 100% 0.022

info.magnolia.templating.inheritance

Class Tests Errors Failures Skipped Success Rate Time
DefaultInheritanceContentDecoratorTest 8 0 0 0 100% 1.063

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext 1.009
testSetAttributesInWebContext 0.018
testGetTargetContent 0.025

AbstractTemplateElementTest

testCurrentContent 0.035
testUsesDefaultBundleIfNotSpecified 0.16
testGetsCustomMessageCustomBundleWithPageTemplate 0.026
testUsesDefaultBundleIfNoMetadata 0.032
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph 0.018
testDefaultMessageFromCustomBundleWithPageTemplate 0.02
testUsesDefaultBundleIfNotRenderableDefinition 0.021
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph 0.017

AreaElementCanRenderAreaTest

test1 0.037
test2 0.052
test3 0.025
test4 0.027
test5 0.096
test6 0.04

AreaElementComponentsTest

testMaxComponentsNotSet 0.051
testShouldShowAddButtonTypeSingle 0.049
testMaxComponentsNotReached 0.029
testShouldShowAddButtonTypeNoComponent 0.029
testMaxComponentsReached 0.027

AreaElementTest

testBeginWithConfFromTemplateDefinition 0.021
testBeginWithEditable 0.013
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch 0.018
testEndWithAllowedInheritButNullInheritConfig 0.03
testEndWithConfFromTemplateDefinition 0.023
testBeginCreateNodeArea 0.046
testDontRenderCmsCommentsInPreviewMode 0.035
testBeginSimple 0.036
testUseAreaI18nBaseNameIfPossible 0.058
testDoNotFailOnNPEDuringCanRenderAreaScript 0.263
testSingleAreaWithMoreComponentsShouldNotFail 0.061
testBeginWithInheritence 0.041
testResolveTemplateDefinitionConsidersVariation 0.04
testTryToCreateAreaNode 0.019
testUseParentI18nBaseNameIfAreaBaseNameIsNotSpecified 0.032
testBeginWithCreateAreaNodeAttribute 0.019
testAvailableComponentsForSuperuser 0.046
testRenderCmsCommentsWhenBeeingInEditMode 0.021
testBeginWithCreateAreaNodeAttributeIsNotSetFallbackToDefaultValueTrue 0.031
testListAndSingleTypeComponentsAreNotRenderedIfTheyHaventAnyChildComponentsAndRenderingOfTheseAreasIsDisabled 0.019
testBeginGetContentFromParent 0.025
testAvailableComponentsForEditor 0.024

ComponentElementTest

testRenderBeginAll 0.034
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch 0.013
testRenderBeginWithEditable 0.022
testDontRenderCmsCommentsInPreviewMode 0.012
testRenderWithoutComment 0.017
testResolvePermissionsFromTemplate 0.022
testRenderBeginOnlyContent 0.019
testResolvePermissionsFromTemplateAvailability 0.026
testRenderCmsCommentsWhenBeeingInEditMode 0.02
testPostRender 0.015

InitElementTest

testOutputEndPart 0.021
testOutputContainsContent 0.017
testOutputContainsGwtLocaleMetaProperty 0.016
testOutputContainsContentAndDialog 0.021
testOutputContainsPageEditorStyles 0.021
See SCRUM-1239. Will most likely be removed in 5.0
testOutputContainsPageEditorJavascript 0.021
See SCRUM-1239. Will most likely be removed in 5.0
testOutputWithoutContent 0.026

MarkupHelperTest

testNullContentAsEmptyString 0
testParam 0
testParamsKeepCamelCaseNotation 0

AbstractDirectiveTest

testInitContentComponent 0.028
testBodyCheck 0.042

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached 0.835
testCreateAreaNodeIsNotSetFallbackToDefaultValueTrue 0.061
testCreateAreaNodeIsNotSetInDirectiveButIsSetInAreaDefinition 0.051
testRenderSimpleBarWithoutAreaNode 0.05
testRenderSimpleBar 0.045
testDontShowAddButtonWhenMaxComponentsIsReached 0.062
testCreateAreaNodeSetToFalse 0.058
testCreateAreaNodeSetToTrue 0.062
testDontShowBarWhenAreaIsHasNoComponentType 0.043
testRenderNoBar 0.053

ComponentDirectiveTest

testRenderSimpleBar 0.042
testRenderWithDialog 0.052

InitDirectiveTest

testRenderWithContent 0.053
testRenderWithContentAndDialog 0.059
testRenderSimpleBar 0.124

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment 0.036

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters 0.041
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties 0.015
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded 0.023

TemplatingFunctionsMetaDataTest

testDeprecatedActivatorId 0.009
testDeprecatedActivated 0.001
testDeprecatedLastAction 0.002
testDeprecatedTemplate 0.001
testLastModified 0.001
testTemplate 0
testDeprecatedTitle 0
testActivationStatus 0.001
testLastModifiedBy 0
testDeprecatedCreationDate 0
testLastActivated 0
testDeletedBy 0.001
testUnknownPropertyThrowsException 0
testCreated 0.007
testDeprecatedLastModified 0
testLastActivatedBy 0
testDeleted 0
testVersionableComment 0
testDeprecatedAuthorId 0
testCreatedBy 0
testDeletedComment 0.001
testDeprecatedTemplateType 0

TemplatingFunctionsTest

testExternalLinkFromNodeNoProtocol 0.011
testNonExistingInheritedRelPathShouldReturnNull 0.024
testAncestorsFromContentMapDepth1 0.008
testPageFromComponentNodeDepth2 0.022
testPageFromComponentNodeDepth3 0.007
testGetNodeByPath 0.008
testIsAuthorInstanceTrue 0.007
testConfiguredInheritance 0.008
testRootPageFromPageContentMapDepth1 0.014
testRootPageFromPageContentMapDepth2 0.021
testRootPageFromPageContentMapDepth3 0.01
testGetNodeById 0.008
testLinkForIdentifierFromNodeDepth1 0.012
testLinkForIdentifierFromNodeDepth2 0.012
testParentComponentFromPageNode 0.007
testAsContentMapList 0.009
testLinkFromContentMapDepth1 0.112
testLinkFromContentMapDepth2 0.008
testAncestorPagesFromComponentNodeDepth4 0.007
testPageContentMapHavingNoParentPageShouldBeNull 0.006
testEncodeNode 0.012
testPageFromNodeDepth1 0.009
testPageFromNodeDepth2 0.011
testGetQueryStringAndFragmentOnlyQuery 0.017
testIsEditModeAuthorAndPreview 0.013
testPageFromRootShouldBeNull 0.007
testAncestorsFromNodeDepth1 0.01
testExternalLinkTitleFromContentMapWithTitle 0.019
testAncestorsFromComponentNodeDepth2 0.007
testAncestorPagesFromComponentContentMapDepth4 0.017
testLanguage 0.007
testParentFromRootNodeShouldBeNull 0.016
testGetQueryStringAndFragmentSimpleOnlyFragment 0.013
testEncodeContent 0.013
testIsEditModeAuthorAndNotPreview 0.007
testAsContentMapfromNode 0.006
testRootPageFromPageNodeDepth1 0.008
testRootPageFromPageNodeDepth2 0.007
testRootPageFromPageNodeDepth3 0.007
testChildrenFromNode 0.016
testSiblingsContentMap 0.008
testPageContentMapFromRootShouldBeNull 0.009
testIsAuthorInstanceFalse 0.01
testLinkForPropertyFromNodeDepth1 0.01
testLinkForPropertyFromNodeDepth2 0.008
testAncestorsFromComponentContentMapDepth2 0.013
testGetQueryStringAndFragmentSimple 0.008
testGetContentByPathWithQuerystring 0.009
testIsEditModeNotAuthorAndNotPreview 0.007
testAncestorPagesFromSubComponentNodeDepth5 0.008
testRootFromPageContentMapDepth1 0.009
testRootFromPageContentMapDepth2 0.012
testRootFromPageContentMapDepth3 0.012
testChildrenFromNodeAndTypePage 0.01
testExternalLinkTitleFromNodeNoTitleSet 0.008
testRootFromComponentNodeDepth1 0.008
testRootFromComponentNodeDepth2 0.011
testAncestorPagesFromSubComponentConentMapDepth5 0.018
testGetContentByIdentifier 0.008
testNodeIsInherited 0.009
testCreateHtmlAttributeNoValue 0.014
testInheritFromContentMapOnlyContentMap 0.01
testPageHavingNoParentPageShouldBeNull 0.007
testParentPageFromPageContentMap 0.007
testChildrenFromContentMapAndTypeComponent 0.007
testExternalLinkTitleFromNodeWithTitle 0.009
testAncestorsFromSubComponentConentMapDepth5 0.023
testRootPageFromComponentNodeDepth1 0.009
testRootPageFromComponentNodeDepth2 0.02
testParentComponentFromPageContentMap 0.014
testParentPageFromPageNode 0.009
testRootPageFromComponentContentMapDepth1 0.008
testRootPageFromComponentContentMapDepth2 0.006
testAncestorPagesFromNodeDepth1 0.012
testGetQueryStringAndFragmentBoth 0.006
testAncestorPagesFromContentMapDepth1 0.007
testParentFromRootContentMapShouldBeNull 0.007
testParentPageFromComponentNodeDepth1 0.011
testParentPageFromComponentNodeDepth2 0.007
testParentPageFromComponentNodeDepth3 0.019
testRootFromPageNodeDepth1 0.013
testRootFromPageNodeDepth2 0.011
testRootFromPageNodeDepth3 0.011
testGetNodeByPathWithQuerystring 0.014
testExternalLinkTitleFromContentMapNoTitleSet 0.01
testSiblings 0.007
testInheritFromNode 0.007
testInheritFromContentMap 0.009
testContentMapIsInherited 0.009
testIsEditModeNotAuthorAndPreview 0.008
testInheritFromNodeOnlyContent 0.016
testAncestorsFromSubComponentNodeDepth5 0.008
testChildrenFromContentMapAndTypePage 0.006
testParentFromNodeDepth1 0.007
testParentFromNodeDepth2 0.009
testParentPageFromContentMapDepth1 0.012
testAsNodeList 0.01
testParentPageFromComponentContentMapDepth1 0.009
testParentPageFromComponentContentMapDepth2 0.01
testParentPageFromComponentContentMapDepth3 0.011
testInheritedNodeIsUnwrapped 0.016
testCreateHtmlAttribute 0.007
testContentMapIsFromCurrentPage 0.011
testGetContentByPath 0.007
testPageFromComponentContentMapDepth2 0.008
testPageFromComponentContentMapDepth3 0.009
testPageFromContentMapDepth1 0.012
testPageFromContentMapDepth2 0.01
testParentFromContentMapDepth1 0.009
testParentFromContentMapDepth2 0.016
testIsPublicInstanceTrue 0.01
testAsJCRNodeFromContentMap 0.008
testExternalLinkFromContentMapNoProtocol 0.011
testChildrenFromNodeAndTypeComponent 0.016
testNonExistingInheritedPropertyShouldReturnNull 0.011
testExternalLinkFromNodeWithProtocol 0.012
testInheritFromNodeNoContent 0.014
testExternalLinkFromContentMapWithProtocol 0.013
testIsPreviewModeTrue 0.009
testRootFromComponentContentMapDepth1 0.013
testRootFromComponentContentMapDepth2 0.013
testLinkFromNodeDepth1 0.012
testLinkFromNodeDepth2 0.019
testChildrenFromContentMap 0.009
testIsPreviewModeFalse 0.008
testIsPublicInstanceFalse 0.015
testGetContentById 0.009
testParentPageFromNodeDepth1 0.01
testNodeIsFromCurrentPage 0.009

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision 0.565
testComponentInheritance 0.1
testPropertyInheritanceWithInheritanceDisabled 0.107
testDisabledPropertyInheritance 0.051
testMultiLevelPropertyInheritance 0.065
testDoesNothingOnTopLevelPage 0.055
testResourcesInheritance 0.052
testPropertyInheritance 0.068

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_6 4.726

NoScriptRendererTest

testRenderListOfComponents 0.024
testRenderSingleComponent 0.012

PlainTextRendererTest

testRenderInPreview 0.013
testRender 0.009

Failure Details

[Summary] [Package List] [Test Cases]


testUsesDefaultBundleIfNoMetadata
skipped: TODO: check expectation here
testUsesDefaultBundleIfNotRenderableDefinition
skipped: TODO: check expectation here
testOutputContainsPageEditorStyles
skipped: See SCRUM-1239. Will most likely be removed in 5.0
testOutputContainsPageEditorJavascript
skipped: See SCRUM-1239. Will most likely be removed in 5.0