Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.875
info.magnolia.templating.module.setup 1 0 0 0 100% 1.955
info.magnolia.templating.functions 150 0 0 0 100% 0.515
info.magnolia.templating.elements 64 0 0 4 93.75% 1.218
info.magnolia.templating.renderers 4 0 0 0 100% 0.025
info.magnolia.templating.inheritance 8 0 0 0 100% 0.395

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.673
ComponentDirectiveTest 2 0 0 0 100% 0.058
InitDirectiveTest 3 0 0 0 100% 0.066
ReadOnlyComponentDirectiveTest 1 0 0 0 100% 0.025
RenderableDefinitionModelTest 3 0 0 0 100% 0.021

info.magnolia.templating.module.setup

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

info.magnolia.templating.functions

Class Tests Errors Failures Skipped Success Rate Time
TemplatingFunctionsMetaDataTest 22 0 0 0 100% 0.003
TemplatingFunctionsTest 128 0 0 0 100% 0.512

info.magnolia.templating.elements

Class Tests Errors Failures Skipped Success Rate Time
AbstractContentTemplatingElementTest 3 0 0 0 100% 0.425
AbstractTemplateElementTest 8 0 0 2 75% 0.176
AreaElementCanRenderAreaTest 6 0 0 0 100% 0.15
AreaElementComponentsTest 5 0 0 0 100% 0.057
AreaElementTest 22 0 0 0 100% 0.273
ComponentElementTest 10 0 0 0 100% 0.092
InitElementTest 7 0 0 2 71.429% 0.045
MarkupHelperTest 3 0 0 0 100% 0

info.magnolia.templating.renderers

Class Tests Errors Failures Skipped Success Rate Time
NoScriptRendererTest 2 0 0 0 100% 0.014
PlainTextRendererTest 2 0 0 0 100% 0.011

info.magnolia.templating.inheritance

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

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext 0.407
testSetAttributesInWebContext 0.008
testGetTargetContent 0.01

AbstractTemplateElementTest

testCurrentContent 0.024
testUsesDefaultBundleIfNotSpecified 0.053
testGetsCustomMessageCustomBundleWithPageTemplate 0.016
testUsesDefaultBundleIfNoMetadata 0.017
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph 0.019
testDefaultMessageFromCustomBundleWithPageTemplate 0.015
testUsesDefaultBundleIfNotRenderableDefinition 0.015
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph 0.017

AreaElementCanRenderAreaTest

test1 0.045
test2 0.027
test3 0.013
test4 0.024
test5 0.029
test6 0.012

AreaElementComponentsTest

testMaxComponentsNotSet 0.017
testShouldShowAddButtonTypeSingle 0.008
testMaxComponentsNotReached 0.012
testShouldShowAddButtonTypeNoComponent 0.008
testMaxComponentsReached 0.012

AreaElementTest

testBeginWithConfFromTemplateDefinition 0.011
testBeginWithEditable 0.007
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch 0.007
testEndWithAllowedInheritButNullInheritConfig 0.01
testEndWithConfFromTemplateDefinition 0.009
testBeginCreateNodeArea 0.009
testDontRenderCmsCommentsInPreviewMode 0.007
testBeginSimple 0.008
testUseAreaI18nBaseNameIfPossible 0.014
testDoNotFailOnNPEDuringCanRenderAreaScript 0.074
testSingleAreaWithMoreComponentsShouldNotFail 0.009
testBeginWithInheritence 0.008
testResolveTemplateDefinitionConsidersVariation 0.014
testTryToCreateAreaNode 0.014
testUseParentI18nBaseNameIfAreaBaseNameIsNotSpecified 0.008
testBeginWithCreateAreaNodeAttribute 0.008
testAvailableComponentsForSuperuser 0.013
testRenderCmsCommentsWhenBeeingInEditMode 0.008
testBeginWithCreateAreaNodeAttributeIsNotSetFallbackToDefaultValueTrue 0.008
testListAndSingleTypeComponentsAreNotRenderedIfTheyHaventAnyChildComponentsAndRenderingOfTheseAreasIsDisabled 0.011
testBeginGetContentFromParent 0.007
testAvailableComponentsForEditor 0.009

ComponentElementTest

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

InitElementTest

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

MarkupHelperTest

testNullContentAsEmptyString 0
testParam 0
testParamsKeepCamelCaseNotation 0

AbstractDirectiveTest

testInitContentComponent 0.012
testBodyCheck 0.02

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached 0.408
testCreateAreaNodeIsNotSetFallbackToDefaultValueTrue 0.03
testCreateAreaNodeIsNotSetInDirectiveButIsSetInAreaDefinition 0.036
testRenderSimpleBarWithoutAreaNode 0.033
testRenderSimpleBar 0.028
testDontShowAddButtonWhenMaxComponentsIsReached 0.025
testCreateAreaNodeSetToFalse 0.023
testCreateAreaNodeSetToTrue 0.029
testDontShowBarWhenAreaIsHasNoComponentType 0.03
testRenderNoBar 0.031

ComponentDirectiveTest

testRenderSimpleBar 0.029
testRenderWithDialog 0.029

InitDirectiveTest

testRenderWithContent 0.02
testRenderWithContentAndDialog 0.027
testRenderSimpleBar 0.019

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment 0.025

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters 0.012
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties 0.005
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded 0.004

TemplatingFunctionsMetaDataTest

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

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision 0.168
testComponentInheritance 0.036
testPropertyInheritanceWithInheritanceDisabled 0.035
testDisabledPropertyInheritance 0.037
testMultiLevelPropertyInheritance 0.029
testDoesNothingOnTopLevelPage 0.031
testResourcesInheritance 0.027
testPropertyInheritance 0.032

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_6 1.955

NoScriptRendererTest

testRenderListOfComponents 0.008
testRenderSingleComponent 0.006

PlainTextRendererTest

testRenderInPreview 0.006
testRender 0.005

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