magnolia-templating Version: 4.5.8 Last Published: Mar 12, 2013

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
18600298.925%5.754

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.freemarker14000100%0.711
info.magnolia.templating.module.setup1000100%4.003
info.magnolia.templating.functions117000100%0.19
info.magnolia.templating.elements4400295.455%0.819
info.magnolia.templating.renderers2000100%0.019
info.magnolia.templating.inheritance8000100%0.012

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.033
AreaDirectiveTest3000100%0.525
ComponentDirectiveTest2000100%0.052
InitDirectiveTest3000100%0.07
ReadOnlyComponentDirectiveTest1000100%0.022
RenderableDefinitionModelTest3000100%0.009

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%4.003

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsTest117000100%0.19

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%0.533
AbstractTemplateElementTest800275%0.097
AreaElementComponentsTest5000100%0.066
AreaElementTest9000100%0.049
ComponentElementTest5000100%0.021
InitElementTest11000100%0.053
MarkupHelperTest3000100%0

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
PlainTextRendererTest2000100%0.019

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%0.012

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext0.523
testSetAttributesInWebContext0.005
testGetTargetContent0.005

AbstractTemplateElementTest

testCurrentContent0.016
testUsesDefaultBundleIfNotSpecified0.029
testGetsCustomMessageCustomBundleWithPageTemplate0.009
testUsesDefaultBundleIfNoMetadata0.01
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph0.009
testDefaultMessageFromCustomBundleWithPageTemplate0.008
testUsesDefaultBundleIfNotRenderableDefinition0.008
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph0.008

AreaElementComponentsTest

testMaxComponentsNotSet0.034
testShouldShowAddButtonTypeSingle0.006
testMaxComponentsNotReached0.009
testShouldShowAddButtonTypeNoComponent0.005
testMaxComponentsReached0.012

AreaElementTest

testBeginWithConfFromTemplateDefinition0.008
testBeginWithEditable0.006
testEndWithConfFromTemplateDefinition0.004
testBeginSimple0.004
testBeginWithInheritence0.004
testAvailableComponentsForSuperuser0.008
testBeginCreateNode0.005
testBeginGetContentFromParent0.005
testAvailableComponentsForEditor0.005

ComponentElementTest

testRenderBeginAll0.006
testRenderBeginWithEditable0.004
testRenderWithoutComment0.004
testRenderBeginOnlyContent0.004
testPostRender0.003

InitElementTest

testOutputContainsSourcesCss0.011
testOutputEndPart0.004
testOutputContainsContent0.004
testOutputContainsGwtLocaleMetaProperty0.005
testOutputContainsContentAndDialog0.004
testOutputContainsPageEditorStyles0.004
testOutputContainsPageEditorJavascript0.004
testPageBarIsRenderedWhenUserHasWritePermission0.004
testOutputWithoutContent0.004
testOutputContainsSourcesJavascript0.004
testPageBarIsNotRenderedWhenUserHasNoWritePermission0.005

MarkupHelperTest

testNullContentAsEmptyString0
testParam0
testParamsKeepCamelCaseNotation0

AbstractDirectiveTest

testInitContentComponent0.011
testBodyCheck0.022

AreaDirectiveTest

testRenderSimpleBarWithoutAreaNode0.472
testRenderSimpleBar0.029
testRenderNoBar0.024

ComponentDirectiveTest

testRenderSimpleBar0.026
testRenderWithDialog0.026

InitDirectiveTest

testRenderWithContent0.025
testRenderWithContentAndDialog0.023
testRenderSimpleBar0.022

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.022

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.006
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.002
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.001

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision0
testComponentInheritance0
testPropertyInheritanceWithInheritanceDisabled0.001
testDisabledPropertyInheritance0.002
testMultiLevelPropertyInheritance0.002
testDoesNothingOnTopLevelPage0.002
testResourcesInheritance0.003
testPropertyInheritance0.002

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_64.003

PlainTextRendererTest

testRenderInPreview0.018
testRender0.001

Failure Details

[Summary] [Package List] [Test Cases]


testUsesDefaultBundleIfNoMetadata
skipped: TODO: check expectation here
testUsesDefaultBundleIfNotRenderableDefinition
skipped: TODO: check expectation here