Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
23500498.298%7.921

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.98
info.magnolia.templating.module.setup1000100%3.85
info.magnolia.templating.functions144000100%0.899
info.magnolia.templating.elements6100493.443%1.618
info.magnolia.templating.inheritance8000100%0.515
info.magnolia.templating.renderers4000100%0.059

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

info.magnolia.templating.freemarker

ClassTestsErrors FailuresSkippedSuccess RateTime
AreaDirectiveTest6000100%0.745
ComponentDirectiveTest2000100%0.068
ReadOnlyComponentDirectiveTest1000100%0.032
RenderableDefinitionModelTest3000100%0.029
InitDirectiveTest3000100%0.096
AbstractDirectiveTest2000100%0.01

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%3.85

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsMetaDataTest22000100%0.008
TemplatingFunctionsTest122000100%0.891

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
InitElementTest700271.429%0.628
AbstractTemplateElementTest800275%0.225
AreaElementComponentsTest5000100%0.151
AreaElementTest19000100%0.371
MarkupHelperTest3000100%0.001
ComponentElementTest10000100%0.132
AbstractContentTemplatingElementTest3000100%0.032
AreaElementCanRenderAreaTest6000100%0.078

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%0.515

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
NoScriptRendererTest2000100%0.033
PlainTextRendererTest2000100%0.026

Test Cases

[Summary] [Package List] [Test Cases]

InitElementTest

testOutputEndPart0.543
testOutputContainsContent0.015
testOutputContainsGwtLocaleMetaProperty0.014
testOutputContainsContentAndDialog0.013
testOutputContainsPageEditorStyles0.014
See SCRUM-1239. Will most likely be removed in 5.0
testOutputContainsPageEditorJavascript0.015
See SCRUM-1239. Will most likely be removed in 5.0
testOutputWithoutContent0.014

AbstractTemplateElementTest

testCurrentContent0.035
testUsesDefaultBundleIfNotSpecified0.071
testGetsCustomMessageCustomBundleWithPageTemplate0.021
testUsesDefaultBundleIfNoMetadata0.021
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph0.02
testDefaultMessageFromCustomBundleWithPageTemplate0.019
testUsesDefaultBundleIfNotRenderableDefinition0.019
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph0.019

AreaElementComponentsTest

testMaxComponentsNotSet0.055
testShouldShowAddButtonTypeSingle0.034
testMaxComponentsNotReached0.022
testShouldShowAddButtonTypeNoComponent0.015
testMaxComponentsReached0.025

AreaElementTest

testBeginWithConfFromTemplateDefinition0.014
testBeginWithEditable0.014
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch0.013
testEndWithAllowedInheritButNullInheritConfig0.015
testEndWithConfFromTemplateDefinition0.014
testDontRenderCmsCommentsInPreviewMode0.012
testBeginSimple0.013
testUseAreaI18nBaseNameIfPossible0.022
testDoNotFailOnNPEDuringCanRenderAreaScript0.101
testBeginWithInheritence0.015
testResolveTemplateDefinitionConsidersVariation0.018
testTryToCreateAreaNode0.016
testUseParentI18nBaseNameIfAreaBaseNameIsNotSpecified0.014
testAvailableComponentsForSuperuser0.016
testRenderCmsCommentsWhenBeeingInEditMode0.014
testBeginCreateNode0.014
testListAndSingleTypeComponentsAreNotRenderedIfTheyHaventAnyChildComponentsAndRenderingOfTheseAreasIsDisabled0.02
testBeginGetContentFromParent0.013
testAvailableComponentsForEditor0.013

MarkupHelperTest

testNullContentAsEmptyString0
testParam0
testParamsKeepCamelCaseNotation0

ComponentElementTest

testRenderBeginAll0.014
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch0.012
testRenderBeginWithEditable0.014
testDontRenderCmsCommentsInPreviewMode0.012
testRenderWithoutComment0.012
testResolvePermissionsFromTemplate0.015
testRenderBeginOnlyContent0.013
testResolvePermissionsFromTemplateAvailability0.014
testRenderCmsCommentsWhenBeeingInEditMode0.013
testPostRender0.013

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext0.011
testSetAttributesInWebContext0.01
testGetTargetContent0.011

AreaElementCanRenderAreaTest

test10.012
test20.014
test30.012
test40.011
test50.015
test60.014

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached0.556
testRenderSimpleBarWithoutAreaNode0.042
testRenderSimpleBar0.039
testDontShowAddButtonWhenMaxComponentsIsReached0.039
testDontShowBarWhenAreaIsHasNoComponentType0.037
testRenderNoBar0.032

ComponentDirectiveTest

testRenderSimpleBar0.034
testRenderWithDialog0.034

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.032

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.013
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.008
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.008

InitDirectiveTest

testRenderWithContent0.033
testRenderWithContentAndDialog0.032
testRenderSimpleBar0.031

AbstractDirectiveTest

testInitContentComponent0.009
testBodyCheck0.001

NoScriptRendererTest

testRenderListOfComponents0.021
testRenderSingleComponent0.012

PlainTextRendererTest

testRenderInPreview0.018
testRender0.008

TemplatingFunctionsMetaDataTest

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

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision0.223
testComponentInheritance0.048
testPropertyInheritanceWithInheritanceDisabled0.042
testDisabledPropertyInheritance0.041
testMultiLevelPropertyInheritance0.04
testDoesNothingOnTopLevelPage0.04
testResourcesInheritance0.039
testPropertyInheritance0.042

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_63.85

Failure Details

[Summary] [Package List] [Test Cases]


testOutputContainsPageEditorStyles
skipped: See SCRUM-1239. Will most likely be removed in 5.0
testOutputContainsPageEditorJavascript
skipped: See SCRUM-1239. Will most likely be removed in 5.0
testUsesDefaultBundleIfNoMetadata
skipped: TODO: check expectation here
testUsesDefaultBundleIfNotRenderableDefinition
skipped: TODO: check expectation here