magnolia-templating Version: 4.5.12-SNAPSHOT Last Published: Oct 1, 2013

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
21400299.065%7.756

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.923
info.magnolia.templating.module.setup1000100%5.306
info.magnolia.templating.functions123000100%0.207
info.magnolia.templating.elements6100296.721%1.259
info.magnolia.templating.inheritance8000100%0.014
info.magnolia.templating.renderers4000100%0.047

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

info.magnolia.templating.freemarker

ClassTestsErrors FailuresSkippedSuccess RateTime
RenderableDefinitionModelTest3000100%0.146
AbstractDirectiveTest2000100%0.011
ComponentDirectiveTest2000100%0.481
ReadOnlyComponentDirectiveTest1000100%0.029
InitDirectiveTest3000100%0.087
AreaDirectiveTest6000100%0.169

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%5.306

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsTest123000100%0.207

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%0.653
InitElementTest12000100%0.107
MarkupHelperTest3000100%0.001
AbstractTemplateElementTest800275%0.104
ComponentElementTest10000100%0.103
AreaElementComponentsTest5000100%0.076
AreaElementTest20000100%0.215

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%0.014

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
NoScriptRendererTest2000100%0.023
PlainTextRendererTest2000100%0.024

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext0.638
testSetAttributesInWebContext0.007
testGetTargetContent0.008

InitElementTest

testOutputContainsSourcesCss0.022
testExcludeCalendarResources0.011
testOutputEndPart0.007
testOutputContainsContent0.008
testOutputContainsGwtLocaleMetaProperty0.008
testOutputContainsContentAndDialog0.008
testOutputContainsPageEditorStyles0.007
testOutputContainsPageEditorJavascript0.007
testPageBarIsRenderedWhenUserHasWritePermission0.008
testOutputWithoutContent0.006
testOutputContainsSourcesJavascript0.007
testPageBarIsNotRenderedWhenUserHasNoWritePermission0.008

MarkupHelperTest

testNullContentAsEmptyString0.001
testParam0
testParamsKeepCamelCaseNotation0

AbstractTemplateElementTest

testCurrentContent0.019
testUsesDefaultBundleIfNotSpecified0.023
testGetsCustomMessageCustomBundleWithPageTemplate0.01
testUsesDefaultBundleIfNoMetadata0.011
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph0.01
testDefaultMessageFromCustomBundleWithPageTemplate0.01
testUsesDefaultBundleIfNotRenderableDefinition0.011
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph0.01

ComponentElementTest

testRenderBeginAll0.009
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch0.006
testRenderBeginWithEditable0.007
testDontRenderCmsCommentsInPreviewMode0.007
testRenderWithoutComment0.007
testResolvePermissionsFromTemplate0.009
testRenderBeginOnlyContent0.007
testResolvePermissionsFromTemplateAvailability0.013
testRenderCmsCommentsWhenBeeingInEditMode0.007
testPostRender0.031

AreaElementComponentsTest

testMaxComponentsNotSet0.036
testShouldShowAddButtonTypeSingle0.006
testMaxComponentsNotReached0.012
testShouldShowAddButtonTypeNoComponent0.007
testMaxComponentsReached0.015

AreaElementTest

testBeginWithConfFromTemplateDefinition0.005
testBeginWithEditable0.005
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch0.006
testEndWithAllowedInheritButNullInheritConfig0.005
testEndWithConfFromTemplateDefinition0.006
testDontRenderCmsCommentsInPreviewMode0.005
testBeginSimple0.006
testUseAreaI18nBaseNameIfPossible0.012
testDoNotFailOnNPEDuringCanRenderAreaScript0.072
testBeginWithInheritence0.007
testResolveTemplateDefinitionConsidersVariation0.011
testTryToCreateAreaNode0.008
testUseParentI18nBaseNameIfAreaBaseNameIsNotSpecified0.007
testCantRenderAreaScript0.025
testAvailableComponentsForSuperuser0.006
testRenderCmsCommentsWhenBeeingInEditMode0.006
testBeginCreateNode0.006
testListAndSingleTypeComponentsAreNotRenderedIfTheyHaventAnyChildComponentsAndRenderingOfTheseAreasIsDisabled0.006
testBeginGetContentFromParent0.005
testAvailableComponentsForEditor0.006

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.14
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.003
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.003

AbstractDirectiveTest

testInitContentComponent0.01
testBodyCheck0.001

ComponentDirectiveTest

testRenderSimpleBar0.448
testRenderWithDialog0.033

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.029

InitDirectiveTest

testRenderWithContent0.031
testRenderWithContentAndDialog0.029
testRenderSimpleBar0.027

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached0.031
testRenderSimpleBarWithoutAreaNode0.029
testRenderSimpleBar0.028
testDontShowAddButtonWhenMaxComponentsIsReached0.029
testDontShowBarWhenAreaIsHasNoComponentType0.028
testRenderNoBar0.024

TemplatingFunctionsTest

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

NoScriptRendererTest

testRenderListOfComponents0.017
testRenderSingleComponent0.006

PlainTextRendererTest

testRenderInPreview0.021
testRender0.003

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_65.306

DefaultInheritanceContentDecoratorTest

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

Failure Details

[Summary] [Package List] [Test Cases]


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