magnolia-templating Version: 4.5.9 Last Published: May 30, 2013

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
19600298.98%5.968

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.freemarker17000100%0.781
info.magnolia.templating.module.setup1000100%4.038
info.magnolia.templating.functions117000100%0.161
info.magnolia.templating.elements4900295.918%0.938
info.magnolia.templating.renderers4000100%0.032
info.magnolia.templating.inheritance8000100%0.018

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
AreaDirectiveTest6000100%0.597
ComponentDirectiveTest2000100%0.049
InitDirectiveTest3000100%0.07
ReadOnlyComponentDirectiveTest1000100%0.021
RenderableDefinitionModelTest3000100%0.011

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%4.038

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsTest117000100%0.161

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%0.55
AbstractTemplateElementTest800275%0.09
AreaElementComponentsTest5000100%0.075
AreaElementTest12000100%0.129
ComponentElementTest7000100%0.04
InitElementTest11000100%0.053
MarkupHelperTest3000100%0.001

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
NoScriptRendererTest2000100%0.019
PlainTextRendererTest2000100%0.013

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%0.018

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext0.538
testSetAttributesInWebContext0.006
testGetTargetContent0.006

AbstractTemplateElementTest

testCurrentContent0.016
testUsesDefaultBundleIfNotSpecified0.018
testGetsCustomMessageCustomBundleWithPageTemplate0.01
testUsesDefaultBundleIfNoMetadata0.01
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph0.009
testDefaultMessageFromCustomBundleWithPageTemplate0.009
testUsesDefaultBundleIfNotRenderableDefinition0.009
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph0.009

AreaElementComponentsTest

testMaxComponentsNotSet0.038
testShouldShowAddButtonTypeSingle0.006
testMaxComponentsNotReached0.012
testShouldShowAddButtonTypeNoComponent0.005
testMaxComponentsReached0.014

AreaElementTest

testBeginWithConfFromTemplateDefinition0.008
testBeginWithEditable0.006
testEndWithAllowedInheritButNullInheritConfig0.005
testEndWithConfFromTemplateDefinition0.005
testBeginSimple0.004
testDoNotFailOnNPEDuringCanRenderAreaScript0.063
testBeginWithInheritence0.006
testAvailableComponentsForSuperuser0.008
testBeginCreateNode0.005
testBeginGetContentFromParent0.004
testAvailableComponentsForEditor0.005
testListAndSingleTypeComponentsAreNotRenderedIfTheyHaventAnyChildComponents0.01

ComponentElementTest

testRenderBeginAll0.005
testRenderBeginWithEditable0.005
testRenderWithoutComment0.01
testResolvePermissionsFromTemplate0.005
testRenderBeginOnlyContent0.005
testResolvePermissionsFromTemplateAvailability0.006
testPostRender0.004

InitElementTest

testOutputContainsSourcesCss0.011
testOutputEndPart0.004
testOutputContainsContent0.005
testOutputContainsGwtLocaleMetaProperty0.004
testOutputContainsContentAndDialog0.004
testOutputContainsPageEditorStyles0.004
testOutputContainsPageEditorJavascript0.005
testPageBarIsRenderedWhenUserHasWritePermission0.004
testOutputWithoutContent0.004
testOutputContainsSourcesJavascript0.004
testPageBarIsNotRenderedWhenUserHasNoWritePermission0.004

MarkupHelperTest

testNullContentAsEmptyString0
testParam0
testParamsKeepCamelCaseNotation0

AbstractDirectiveTest

testInitContentComponent0.011
testBodyCheck0.022

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached0.459
testRenderSimpleBarWithoutAreaNode0.029
testRenderSimpleBar0.028
testDontShowAddButtonWhenMaxComponentsIsReached0.026
testDontShowBarWhenAreaIsHasNoComponentType0.033
testRenderNoBar0.022

ComponentDirectiveTest

testRenderSimpleBar0.025
testRenderWithDialog0.024

InitDirectiveTest

testRenderWithContent0.025
testRenderWithContentAndDialog0.023
testRenderSimpleBar0.022

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.021

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.007
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.002
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.002

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision0.007
testComponentInheritance0.002
testPropertyInheritanceWithInheritanceDisabled0.001
testDisabledPropertyInheritance0.002
testMultiLevelPropertyInheritance0.002
testDoesNothingOnTopLevelPage0.002
testResourcesInheritance0.001
testPropertyInheritance0.001

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_64.038

NoScriptRendererTest

testRenderListOfComponents0.015
testRenderSingleComponent0.004

PlainTextRendererTest

testRenderInPreview0.012
testRender0.001

Failure Details

[Summary] [Package List] [Test Cases]


testUsesDefaultBundleIfNoMetadata
skipped: TODO: check expectation here
testUsesDefaultBundleIfNotRenderableDefinition
skipped: TODO: check expectation here