magnolia-templating Version: 4.5-beta2 Last Published: Nov 30, 2011

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
15600398.077%11.942

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.822
info.magnolia.templating.module.setup2000100%9.572
info.magnolia.templating.functions115000100%0.291
info.magnolia.templating.module.setup.for4_03000100%0.039
info.magnolia.templating.elements2400387.5%1.173
info.magnolia.templating.renderers2000100%0.032
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.061
AreaDirectiveTest2000100%0.59
ContextDirectiveTest1000100%0.036
EditDirectiveTest3000100%0.11
RenderDirectiveTest1000100%0.025

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest2000100%9.572

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsTest115000100%0.291

info.magnolia.templating.module.setup.for4_0

ClassTestsErrors FailuresSkippedSuccess RateTime
DeprecateDialogPathAllModulesTest1000100%0.021
FixTemplatePathTaskTest1000100%0.007
NestPropertiesAllModulesNodeTaskTest1000100%0.011

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%0.822
AbstractTemplateElementTest800275%0.095
AreaElementTest10010%0.002
ContextAttributeElementTest1000100%0.015
EditElementTest2000100%0.053
InitElementTest5000100%0.087
MarkupHelperTest3000100%0.002
RenderElementTest1000100%0.097

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
PlainTextRendererTest2000100%0.032

info.magnolia.templating.module.setup.for4_5

ClassTestsErrors FailuresSkippedSuccess RateTime
AddSharedVariablesTaskTest1000100%0.013

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testGetTargetContent0.715
testSetAttributesInWebContext0.01
testRestoreAttributesInWebContext0.008

AbstractTemplateElementTest

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

ContextAttributeElementTest

testDoRender0.013

EditElementTest

testDoRender0.048
testPostRender0.002

InitElementTest

testOutputContainsPageEditorJavascript0.03
testOutputContainsSourcesJavascript0.037
testOutputContainsSourcesCss0.005
testOutputContainsGwtLocaleMetaProperty0.004
testOutputContainsPageEditorStyles0.006

MarkupHelperTest

testParam0
testParamsKeepCamelCaseNotation0
testNullContentAsEmptyString0

RenderElementTest

test0.096

AbstractDirectiveTest

testBodyCheck0.023
testInitContentComponent0.036

AreaDirectiveTest

testRenderSimpleBarWithoutAreaNode0.559
testRenderSimpleBar0.028

ContextDirectiveTest

testRenderSimpleBar0.034

EditDirectiveTest

testRenderSimpleBar0.041
testRenderWithDialog0.031
testThrowsExceptionForUnknownParameters0.036

RenderDirectiveTest

testRenderSimpleBar0.023

TemplatingFunctionsTest

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

DeprecateDialogPathAllModulesTest

testDeprecatedDialogPath0.02

FixTemplatePathTaskTest

testFixTemplatePaths0.005

NestPropertiesAllModulesNodeTaskTest

testNestProperties0.009

AddSharedVariablesTaskTest

testAddSharedVariables0.011

TemplatingModuleVersionHandlerTest

testMisfixedTemplatesFrom402AreFixed6.33
testSilentIfUserFixedTemplatesHimself3.239

PlainTextRendererTest

testRender0.012
testRenderInPreview0.018

Failure Details

[Summary] [Package List] [Test Cases]


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