Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
23500498.298%7.784

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.935
info.magnolia.templating.module.setup1000100%3.83
info.magnolia.templating.functions144000100%0.874
info.magnolia.templating.elements6100493.443%1.574
info.magnolia.templating.inheritance8000100%0.514
info.magnolia.templating.renderers4000100%0.057

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.708
ComponentDirectiveTest2000100%0.066
ReadOnlyComponentDirectiveTest1000100%0.031
RenderableDefinitionModelTest3000100%0.029
InitDirectiveTest3000100%0.091
AbstractDirectiveTest2000100%0.01

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%3.83

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsMetaDataTest22000100%0.007
TemplatingFunctionsTest122000100%0.867

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
InitElementTest700271.429%0.619
AbstractTemplateElementTest800275%0.213
AreaElementComponentsTest5000100%0.142
AreaElementTest19000100%0.363
MarkupHelperTest3000100%0.001
ComponentElementTest10000100%0.128
AbstractContentTemplatingElementTest3000100%0.029
AreaElementCanRenderAreaTest6000100%0.079

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%0.514

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
NoScriptRendererTest2000100%0.031
PlainTextRendererTest2000100%0.026

Test Cases

[Summary] [Package List] [Test Cases]

InitElementTest

testOutputEndPart0.532
testOutputContainsContent0.015
testOutputContainsGwtLocaleMetaProperty0.014
testOutputContainsContentAndDialog0.014
testOutputContainsPageEditorStyles0.015
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.034
testUsesDefaultBundleIfNotSpecified0.068
testGetsCustomMessageCustomBundleWithPageTemplate0.019
testUsesDefaultBundleIfNoMetadata0.02
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph0.018
testDefaultMessageFromCustomBundleWithPageTemplate0.018
testUsesDefaultBundleIfNotRenderableDefinition0.018
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph0.018

AreaElementComponentsTest

testMaxComponentsNotSet0.052
testShouldShowAddButtonTypeSingle0.031
testMaxComponentsNotReached0.021
testShouldShowAddButtonTypeNoComponent0.014
testMaxComponentsReached0.024

AreaElementTest

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

MarkupHelperTest

testNullContentAsEmptyString0
testParam0.001
testParamsKeepCamelCaseNotation0

ComponentElementTest

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

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext0.01
testSetAttributesInWebContext0.009
testGetTargetContent0.01

AreaElementCanRenderAreaTest

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

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached0.527
testRenderSimpleBarWithoutAreaNode0.04
testRenderSimpleBar0.037
testDontShowAddButtonWhenMaxComponentsIsReached0.038
testDontShowBarWhenAreaIsHasNoComponentType0.035
testRenderNoBar0.031

ComponentDirectiveTest

testRenderSimpleBar0.033
testRenderWithDialog0.033

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.031

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.013
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.008
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.008

InitDirectiveTest

testRenderWithContent0.031
testRenderWithContentAndDialog0.03
testRenderSimpleBar0.03

AbstractDirectiveTest

testInitContentComponent0.009
testBodyCheck0.001

NoScriptRendererTest

testRenderListOfComponents0.02
testRenderSingleComponent0.011

PlainTextRendererTest

testRenderInPreview0.018
testRender0.008

TemplatingFunctionsMetaDataTest

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

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision0.22
testComponentInheritance0.049
testPropertyInheritanceWithInheritanceDisabled0.042
testDisabledPropertyInheritance0.041
testMultiLevelPropertyInheritance0.041
testDoesNothingOnTopLevelPage0.041
testResourcesInheritance0.039
testPropertyInheritance0.041

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_63.83

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