magnolia-templating Version: 5.0.2 Last Published: Aug 14, 2013

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
22200498.198%5.889

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


PackageTestsErrors FailuresSkippedSuccess RateTime
info.magnolia.templating.freemarker17000100%1.033
info.magnolia.templating.module.setup1000100%2.703
info.magnolia.templating.functions144000100%0.626
info.magnolia.templating.elements4800491.667%1.476
info.magnolia.templating.renderers4000100%0.033
info.magnolia.templating.inheritance8000100%0.018

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

info.magnolia.templating.freemarker

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractDirectiveTest2000100%0.037
AreaDirectiveTest6000100%0.743
ComponentDirectiveTest2000100%0.079
InitDirectiveTest3000100%0.103
ReadOnlyComponentDirectiveTest1000100%0.027
RenderableDefinitionModelTest3000100%0.044

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%2.703

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsMetaDataTest22000100%0.019
TemplatingFunctionsTest122000100%0.607

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%0.608
AbstractTemplateElementTest800275%0.195
AreaElementComponentsTest5000100%0.15
AreaElementTest15000100%0.301
ComponentElementTest7000100%0.135
InitElementTest700271.429%0.087
MarkupHelperTest3000100%0

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
NoScriptRendererTest2000100%0.018
PlainTextRendererTest2000100%0.015

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%0.018

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext0.585
testSetAttributesInWebContext0.011
testGetTargetContent0.012

AbstractTemplateElementTest

testCurrentContent0.025
testUsesDefaultBundleIfNotSpecified0.063
testGetsCustomMessageCustomBundleWithPageTemplate0.019
testUsesDefaultBundleIfNoMetadata0.02
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph0.016
testDefaultMessageFromCustomBundleWithPageTemplate0.018
testUsesDefaultBundleIfNotRenderableDefinition0.018
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph0.016

AreaElementComponentsTest

testMaxComponentsNotSet0.069
testShouldShowAddButtonTypeSingle0.017
testMaxComponentsNotReached0.023
testShouldShowAddButtonTypeNoComponent0.014
testMaxComponentsReached0.027

AreaElementTest

testBeginWithConfFromTemplateDefinition0.017
testBeginWithEditable0.014
testEndWithAllowedInheritButNullInheritConfig0.027
testEndWithConfFromTemplateDefinition0.013
testBeginSimple0.012
testUseAreaI18nBaseNameIfPossible0.022
testDoNotFailOnNPEDuringCanRenderAreaScript0.077
testBeginWithInheritence0.012
testTryToCreateAreaNode0.012
testUseParentI18nBaseNameIfAreaBaseNameIsNotSpecified0.017
testAvailableComponentsForSuperuser0.021
testBeginCreateNode0.014
testListAndSingleTypeComponentsAreNotRenderedIfTheyHaventAnyChildComponentsAndRenderingOfTheseAreasIsDisabled0.022
testBeginGetContentFromParent0.01
testAvailableComponentsForEditor0.011

ComponentElementTest

testRenderBeginAll0.013
testRenderBeginWithEditable0.012
testRenderWithoutComment0.026
testResolvePermissionsFromTemplate0.026
testRenderBeginOnlyContent0.017
testResolvePermissionsFromTemplateAvailability0.015
testPostRender0.026

InitElementTest

testOutputEndPart0.003
testOutputContainsContent0.017
testOutputContainsGwtLocaleMetaProperty0.01
testOutputContainsContentAndDialog0.012
testOutputContainsPageEditorStyles0.012
See SCRUM-1239. Will most likely be removed in 5.0
testOutputContainsPageEditorJavascript0.012
See SCRUM-1239. Will most likely be removed in 5.0
testOutputWithoutContent0.021

MarkupHelperTest

testNullContentAsEmptyString0
testParam0
testParamsKeepCamelCaseNotation0

AbstractDirectiveTest

testInitContentComponent0.01
testBodyCheck0.027

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached0.55
testRenderSimpleBarWithoutAreaNode0.051
testRenderSimpleBar0.044
testDontShowAddButtonWhenMaxComponentsIsReached0.036
testDontShowBarWhenAreaIsHasNoComponentType0.034
testRenderNoBar0.028

ComponentDirectiveTest

testRenderSimpleBar0.034
testRenderWithDialog0.045

InitDirectiveTest

testRenderWithContent0.031
testRenderWithContentAndDialog0.035
testRenderSimpleBar0.037

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.027

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.018
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.017
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.009

TemplatingFunctionsMetaDataTest

testDeprecatedActivatorId0.006
testDeprecatedActivated0
testDeprecatedLastAction0.003
testDeprecatedTemplate0
testLastModified0
testTemplate0
testDeprecatedTitle0
testActivationStatus0.003
testLastModifiedBy0
testDeprecatedCreationDate0
testLastActivated0
testDeletedBy0
testUnknownPropertyThrowsException0
testCreated0.007
testDeprecatedLastModified0
testLastActivatedBy0
testDeleted0
testVersionableComment0
testDeprecatedAuthorId0
testCreatedBy0
testDeletedComment0
testDeprecatedTemplateType0

TemplatingFunctionsTest

