Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
23500498.298%6.553

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.9
info.magnolia.templating.module.setup1000100%2.843
info.magnolia.templating.functions144000100%0.769
info.magnolia.templating.elements6100493.443%1.516
info.magnolia.templating.renderers4000100%0.041
info.magnolia.templating.inheritance8000100%0.484

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.032
AreaDirectiveTest6000100%0.669
ComponentDirectiveTest2000100%0.064
InitDirectiveTest3000100%0.082
ReadOnlyComponentDirectiveTest1000100%0.029
RenderableDefinitionModelTest3000100%0.024

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%2.843

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsMetaDataTest22000100%0.01
TemplatingFunctionsTest122000100%0.759

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%0.58
AbstractTemplateElementTest800275%0.195
AreaElementCanRenderAreaTest6000100%0.12
AreaElementComponentsTest5000100%0.094
AreaElementTest19000100%0.337
ComponentElementTest10000100%0.118
InitElementTest700271.429%0.071
MarkupHelperTest3000100%0.001

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
NoScriptRendererTest2000100%0.023
PlainTextRendererTest2000100%0.018

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%0.484

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext0.544
testSetAttributesInWebContext0.022
testGetTargetContent0.014

AbstractTemplateElementTest

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

AreaElementCanRenderAreaTest

test10.027
test20.022
test30.013
test40.013
test50.029
test60.016

AreaElementComponentsTest

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

AreaElementTest

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

ComponentElementTest

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

InitElementTest

testOutputEndPart0.01
testOutputContainsContent0.009
testOutputContainsGwtLocaleMetaProperty0.014
testOutputContainsContentAndDialog0.009
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.009

MarkupHelperTest

testNullContentAsEmptyString0
testParam0
testParamsKeepCamelCaseNotation0

AbstractDirectiveTest

testInitContentComponent0.012
testBodyCheck0.02

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached0.485
testRenderSimpleBarWithoutAreaNode0.039
testRenderSimpleBar0.038
testDontShowAddButtonWhenMaxComponentsIsReached0.039
testDontShowBarWhenAreaIsHasNoComponentType0.038
testRenderNoBar0.03

ComponentDirectiveTest

testRenderSimpleBar0.032
testRenderWithDialog0.032

InitDirectiveTest

testRenderWithContent0.028
testRenderWithContentAndDialog0.027
testRenderSimpleBar0.027

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.029

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.011
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.006
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.007

TemplatingFunctionsMetaDataTest

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

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision0.203
testComponentInheritance0.046
testPropertyInheritanceWithInheritanceDisabled0.04
testDisabledPropertyInheritance0.042
testMultiLevelPropertyInheritance0.038
testDoesNothingOnTopLevelPage0.039
testResourcesInheritance0.037
testPropertyInheritance0.039

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_62.843

NoScriptRendererTest

testRenderListOfComponents0.014
testRenderSingleComponent0.009

PlainTextRendererTest

testRenderInPreview0.011
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