magnolia-templating Version: 5.0.4 Last Published: Aug 28, 2013

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
22500498.222%4.672

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%0.721
info.magnolia.templating.module.setup1000100%2.279
info.magnolia.templating.functions144000100%0.566
info.magnolia.templating.elements5100492.157%1.061
info.magnolia.templating.renderers4000100%0.029
info.magnolia.templating.inheritance8000100%0.016

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.028
AreaDirectiveTest6000100%0.523
ComponentDirectiveTest2000100%0.051
InitDirectiveTest3000100%0.075
ReadOnlyComponentDirectiveTest1000100%0.022
RenderableDefinitionModelTest3000100%0.022

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%2.279

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsMetaDataTest22000100%0.008
TemplatingFunctionsTest122000100%0.558

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%0.442
AbstractTemplateElementTest800275%0.146
AreaElementComponentsTest5000100%0.094
AreaElementTest18000100%0.249
ComponentElementTest7000100%0.073
InitElementTest700271.429%0.056
MarkupHelperTest3000100%0.001

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
NoScriptRendererTest2000100%0.017
PlainTextRendererTest2000100%0.012

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%0.016

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext0.423
testSetAttributesInWebContext0.009
testGetTargetContent0.01

AbstractTemplateElementTest

testCurrentContent0.018
testUsesDefaultBundleIfNotSpecified0.05
testGetsCustomMessageCustomBundleWithPageTemplate0.013
testUsesDefaultBundleIfNoMetadata0.014
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph0.013
testDefaultMessageFromCustomBundleWithPageTemplate0.013
testUsesDefaultBundleIfNotRenderableDefinition0.013
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph0.012

AreaElementComponentsTest

testMaxComponentsNotSet0.037
testShouldShowAddButtonTypeSingle0.011
testMaxComponentsNotReached0.018
testShouldShowAddButtonTypeNoComponent0.011
testMaxComponentsReached0.017

AreaElementTest

testBeginWithConfFromTemplateDefinition0.013
testBeginWithEditable0.01
testEndWithAllowedInheritButNullInheritConfig0.013
testEndWithConfFromTemplateDefinition0.01
testDontRenderCmsCommentsInPreviewMode0.009
testBeginSimple0.009
testUseAreaI18nBaseNameIfPossible0.016
testDoNotFailOnNPEDuringCanRenderAreaScript0.056
testBeginWithInheritence0.011
testTryToCreateAreaNode0.011
testUseParentI18nBaseNameIfAreaBaseNameIsNotSpecified0.01
testAvailableComponentsForSuperuser0.012
testRenderCmsCommentsWhenBeeingInEditMode0.01
testCanRenderAreaScript0.019
testBeginCreateNode0.009
testListAndSingleTypeComponentsAreNotRenderedIfTheyHaventAnyChildComponentsAndRenderingOfTheseAreasIsDisabled0.009
testBeginGetContentFromParent0.009
testAvailableComponentsForEditor0.013

ComponentElementTest

testRenderBeginAll0.011
testRenderBeginWithEditable0.01
testRenderWithoutComment0.01
testResolvePermissionsFromTemplate0.011
testRenderBeginOnlyContent0.012
testResolvePermissionsFromTemplateAvailability0.011
testPostRender0.008

InitElementTest

testOutputEndPart0.009
testOutputContainsContent0.007
testOutputContainsGwtLocaleMetaProperty0.007
testOutputContainsContentAndDialog0.008
testOutputContainsPageEditorStyles0.008
See SCRUM-1239. Will most likely be removed in 5.0
testOutputContainsPageEditorJavascript0.008
See SCRUM-1239. Will most likely be removed in 5.0
testOutputWithoutContent0.009

MarkupHelperTest

testNullContentAsEmptyString0
testParam0.001
testParamsKeepCamelCaseNotation0

AbstractDirectiveTest

testInitContentComponent0.011
testBodyCheck0.017

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached0.387
testRenderSimpleBarWithoutAreaNode0.031
testRenderSimpleBar0.028
testDontShowAddButtonWhenMaxComponentsIsReached0.027
testDontShowBarWhenAreaIsHasNoComponentType0.027
testRenderNoBar0.023

ComponentDirectiveTest

testRenderSimpleBar0.025
testRenderWithDialog0.026

InitDirectiveTest

testRenderWithContent0.027
testRenderWithContentAndDialog0.022
testRenderSimpleBar0.026

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.022

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.01
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.006
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.006

TemplatingFunctionsMetaDataTest

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

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

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

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_62.279

NoScriptRendererTest

testRenderListOfComponents0.01
testRenderSingleComponent0.007

PlainTextRendererTest

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