Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
23500498.298%6.446

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.912
info.magnolia.templating.module.setup1000100%2.74
info.magnolia.templating.functions144000100%0.755
info.magnolia.templating.elements6100493.443%1.512
info.magnolia.templating.renderers4000100%0.04
info.magnolia.templating.inheritance8000100%0.487

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.669
ComponentDirectiveTest2000100%0.067
InitDirectiveTest3000100%0.087
ReadOnlyComponentDirectiveTest1000100%0.029
RenderableDefinitionModelTest3000100%0.027

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%2.74

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsMetaDataTest22000100%0.006
TemplatingFunctionsTest122000100%0.749

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%0.574
AbstractTemplateElementTest800275%0.195
AreaElementCanRenderAreaTest6000100%0.121
AreaElementComponentsTest5000100%0.092
AreaElementTest19000100%0.34
ComponentElementTest10000100%0.117
InitElementTest700271.429%0.072
MarkupHelperTest3000100%0.001

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
NoScriptRendererTest2000100%0.023
PlainTextRendererTest2000100%0.017

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%0.487

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext0.539
testSetAttributesInWebContext0.022
testGetTargetContent0.013

AbstractTemplateElementTest

testCurrentContent0.024
testUsesDefaultBundleIfNotSpecified0.065
testGetsCustomMessageCustomBundleWithPageTemplate0.019
testUsesDefaultBundleIfNoMetadata0.02
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph0.017
testDefaultMessageFromCustomBundleWithPageTemplate0.016
testUsesDefaultBundleIfNotRenderableDefinition0.017
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph0.017

AreaElementCanRenderAreaTest

test10.026
test20.023
test30.013
test40.013
test50.029
test60.017

AreaElementComponentsTest

testMaxComponentsNotSet0.026
testShouldShowAddButtonTypeSingle0.017
testMaxComponentsNotReached0.018
testShouldShowAddButtonTypeNoComponent0.013
testMaxComponentsReached0.018

AreaElementTest

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

ComponentElementTest

testRenderBeginAll0.013
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch0.011
testRenderBeginWithEditable0.012
testDontRenderCmsCommentsInPreviewMode0.012
testRenderWithoutComment0.01
testResolvePermissionsFromTemplate0.013
testRenderBeginOnlyContent0.012
testResolvePermissionsFromTemplateAvailability0.012
testRenderCmsCommentsWhenBeeingInEditMode0.011
testPostRender0.011

InitElementTest

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

MarkupHelperTest

testNullContentAsEmptyString0
testParam0
testParamsKeepCamelCaseNotation0

AbstractDirectiveTest

testInitContentComponent0.012
testBodyCheck0.021

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached0.484
testRenderSimpleBarWithoutAreaNode0.04
testRenderSimpleBar0.038
testDontShowAddButtonWhenMaxComponentsIsReached0.036
testDontShowBarWhenAreaIsHasNoComponentType0.041
testRenderNoBar0.03

ComponentDirectiveTest

testRenderSimpleBar0.033
testRenderWithDialog0.034

InitDirectiveTest

testRenderWithContent0.03
testRenderWithContentAndDialog0.029
testRenderSimpleBar0.028

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.029

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.012
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.007
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.008

TemplatingFunctionsMetaDataTest

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

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision0.205
testComponentInheritance0.045
testPropertyInheritanceWithInheritanceDisabled0.04
testDisabledPropertyInheritance0.043
testMultiLevelPropertyInheritance0.038
testDoesNothingOnTopLevelPage0.039
testResourcesInheritance0.037
testPropertyInheritance0.04

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_62.74

NoScriptRendererTest

testRenderListOfComponents0.013
testRenderSingleComponent0.01

PlainTextRendererTest

testRenderInPreview0.01
testRender0.007

Failure Details

[Summary] [Package List] [Test Cases]


testUsesDefaultBundleIfNoMetadata
skipped: TODO: check expectation here
testUsesDefaultBundleIfNotRenderableDefinition
skipped: TODO: check expectation here
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