magnolia-templating Version: 4.5-beta3 Last Published: Dec 15, 2011

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
15600398.077%12.542

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%1.013
info.magnolia.templating.module.setup2000100%9.945
info.magnolia.templating.functions115000100%0.323
info.magnolia.templating.module.setup.for4_03000100%0.032
info.magnolia.templating.elements2400387.5%1.192
info.magnolia.templating.renderers2000100%0.024
info.magnolia.templating.module.setup.for4_51000100%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.063
AreaDirectiveTest2000100%0.588
ContextDirectiveTest1000100%0.1
EditDirectiveTest3000100%0.236
RenderDirectiveTest1000100%0.026

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest2000100%9.945

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsTest115000100%0.323

info.magnolia.templating.module.setup.for4_0

ClassTestsErrors FailuresSkippedSuccess RateTime
DeprecateDialogPathAllModulesTest1000100%0.017
FixTemplatePathTaskTest1000100%0.006
NestPropertiesAllModulesNodeTaskTest1000100%0.009

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%0.852
AbstractTemplateElementTest800275%0.089
AreaElementTest10010%0.002
ContextAttributeElementTest1000100%0.022
EditElementTest2000100%0.044
InitElementTest5000100%0.096
MarkupHelperTest3000100%0.003
RenderElementTest1000100%0.084

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
PlainTextRendererTest2000100%0.024

info.magnolia.templating.module.setup.for4_5

ClassTestsErrors FailuresSkippedSuccess RateTime
AddSharedVariablesTaskTest1000100%0.013

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testGetTargetContent0.773
testSetAttributesInWebContext0.01
testRestoreAttributesInWebContext0.009

AbstractTemplateElementTest

testGetsCustomMessageCustomBundleWithPageTemplate0.023
testDefaultMessageFromCustomBundleWithPageTemplate0.009
testGetsCustomMessageCustomBundleWithParagraph0.021
testDefaultMessageFromCustomBundleWithParagraph0.009
testUsesDefaultBundleIfNotSpecified0.013
testUsesDefaultBundleIfNotRenderableDefinition0.014
skipped
testUsesDefaultBundleIfNoMetadata0.014
skipped
testCurrentContent0.008

ContextAttributeElementTest

testDoRender0.013

EditElementTest

testDoRender0.037
testPostRender0.003

InitElementTest

testOutputContainsPageEditorJavascript0.075
testOutputContainsSourcesJavascript0.003
testOutputContainsSourcesCss0.004
testOutputContainsGwtLocaleMetaProperty0.003
testOutputContainsPageEditorStyles0.006

MarkupHelperTest

testParam0
testParamsKeepCamelCaseNotation0
testNullContentAsEmptyString0

RenderElementTest

test0.078

AbstractDirectiveTest

testBodyCheck0.024
testInitContentComponent0.036

AreaDirectiveTest

testRenderSimpleBarWithoutAreaNode0.557
testRenderSimpleBar0.029

ContextDirectiveTest

testRenderSimpleBar0.043

EditDirectiveTest

testRenderSimpleBar0.035
testRenderWithDialog0.028
testThrowsExceptionForUnknownParameters0.025

RenderDirectiveTest

testRenderSimpleBar0.024

TemplatingFunctionsTest

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

DeprecateDialogPathAllModulesTest

testDeprecatedDialogPath0.016

FixTemplatePathTaskTest

testFixTemplatePaths0.005

NestPropertiesAllModulesNodeTaskTest

testNestProperties0.008

AddSharedVariablesTaskTest

testAddSharedVariables0.012

TemplatingModuleVersionHandlerTest

testMisfixedTemplatesFrom402AreFixed7.236
testSilentIfUserFixedTemplatesHimself2.705

PlainTextRendererTest

testRender0.012
testRenderInPreview0.011

Failure Details

[Summary] [Package List] [Test Cases]


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