magnolia-templating Version: 5.0.1 Last Published: Jul 9, 2013

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
22000498.182%5.939

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.927
info.magnolia.templating.module.setup1000100%2.873
info.magnolia.templating.functions144000100%0.732
info.magnolia.templating.elements4600491.304%1.292
info.magnolia.templating.renderers4000100%0.049
info.magnolia.templating.inheritance8000100%0.066

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.032
AreaDirectiveTest6000100%0.668
ComponentDirectiveTest2000100%0.069
InitDirectiveTest3000100%0.083
ReadOnlyComponentDirectiveTest1000100%0.027
RenderableDefinitionModelTest3000100%0.048

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%2.873

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsMetaDataTest22000100%0.007
TemplatingFunctionsTest122000100%0.725

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%0.556
AbstractTemplateElementTest800275%0.219
AreaElementComponentsTest5000100%0.119
AreaElementTest13000100%0.245
ComponentElementTest7000100%0.081
InitElementTest700271.429%0.071
MarkupHelperTest3000100%0.001

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
NoScriptRendererTest2000100%0.017
PlainTextRendererTest2000100%0.032

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%0.066

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext0.532
testSetAttributesInWebContext0.012
testGetTargetContent0.012

AbstractTemplateElementTest

testCurrentContent0.033
testUsesDefaultBundleIfNotSpecified0.062
testGetsCustomMessageCustomBundleWithPageTemplate0.029
testUsesDefaultBundleIfNoMetadata0.03
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph0.017
testDefaultMessageFromCustomBundleWithPageTemplate0.016
testUsesDefaultBundleIfNotRenderableDefinition0.016
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph0.016

AreaElementComponentsTest

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

AreaElementTest

testBeginWithConfFromTemplateDefinition0.015
testBeginWithEditable0.013
testEndWithAllowedInheritButNullInheritConfig0.013
testEndWithConfFromTemplateDefinition0.013
testBeginSimple0.012
testDoNotFailOnNPEDuringCanRenderAreaScript0.077
testBeginWithInheritence0.014
testTryToCreateAreaNode0.014
testAvailableComponentsForSuperuser0.015
testBeginCreateNode0.012
testListAndSingleTypeComponentsAreNotRenderedIfTheyHaventAnyChildComponentsAndRenderingOfTheseAreasIsDisabled0.024
testBeginGetContentFromParent0.011
testAvailableComponentsForEditor0.012

ComponentElementTest

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

InitElementTest

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

MarkupHelperTest

testNullContentAsEmptyString0
testParam0
testParamsKeepCamelCaseNotation0

AbstractDirectiveTest

testInitContentComponent0.011
testBodyCheck0.021

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached0.5
testRenderSimpleBarWithoutAreaNode0.038
testRenderSimpleBar0.036
testDontShowAddButtonWhenMaxComponentsIsReached0.033
testDontShowBarWhenAreaIsHasNoComponentType0.032
testRenderNoBar0.029

ComponentDirectiveTest

testRenderSimpleBar0.036
testRenderWithDialog0.033

InitDirectiveTest

testRenderWithContent0.028
testRenderWithContentAndDialog0.028
testRenderSimpleBar0.027

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.027

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.034
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.007
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.007

TemplatingFunctionsMetaDataTest

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

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision0.018
testComponentInheritance0.03
testPropertyInheritanceWithInheritanceDisabled0.002
testDisabledPropertyInheritance0.004
testMultiLevelPropertyInheritance0.002
testDoesNothingOnTopLevelPage0.003
testResourcesInheritance0.006
testPropertyInheritance0.001

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_62.873

NoScriptRendererTest

testRenderListOfComponents0.008
testRenderSingleComponent0.009

PlainTextRendererTest

testRenderInPreview0.026
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