Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
248 0 0 4 98.387% 5.575

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% 0.819
info.magnolia.templating.module.setup 1 0 0 0 100% 2.466
info.magnolia.templating.functions 150 0 0 0 100% 0.665
info.magnolia.templating.elements 64 0 0 4 93.75% 1.199
info.magnolia.templating.renderers 4 0 0 0 100% 0.036
info.magnolia.templating.inheritance 8 0 0 0 100% 0.39

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.024
AreaDirectiveTest 10 0 0 0 100% 0.623
ComponentDirectiveTest 2 0 0 0 100% 0.048
InitDirectiveTest 3 0 0 0 100% 0.076
ReadOnlyComponentDirectiveTest 1 0 0 0 100% 0.025
RenderableDefinitionModelTest 3 0 0 0 100% 0.023

info.magnolia.templating.module.setup

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

info.magnolia.templating.functions

Class Tests Errors Failures Skipped Success Rate Time
TemplatingFunctionsMetaDataTest 22 0 0 0 100% 0.007
TemplatingFunctionsTest 128 0 0 0 100% 0.658

info.magnolia.templating.elements

Class Tests Errors Failures Skipped Success Rate Time
AbstractContentTemplatingElementTest 3 0 0 0 100% 0.42
AbstractTemplateElementTest 8 0 0 2 75% 0.195
AreaElementCanRenderAreaTest 6 0 0 0 100% 0.099
AreaElementComponentsTest 5 0 0 0 100% 0.069
AreaElementTest 22 0 0 0 100% 0.287
ComponentElementTest 10 0 0 0 100% 0.08
InitElementTest 7 0 0 2 71.429% 0.048
MarkupHelperTest 3 0 0 0 100% 0.001

info.magnolia.templating.renderers

Class Tests Errors Failures Skipped Success Rate Time
NoScriptRendererTest 2 0 0 0 100% 0.019
PlainTextRendererTest 2 0 0 0 100% 0.017

info.magnolia.templating.inheritance

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

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext 0.395
testSetAttributesInWebContext 0.013
testGetTargetContent 0.012

AbstractTemplateElementTest

testCurrentContent 0.023
testUsesDefaultBundleIfNotSpecified 0.058
testGetsCustomMessageCustomBundleWithPageTemplate 0.026
testUsesDefaultBundleIfNoMetadata 0.027
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph 0.017
testDefaultMessageFromCustomBundleWithPageTemplate 0.015
testUsesDefaultBundleIfNotRenderableDefinition 0.016
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph 0.013

AreaElementCanRenderAreaTest

test1 0.021
test2 0.018
test3 0.011
test4 0.011
test5 0.024
test6 0.014

AreaElementComponentsTest

testMaxComponentsNotSet 0.021
testShouldShowAddButtonTypeSingle 0.011
testMaxComponentsNotReached 0.013
testShouldShowAddButtonTypeNoComponent 0.009
testMaxComponentsReached 0.015

AreaElementTest

testBeginWithConfFromTemplateDefinition 0.012
testBeginWithEditable 0.009
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch 0.01
testEndWithAllowedInheritButNullInheritConfig 0.01
testEndWithConfFromTemplateDefinition 0.011
testBeginCreateNodeArea 0.009
testDontRenderCmsCommentsInPreviewMode 0.007
testBeginSimple 0.009
testUseAreaI18nBaseNameIfPossible 0.015
testDoNotFailOnNPEDuringCanRenderAreaScript 0.07
testSingleAreaWithMoreComponentsShouldNotFail 0.016
testBeginWithInheritence 0.01
testResolveTemplateDefinitionConsidersVariation 0.013
testTryToCreateAreaNode 0.01
testUseParentI18nBaseNameIfAreaBaseNameIsNotSpecified 0.009
testBeginWithCreateAreaNodeAttribute 0.009
testAvailableComponentsForSuperuser 0.011
testRenderCmsCommentsWhenBeeingInEditMode 0.009
testBeginWithCreateAreaNodeAttributeIsNotSetFallbackToDefaultValueTrue 0.01
testListAndSingleTypeComponentsAreNotRenderedIfTheyHaventAnyChildComponentsAndRenderingOfTheseAreasIsDisabled 0.009
testBeginGetContentFromParent 0.009
testAvailableComponentsForEditor 0.01

ComponentElementTest

testRenderBeginAll 0.009
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch 0.007
testRenderBeginWithEditable 0.008
testDontRenderCmsCommentsInPreviewMode 0.008
testRenderWithoutComment 0.007
testResolvePermissionsFromTemplate 0.008
testRenderBeginOnlyContent 0.008
testResolvePermissionsFromTemplateAvailability 0.009
testRenderCmsCommentsWhenBeeingInEditMode 0.008
testPostRender 0.008

InitElementTest

testOutputEndPart 0.007
testOutputContainsContent 0.007
testOutputContainsGwtLocaleMetaProperty 0.006
testOutputContainsContentAndDialog 0.007
testOutputContainsPageEditorStyles 0.007
See SCRUM-1239. Will most likely be removed in 5.0
testOutputContainsPageEditorJavascript 0.007
See SCRUM-1239. Will most likely be removed in 5.0
testOutputWithoutContent 0.007

MarkupHelperTest

testNullContentAsEmptyString 0
testParam 0.001
testParamsKeepCamelCaseNotation 0

AbstractDirectiveTest

testInitContentComponent 0.01
testBodyCheck 0.014

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached 0.384
testCreateAreaNodeIsNotSetFallbackToDefaultValueTrue 0.03
testCreateAreaNodeIsNotSetInDirectiveButIsSetInAreaDefinition 0.029
testRenderSimpleBarWithoutAreaNode 0.029
testRenderSimpleBar 0.027
testDontShowAddButtonWhenMaxComponentsIsReached 0.027
testCreateAreaNodeSetToFalse 0.026
testCreateAreaNodeSetToTrue 0.024
testDontShowBarWhenAreaIsHasNoComponentType 0.024
testRenderNoBar 0.023

ComponentDirectiveTest

testRenderSimpleBar 0.024
testRenderWithDialog 0.024

InitDirectiveTest

testRenderWithContent 0.033
testRenderWithContentAndDialog 0.022
testRenderSimpleBar 0.021

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment 0.025

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters 0.011
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties 0.006
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded 0.006

TemplatingFunctionsMetaDataTest

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

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision 0.166
testComponentInheritance 0.042
testPropertyInheritanceWithInheritanceDisabled 0.032
testDisabledPropertyInheritance 0.031
testMultiLevelPropertyInheritance 0.029
testDoesNothingOnTopLevelPage 0.03
testResourcesInheritance 0.029
testPropertyInheritance 0.031

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_6 2.466

NoScriptRendererTest

testRenderListOfComponents 0.011
testRenderSingleComponent 0.008

PlainTextRendererTest

testRenderInPreview 0.01
testRender 0.007

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