Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
23500498.298%5.761

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.811
info.magnolia.templating.module.setup1000100%2.487
info.magnolia.templating.functions144000100%0.61
info.magnolia.templating.elements6100493.443%1.338
info.magnolia.templating.renderers4000100%0.055
info.magnolia.templating.inheritance8000100%0.46

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.023
AreaDirectiveTest6000100%0.582
ComponentDirectiveTest2000100%0.052
InitDirectiveTest3000100%0.089
ReadOnlyComponentDirectiveTest1000100%0.024
RenderableDefinitionModelTest3000100%0.041

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%2.487

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsMetaDataTest22000100%0.008
TemplatingFunctionsTest122000100%0.602

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%0.466
AbstractTemplateElementTest800275%0.183
AreaElementCanRenderAreaTest6000100%0.117
AreaElementComponentsTest5000100%0.068
AreaElementTest19000100%0.303
ComponentElementTest10000100%0.118
InitElementTest700271.429%0.082
MarkupHelperTest3000100%0.001

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
NoScriptRendererTest2000100%0.03
PlainTextRendererTest2000100%0.025

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%0.46

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext0.446
testSetAttributesInWebContext0.011
testGetTargetContent0.009

AbstractTemplateElementTest

testCurrentContent0.023
testUsesDefaultBundleIfNotSpecified0.052
testGetsCustomMessageCustomBundleWithPageTemplate0.02
testUsesDefaultBundleIfNoMetadata0.021
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph0.019
testDefaultMessageFromCustomBundleWithPageTemplate0.016
testUsesDefaultBundleIfNotRenderableDefinition0.016
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph0.016

AreaElementCanRenderAreaTest

test10.022
test20.017
test30.013
test40.01
test50.039
test60.016

AreaElementComponentsTest

testMaxComponentsNotSet0.02
testShouldShowAddButtonTypeSingle0.01
testMaxComponentsNotReached0.013
testShouldShowAddButtonTypeNoComponent0.012
testMaxComponentsReached0.013

AreaElementTest

testBeginWithConfFromTemplateDefinition0.014
testBeginWithEditable0.01
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch0.007
testEndWithAllowedInheritButNullInheritConfig0.011
testEndWithConfFromTemplateDefinition0.013
testDontRenderCmsCommentsInPreviewMode0.008
testBeginSimple0.01
testUseAreaI18nBaseNameIfPossible0.014
testDoNotFailOnNPEDuringCanRenderAreaScript0.076
testBeginWithInheritence0.01
testResolveTemplateDefinitionConsidersVariation0.013
testTryToCreateAreaNode0.014
testUseParentI18nBaseNameIfAreaBaseNameIsNotSpecified0.016
testAvailableComponentsForSuperuser0.017
testRenderCmsCommentsWhenBeeingInEditMode0.015
testBeginCreateNode0.014
testListAndSingleTypeComponentsAreNotRenderedIfTheyHaventAnyChildComponentsAndRenderingOfTheseAreasIsDisabled0.015
testBeginGetContentFromParent0.014
testAvailableComponentsForEditor0.012

ComponentElementTest

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

InitElementTest

testOutputEndPart0.008
testOutputContainsContent0.007
testOutputContainsGwtLocaleMetaProperty0.008
testOutputContainsContentAndDialog0.017
testOutputContainsPageEditorStyles0.017
See SCRUM-1239. Will most likely be removed in 5.0
testOutputContainsPageEditorJavascript0.018
See SCRUM-1239. Will most likely be removed in 5.0
testOutputWithoutContent0.007

MarkupHelperTest

testNullContentAsEmptyString0.001
testParam0
testParamsKeepCamelCaseNotation0

AbstractDirectiveTest

testInitContentComponent0.01
testBodyCheck0.013

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached0.422
testRenderSimpleBarWithoutAreaNode0.034
testRenderSimpleBar0.031
testDontShowAddButtonWhenMaxComponentsIsReached0.035
testDontShowBarWhenAreaIsHasNoComponentType0.029
testRenderNoBar0.031

ComponentDirectiveTest

testRenderSimpleBar0.026
testRenderWithDialog0.026

InitDirectiveTest

testRenderWithContent0.028
testRenderWithContentAndDialog0.028
testRenderSimpleBar0.033

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.024

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.026
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.007
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.008

TemplatingFunctionsMetaDataTest

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

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision0.201
testComponentInheritance0.046
testPropertyInheritanceWithInheritanceDisabled0.043
testDisabledPropertyInheritance0.037
testMultiLevelPropertyInheritance0.03
testDoesNothingOnTopLevelPage0.03
testResourcesInheritance0.03
testPropertyInheritance0.043

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_62.487

NoScriptRendererTest

testRenderListOfComponents0.017
testRenderSingleComponent0.013

PlainTextRendererTest

testRenderInPreview0.015
testRender0.01

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