magnolia-templating Version: 4.5.4 Last Published: Jul 27, 2012

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
17300298.844%5.143

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.freemarker13000100%0.533
info.magnolia.templating.module.setup1000100%3.761
info.magnolia.templating.functions116000100%0.146
info.magnolia.templating.elements3400294.118%0.673
info.magnolia.templating.renderers2000100%0.017
info.magnolia.templating.inheritance7000100%0.013

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.031
AreaDirectiveTest3000100%0.414
ComponentDirectiveTest2000100%0.037
InitDirectiveTest3000100%0.042
RenderableDefinitionModelTest3000100%0.009

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%3.761

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsTest116000100%0.146

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%0.493
AbstractTemplateElementTest800275%0.09
AreaElementTest7000100%0.04
ComponentElementTest4000100%0.017
InitElementTest9000100%0.032
MarkupHelperTest3000100%0.001

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
PlainTextRendererTest2000100%0.017

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest7000100%0.013

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testGetTargetContent0.484
testSetAttributesInWebContext0.005
testRestoreAttributesInWebContext0.004

AbstractTemplateElementTest

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

AreaElementTest

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

ComponentElementTest

testRenderBeginOnlyContent0.005
testRenderBeginAll0.004
testRenderBeginWithEditable0.005
testPostRender0.003

InitElementTest

testOutputContainsPageEditorJavascript0.004
testOutputContainsSourcesJavascript0.003
testOutputContainsSourcesCss0.003
testOutputContainsGwtLocaleMetaProperty0.003
testOutputContainsPageEditorStyles0.004
testOutputContainsContent0.004
testOutputWithoutContent0.004
testOutputContainsContentAndDialog0.004
testOutputEndPart0.003

MarkupHelperTest

testParam0
testParamsKeepCamelCaseNotation0
testNullContentAsEmptyString0

AbstractDirectiveTest

testBodyCheck0.021
testInitContentComponent0.01

AreaDirectiveTest

testRenderSimpleBarWithoutAreaNode0.386
testRenderSimpleBar0.016
testRenderNoBar0.012

ComponentDirectiveTest

testRenderSimpleBar0.016
testRenderWithDialog0.021

InitDirectiveTest

testRenderSimpleBar0.015
testRenderWithContent0.013
testRenderWithContentAndDialog0.014

RenderableDefinitionModelTest

testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.006
testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.001
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.002

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

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

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_63.761

PlainTextRendererTest

testRender0.01
testRenderInPreview0.007

Failure Details

[Summary] [Package List] [Test Cases]


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