magnolia-templating Version: 5.0-alpha1 Last Published: Dec 12, 2012

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
19900497.99%5.667

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.617
info.magnolia.templating.module.setup1000100%4.018
info.magnolia.templating.functions138000100%0.184
info.magnolia.templating.elements3700489.189%0.813
info.magnolia.templating.renderers2000100%0.02
info.magnolia.templating.inheritance7000100%0.015

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.466
ComponentDirectiveTest2000100%0.038
InitDirectiveTest3000100%0.052
ReadOnlyComponentDirectiveTest1000100%0.018
RenderableDefinitionModelTest3000100%0.01

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%4.018

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsMetaDataTest22000100%0.005
TemplatingFunctionsTest116000100%0.179

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%0.537
AbstractTemplateElementTest800275%0.147
AreaElementTest9000100%0.067
ComponentElementTest5000100%0.029
InitElementTest900277.778%0.033
MarkupHelperTest3000100%0

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
PlainTextRendererTest2000100%0.02

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest7000100%0.015

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testGetTargetContent0.527
testSetAttributesInWebContext0.005
testRestoreAttributesInWebContext0.005

AbstractTemplateElementTest

testGetsCustomMessageCustomBundleWithPageTemplate0.071
testDefaultMessageFromCustomBundleWithPageTemplate0.01
testGetsCustomMessageCustomBundleWithParagraph0.01
testDefaultMessageFromCustomBundleWithParagraph0.01
testUsesDefaultBundleIfNotSpecified0.012
testUsesDefaultBundleIfNotRenderableDefinition0.013
TODO: check expectation here
testUsesDefaultBundleIfNoMetadata0.013
TODO: check expectation here
testCurrentContent0.008

AreaElementTest

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

ComponentElementTest

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

InitElementTest

testOutputContainsPageEditorJavascript0.002
See SCRUM-1239. Will most likely be removed in 5.0
testOutputContainsSourcesJavascript0.005
testOutputContainsSourcesCss0.004
testOutputContainsGwtLocaleMetaProperty0.003
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.431
testRenderSimpleBar0.019
testRenderNoBar0.016

ComponentDirectiveTest

testRenderSimpleBar0.019
testRenderWithDialog0.019

InitDirectiveTest

testRenderSimpleBar0.018
testRenderWithContent0.017
testRenderWithContentAndDialog0.017

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.018

RenderableDefinitionModelTest

testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.006
testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.002
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.002

TemplatingFunctionsMetaDataTest

testTemplate0
testDeprecatedTitle0.001
testDeprecatedCreationDate0.001
testDeprecatedLastModified0
testDeprecatedLastAction0.001
testDeprecatedAuthorId0
testDeprecatedActivatorId0
testDeprecatedTemplate0
testDeprecatedTemplateType0.001
testDeprecatedActivated0
testCreated0.001
testCreatedBy0
testLastModified0
testLastModifiedBy0
testLastActivated0
testLastActivatedBy0
testActivationStatus0
testDeleted0
testDeletedBy0
testDeletedComment0
testVersionableComment0
testUnknownPropertyThrowsException0

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

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

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_64.018

PlainTextRendererTest

testRender0.012
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