magnolia-templating Version: 5.0 Last Published: Jul 15, 2013

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
21900498.174%5.648

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.875
info.magnolia.templating.module.setup1000100%2.722
info.magnolia.templating.functions144000100%0.746
info.magnolia.templating.elements4500491.111%1.24
info.magnolia.templating.renderers4000100%0.043
info.magnolia.templating.inheritance8000100%0.022

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.036
AreaDirectiveTest6000100%0.632
ComponentDirectiveTest2000100%0.061
InitDirectiveTest3000100%0.09
ReadOnlyComponentDirectiveTest1000100%0.027
RenderableDefinitionModelTest3000100%0.029

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%2.722

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsMetaDataTest22000100%0.009
TemplatingFunctionsTest122000100%0.737

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%0.555
AbstractTemplateElementTest800275%0.196
AreaElementComponentsTest5000100%0.111
AreaElementTest12000100%0.225
ComponentElementTest7000100%0.084
InitElementTest700271.429%0.069
MarkupHelperTest3000100%0

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
NoScriptRendererTest2000100%0.027
PlainTextRendererTest2000100%0.016

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%0.022

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext0.532
testSetAttributesInWebContext0.011
testGetTargetContent0.012

AbstractTemplateElementTest

testCurrentContent0.032
testUsesDefaultBundleIfNotSpecified0.063
testGetsCustomMessageCustomBundleWithPageTemplate0.017
testUsesDefaultBundleIfNoMetadata0.018
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph0.017
testDefaultMessageFromCustomBundleWithPageTemplate0.016
testUsesDefaultBundleIfNotRenderableDefinition0.017
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph0.016

AreaElementComponentsTest

testMaxComponentsNotSet0.045
testShouldShowAddButtonTypeSingle0.013
testMaxComponentsNotReached0.019
testShouldShowAddButtonTypeNoComponent0.014
testMaxComponentsReached0.02

AreaElementTest

testBeginWithConfFromTemplateDefinition0.015
testBeginWithEditable0.014
testEndWithAllowedInheritButNullInheritConfig0.013
testEndWithConfFromTemplateDefinition0.012
testBeginSimple0.012
testDoNotFailOnNPEDuringCanRenderAreaScript0.077
testBeginWithInheritence0.014
testAvailableComponentsForSuperuser0.015
testBeginCreateNode0.012
testBeginGetContentFromParent0.012
testAvailableComponentsForEditor0.012
testListAndSingleTypeComponentsAreNotRenderedIfTheyHaventAnyChildComponents0.017

ComponentElementTest

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

InitElementTest

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

MarkupHelperTest

testNullContentAsEmptyString0
testParam0
testParamsKeepCamelCaseNotation0

AbstractDirectiveTest

testInitContentComponent0.01
testBodyCheck0.026

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached0.466
testRenderSimpleBarWithoutAreaNode0.038
testRenderSimpleBar0.035
testDontShowAddButtonWhenMaxComponentsIsReached0.033
testDontShowBarWhenAreaIsHasNoComponentType0.032
testRenderNoBar0.028

ComponentDirectiveTest

testRenderSimpleBar0.031
testRenderWithDialog0.03

InitDirectiveTest

testRenderWithContent0.035
testRenderWithContentAndDialog0.028
testRenderSimpleBar0.027

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.027

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.013
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.008
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.008

TemplatingFunctionsMetaDataTest

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

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

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

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_62.722

NoScriptRendererTest

testRenderListOfComponents0.017
testRenderSingleComponent0.01

PlainTextRendererTest

testRenderInPreview0.01
testRender0.006

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