magnolia-templating Version: 4.5-beta4 Last Published: Jan 12, 2012

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
16200398.148%7.243

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.freemarker9000100%0.557
info.magnolia.templating.module.setup2000100%5.739
info.magnolia.templating.functions115000100%0.188
info.magnolia.templating.module.setup.for4_03000100%0.022
info.magnolia.templating.elements2400387.5%0.702
info.magnolia.templating.renderers2000100%0.018
info.magnolia.templating.inheritance7000100%0.017

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.029
AreaDirectiveTest2000100%0.424
ContextDirectiveTest1000100%0.021
EditDirectiveTest3000100%0.065
RenderDirectiveTest1000100%0.018

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest2000100%5.739

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsTest115000100%0.188

info.magnolia.templating.module.setup.for4_0

ClassTestsErrors FailuresSkippedSuccess RateTime
DeprecateDialogPathAllModulesTest1000100%0.012
FixTemplatePathTaskTest1000100%0.004
NestPropertiesAllModulesNodeTaskTest1000100%0.006

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%0.528
AbstractTemplateElementTest800275%0.066
AreaElementTest10010%0.002
ContextAttributeElementTest1000100%0.01
EditElementTest2000100%0.029
InitElementTest5000100%0.029
MarkupHelperTest3000100%0.002
RenderElementTest1000100%0.036

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
PlainTextRendererTest2000100%0.018

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest7000100%0.017

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testGetTargetContent0.469
testSetAttributesInWebContext0.01
testRestoreAttributesInWebContext0.006

AbstractTemplateElementTest

testGetsCustomMessageCustomBundleWithPageTemplate0.016
testDefaultMessageFromCustomBundleWithPageTemplate0.007
testGetsCustomMessageCustomBundleWithParagraph0.008
testDefaultMessageFromCustomBundleWithParagraph0.017
testUsesDefaultBundleIfNotSpecified0.01
testUsesDefaultBundleIfNotRenderableDefinition0.011
skipped
testUsesDefaultBundleIfNoMetadata0.011
skipped
testCurrentContent0.006

ContextAttributeElementTest

testDoRender0.009

EditElementTest

testDoRender0.025
testPostRender0.001

InitElementTest

testOutputContainsPageEditorJavascript0.018
testOutputContainsSourcesJavascript0.002
testOutputContainsSourcesCss0.002
testOutputContainsGwtLocaleMetaProperty0.003
testOutputContainsPageEditorStyles0.002

MarkupHelperTest

testParam0
testParamsKeepCamelCaseNotation0
testNullContentAsEmptyString0

RenderElementTest

test0.036

AbstractDirectiveTest

testBodyCheck0.018
testInitContentComponent0.01

AreaDirectiveTest

testRenderSimpleBarWithoutAreaNode0.402
testRenderSimpleBar0.02

ContextDirectiveTest

testRenderSimpleBar0.02

EditDirectiveTest

testRenderSimpleBar0.021
testRenderWithDialog0.023
testThrowsExceptionForUnknownParameters0.02

RenderDirectiveTest

testRenderSimpleBar0.017

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

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

DeprecateDialogPathAllModulesTest

testDeprecatedDialogPath0.011

FixTemplatePathTaskTest

testFixTemplatePaths0.003

NestPropertiesAllModulesNodeTaskTest

testNestProperties0.005

TemplatingModuleVersionHandlerTest

testMisfixedTemplatesFrom402AreFixed3.479
testSilentIfUserFixedTemplatesHimself2.258

PlainTextRendererTest

testRender0.009
testRenderInPreview0.008

Failure Details

[Summary] [Package List] [Test Cases]


testUsesDefaultBundleIfNotRenderableDefinition
skipped: skipped
testUsesDefaultBundleIfNoMetadata
skipped: skipped
testThatTheRenderingEngineIsCalledWithTheCorrectContentAndDefinition
skipped: skipped