magnolia-templating Version: 5.0-alpha1-s8 Last Published: Nov 2, 2012

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
17800497.753%5.615

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.623
info.magnolia.templating.module.setup1000100%3.955
info.magnolia.templating.functions117000100%0.172
info.magnolia.templating.elements3700489.189%0.83
info.magnolia.templating.renderers2000100%0.019
info.magnolia.templating.inheritance7000100%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.033
AreaDirectiveTest3000100%0.471
ComponentDirectiveTest2000100%0.039
InitDirectiveTest3000100%0.053
ReadOnlyComponentDirectiveTest1000100%0.018
RenderableDefinitionModelTest3000100%0.009

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%3.955

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsTest117000100%0.172

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%0.538
AbstractTemplateElementTest800275%0.152
AreaElementTest9000100%0.072
ComponentElementTest5000100%0.032
InitElementTest900277.778%0.035
MarkupHelperTest3000100%0.001

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
PlainTextRendererTest2000100%0.019

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest7000100%0.016

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testGetTargetContent0.527
testSetAttributesInWebContext0.006
testRestoreAttributesInWebContext0.005

AbstractTemplateElementTest

testGetsCustomMessageCustomBundleWithPageTemplate0.072
testDefaultMessageFromCustomBundleWithPageTemplate0.011
testGetsCustomMessageCustomBundleWithParagraph0.011
testDefaultMessageFromCustomBundleWithParagraph0.01
testUsesDefaultBundleIfNotSpecified0.013
testUsesDefaultBundleIfNotRenderableDefinition0.013
TODO: check expectation here
testUsesDefaultBundleIfNoMetadata0.014
TODO: check expectation here
testCurrentContent0.008

AreaElementTest

testBeginSimple0.011
testBeginWithConfFromTemplateDefinition0.008
testBeginWithInheritence0.006
testBeginWithEditable0.007
testBeginGetContentFromParent0.006
testBeginCreateNode0.008
testEndWithConfFromTemplateDefinition0.01
testAvailableComponentsForEditor0.01
testAvailableComponentsForSuperuser0.006

ComponentElementTest

testRenderBeginOnlyContent0.008
testRenderBeginAll0.007
testRenderBeginWithEditable0.007
testPostRender0.004
testRenderWithoutComment0.006

InitElementTest

testOutputContainsPageEditorJavascript0.003
See SCRUM-1239. Will most likely be removed in 5.0
testOutputContainsSourcesJavascript0.005
testOutputContainsSourcesCss0.004
testOutputContainsGwtLocaleMetaProperty0.004
testOutputContainsPageEditorStyles0.004
See SCRUM-1239. Will most likely be removed in 5.0
testOutputContainsContent0.004
testOutputWithoutContent0.004
testOutputContainsContentAndDialog0.004
testOutputEndPart0.003

MarkupHelperTest

testParam0
testParamsKeepCamelCaseNotation0
testNullContentAsEmptyString0

AbstractDirectiveTest

testBodyCheck0.022
testInitContentComponent0.011

AreaDirectiveTest

testRenderSimpleBarWithoutAreaNode0.435
testRenderSimpleBar0.02
testRenderNoBar0.016

ComponentDirectiveTest

testRenderSimpleBar0.02
testRenderWithDialog0.019

InitDirectiveTest

testRenderSimpleBar0.019
testRenderWithContent0.017
testRenderWithContentAndDialog0.017

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.018

RenderableDefinitionModelTest

testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.006
testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.002
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.001

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

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

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_63.955

PlainTextRendererTest

testRender0.011
testRenderInPreview0.008

Failure Details

[Summary] [Package List] [Test Cases]


testUsesDefaultBundleIfNotRenderableDefinition
skipped: TODO: check expectation here
testUsesDefaultBundleIfNoMetadata
skipped: TODO: check expectation here
testOutputContainsPageEditorJavascript
skipped: See SCRUM-1239. Will most likely be removed in 5.0
testOutputContainsPageEditorStyles
skipped: See SCRUM-1239. Will most likely be removed in 5.0