testExternalLinkFromNodeNoProtocol0.006
testNonExistingInheritedRelPathShouldReturnNull0.007
testAncestorsFromContentMapDepth10.007
testPageFromComponentNodeDepth20.005
testPageFromComponentNodeDepth30.005
testGetNodeByPath0.006
testIsAuthorInstanceTrue0.006
testRootPageFromPageContentMapDepth10.006
testRootPageFromPageContentMapDepth20.005
testRootPageFromPageContentMapDepth30.004
testGetNodeById0.007
testLinkForIdentifierFromNodeDepth10.004
testLinkForIdentifierFromNodeDepth20.005
testParentComponentFromPageNode0.004
testAsContentMapList0.007
testLinkFromContentMapDepth10.013
testLinkFromContentMapDepth20.006
testAncestorPagesFromComponentNodeDepth40.005
testPageContentMapHavingNoParentPageShouldBeNull0.006
testEncodeNode0.012
testPageFromNodeDepth10.005
testPageFromNodeDepth20.004
testIsEditModeAuthorAndPreview0.007
testPageFromRootShouldBeNull0.005
testAncestorsFromNodeDepth10.003
testExternalLinkTitleFromContentMapWithTitle0.005
testAncestorsFromComponentNodeDepth20.004
testAncestorPagesFromComponentContentMapDepth40.005
testLanguage0.005
testParentFromRootNodeShouldBeNull0.004
testEncodeContent0.005
testIsEditModeAuthorAndNotPreview0.005
testAsContentMapfromNode0.006
testRootPageFromPageNodeDepth10.005
testRootPageFromPageNodeDepth20.005
testRootPageFromPageNodeDepth30.003
testChildrenFromNode0.007
testSiblingsContentMap0.005
testPageContentMapFromRootShouldBeNull0.005
testIsAuthorInstanceFalse0.004
testLinkForPropertyFromNodeDepth10.004
testLinkForPropertyFromNodeDepth20.005
testAncestorsFromComponentContentMapDepth20.007
testIsEditModeNotAuthorAndNotPreview0.005
testAncestorPagesFromSubComponentNodeDepth50.004
testRootFromPageContentMapDepth10.004
testRootFromPageContentMapDepth20.006
testRootFromPageContentMapDepth30.004
testChildrenFromNodeAndTypePage0.006
testExternalLinkTitleFromNodeNoTitleSet0.006
testRootFromComponentNodeDepth10.005
testRootFromComponentNodeDepth20.005
testAncestorPagesFromSubComponentConentMapDepth50.008
testGetContentByIdentifier0.004
testNodeIsInherited0.005
testCreateHtmlAttributeNoValue0.004
testInheritFromContentMapOnlyContentMap0.004
testPageHavingNoParentPageShouldBeNull0.005
testParentPageFromPageContentMap0.005
testChildrenFromContentMapAndTypeComponent0.004
testExternalLinkTitleFromNodeWithTitle0.004
testAncestorsFromSubComponentConentMapDepth50.004
testRootPageFromComponentNodeDepth10.005
testRootPageFromComponentNodeDepth20.006
testParentComponentFromPageContentMap0.004
testParentPageFromPageNode0.005
testRootPageFromComponentContentMapDepth10.006
testRootPageFromComponentContentMapDepth20.005
testAncestorPagesFromNodeDepth10.005
testAncestorPagesFromContentMapDepth10.005
testParentFromRootContentMapShouldBeNull0.006
testParentPageFromComponentNodeDepth10.004
testParentPageFromComponentNodeDepth20.004
testParentPageFromComponentNodeDepth30.005
testRootFromPageNodeDepth10.006
testRootFromPageNodeDepth20.004
testRootFromPageNodeDepth30.004
testExternalLinkTitleFromContentMapNoTitleSet0.003
testSiblings0.005
testInheritFromNode0.006
testInheritFromContentMap0.004
testContentMapIsInherited0.003
testIsEditModeNotAuthorAndPreview0.007
testInheritFromNodeOnlyContent0.005
testAncestorsFromSubComponentNodeDepth50.006
testChildrenFromContentMapAndTypePage0.004
testParentFromNodeDepth10.003
testParentFromNodeDepth20.005
testParentPageFromContentMapDepth10.004
testAsNodeList0.005
testParentPageFromComponentContentMapDepth10.004
testParentPageFromComponentContentMapDepth20.004
testParentPageFromComponentContentMapDepth30.004
testInheritedNodeIsUnwrapped0.003
testCreateHtmlAttribute0.004
testContentMapIsFromCurrentPage0.005
testGetContentByPath0.004
testPageFromComponentContentMapDepth20.005
testPageFromComponentContentMapDepth30.005
testPageFromContentMapDepth10.005
testPageFromContentMapDepth20.004
testParentFromContentMapDepth10.004
testParentFromContentMapDepth20.004
testIsPublicInstanceTrue0.004
testAsJCRNodeFromContentMap0.004
testExternalLinkFromContentMapNoProtocol0.004
testChildrenFromNodeAndTypeComponent0.005
testNonExistingInheritedPropertyShouldReturnNull0.006
testExternalLinkFromNodeWithProtocol0.005
testInheritFromNodeNoContent0.005
testExternalLinkFromContentMapWithProtocol0.004
testIsPreviewModeTrue0.006
testRootFromComponentContentMapDepth10.004
testRootFromComponentContentMapDepth20.004
testLinkFromNodeDepth10.004
testLinkFromNodeDepth20.004
testChildrenFromContentMap0.004
testIsPreviewModeFalse0.004
testIsPublicInstanceFalse0.004
testGetContentById0.005
testParentPageFromNodeDepth10.006
testNodeIsFromCurrentPage0.005

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision0.005
testComponentInheritance0.001
testPropertyInheritanceWithInheritanceDisabled0.002
testDisabledPropertyInheritance0.001
testMultiLevelPropertyInheritance0.001
testDoesNothingOnTopLevelPage0.001
testResourcesInheritance0.006
testPropertyInheritance0.001

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_62.703

NoScriptRendererTest

testRenderListOfComponents0.011
testRenderSingleComponent0.007

PlainTextRendererTest

testRenderInPreview0.008
testRender0.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