Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
23500498.298%6.466

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.92
info.magnolia.templating.module.setup1000100%2.773
info.magnolia.templating.functions144000100%0.755
info.magnolia.templating.elements6100493.443%1.491
info.magnolia.templating.renderers4000100%0.058
info.magnolia.templating.inheritance8000100%0.469

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.678
ComponentDirectiveTest2000100%0.067
InitDirectiveTest3000100%0.088
ReadOnlyComponentDirectiveTest1000100%0.028
RenderableDefinitionModelTest3000100%0.026

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%2.773

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsMetaDataTest22000100%0.007
TemplatingFunctionsTest122000100%0.748

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%0.562
AbstractTemplateElementTest800275%0.192
AreaElementCanRenderAreaTest6000100%0.12
AreaElementComponentsTest5000100%0.095
AreaElementTest19000100%0.336
ComponentElementTest10000100%0.117
InitElementTest700271.429%0.069
MarkupHelperTest3000100%0

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
NoScriptRendererTest2000100%0.04
PlainTextRendererTest2000100%0.018

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%0.469

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext0.528
testSetAttributesInWebContext0.021
testGetTargetContent0.013

AbstractTemplateElementTest

testCurrentContent0.022
testUsesDefaultBundleIfNotSpecified0.066
testGetsCustomMessageCustomBundleWithPageTemplate0.019
testUsesDefaultBundleIfNoMetadata0.019
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph0.017
testDefaultMessageFromCustomBundleWithPageTemplate0.016
testUsesDefaultBundleIfNotRenderableDefinition0.017
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph0.016

AreaElementCanRenderAreaTest

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

AreaElementComponentsTest

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

AreaElementTest

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

ComponentElementTest

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

InitElementTest

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

MarkupHelperTest

testNullContentAsEmptyString0
testParam0
testParamsKeepCamelCaseNotation0

AbstractDirectiveTest

testInitContentComponent0.011
testBodyCheck0.022

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached0.492
testRenderSimpleBarWithoutAreaNode0.041
testRenderSimpleBar0.042
testDontShowAddButtonWhenMaxComponentsIsReached0.039
testDontShowBarWhenAreaIsHasNoComponentType0.034
testRenderNoBar0.03

ComponentDirectiveTest

testRenderSimpleBar0.033
testRenderWithDialog0.034

InitDirectiveTest

testRenderWithContent0.029
testRenderWithContentAndDialog0.03
testRenderSimpleBar0.029

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.028

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.011
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.008
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.007

TemplatingFunctionsMetaDataTest

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

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision0.2
testComponentInheritance0.045
testPropertyInheritanceWithInheritanceDisabled0.041
testDisabledPropertyInheritance0.038
testMultiLevelPropertyInheritance0.037
testDoesNothingOnTopLevelPage0.036
testResourcesInheritance0.035
testPropertyInheritance0.037

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_62.773

NoScriptRendererTest

testRenderListOfComponents0.029
testRenderSingleComponent0.011

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