Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.888
info.magnolia.templating.module.setup 1 0 0 0 100% 2.63
info.magnolia.templating.functions 151 0 0 0 100% 0.944
info.magnolia.templating.elements 64 0 0 4 93.75% 1.504
info.magnolia.templating.renderers 4 0 0 0 100% 0.039
info.magnolia.templating.inheritance 8 0 0 0 100% 0.462

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.032
AreaDirectiveTest 10 0 0 0 100% 0.672
ComponentDirectiveTest 2 0 0 0 100% 0.047
InitDirectiveTest 3 0 0 0 100% 0.079
ReadOnlyComponentDirectiveTest 1 0 0 0 100% 0.024
RenderableDefinitionModelTest 3 0 0 0 100% 0.034

info.magnolia.templating.module.setup

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

info.magnolia.templating.functions

Class Tests Errors Failures Skipped Success Rate Time
TemplatingFunctionsMetaDataTest 22 0 0 0 100% 0.008
TemplatingFunctionsTest 129 0 0 0 100% 0.936

info.magnolia.templating.elements

Class Tests Errors Failures Skipped Success Rate Time
AbstractContentTemplatingElementTest 3 0 0 0 100% 0.566
AbstractTemplateElementTest 8 0 0 2 75% 0.221
AreaElementCanRenderAreaTest 6 0 0 0 100% 0.116
AreaElementComponentsTest 5 0 0 0 100% 0.082
AreaElementTest 22 0 0 0 100% 0.349
ComponentElementTest 10 0 0 0 100% 0.103
InitElementTest 7 0 0 2 71.429% 0.066
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.022
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.462

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext 0.533
testSetAttributesInWebContext 0.018
testGetTargetContent 0.015

AbstractTemplateElementTest

testCurrentContent 0.023
testUsesDefaultBundleIfNotSpecified 0.086
testGetsCustomMessageCustomBundleWithPageTemplate 0.024
testUsesDefaultBundleIfNoMetadata 0.026
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph 0.018
testDefaultMessageFromCustomBundleWithPageTemplate 0.016
testUsesDefaultBundleIfNotRenderableDefinition 0.016
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph 0.012

AreaElementCanRenderAreaTest

test1 0.027
test2 0.026
test3 0.013
test4 0.011
test5 0.024
test6 0.015

AreaElementComponentsTest

testMaxComponentsNotSet 0.024
testShouldShowAddButtonTypeSingle 0.015
testMaxComponentsNotReached 0.015
testShouldShowAddButtonTypeNoComponent 0.012
testMaxComponentsReached 0.016

AreaElementTest

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

ComponentElementTest

testRenderBeginAll 0.013
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch 0.011
testRenderBeginWithEditable 0.012
testDontRenderCmsCommentsInPreviewMode 0.008
testRenderWithoutComment 0.008
testResolvePermissionsFromTemplate 0.009
testRenderBeginOnlyContent 0.009
testResolvePermissionsFromTemplateAvailability 0.01
testRenderCmsCommentsWhenBeeingInEditMode 0.011
testPostRender 0.012

InitElementTest

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

MarkupHelperTest

testNullContentAsEmptyString 0
testParam 0.001
testParamsKeepCamelCaseNotation 0

AbstractDirectiveTest

testInitContentComponent 0.013
testBodyCheck 0.019

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached 0.444
testCreateAreaNodeIsNotSetFallbackToDefaultValueTrue 0.03
testCreateAreaNodeIsNotSetInDirectiveButIsSetInAreaDefinition 0.027
testRenderSimpleBarWithoutAreaNode 0.026
testRenderSimpleBar 0.024
testDontShowAddButtonWhenMaxComponentsIsReached 0.023
testCreateAreaNodeSetToFalse 0.025
testCreateAreaNodeSetToTrue 0.024
testDontShowBarWhenAreaIsHasNoComponentType 0.022
testRenderNoBar 0.027

ComponentDirectiveTest

testRenderSimpleBar 0.025
testRenderWithDialog 0.022

InitDirectiveTest

testRenderWithContent 0.021
testRenderWithContentAndDialog 0.03
testRenderSimpleBar 0.028

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment 0.024

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters 0.021
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties 0.006
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded 0.007

TemplatingFunctionsMetaDataTest

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

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision 0.216
testComponentInheritance 0.054
testPropertyInheritanceWithInheritanceDisabled 0.035
testDisabledPropertyInheritance 0.032
testMultiLevelPropertyInheritance 0.031
testDoesNothingOnTopLevelPage 0.031
testResourcesInheritance 0.029
testPropertyInheritance 0.034

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_6 2.63

NoScriptRendererTest

testRenderListOfComponents 0.013
testRenderSingleComponent 0.009

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