Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
23500498.298%7.96

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.977
info.magnolia.templating.module.setup1000100%3.832
info.magnolia.templating.functions144000100%0.918
info.magnolia.templating.elements6100493.443%1.651
info.magnolia.templating.inheritance8000100%0.521
info.magnolia.templating.renderers4000100%0.061

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.739
ComponentDirectiveTest2000100%0.069
ReadOnlyComponentDirectiveTest1000100%0.033
RenderableDefinitionModelTest3000100%0.03
InitDirectiveTest3000100%0.096
AbstractDirectiveTest2000100%0.01

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%3.832

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsMetaDataTest22000100%0.012
TemplatingFunctionsTest122000100%0.906

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
InitElementTest700271.429%0.645
AbstractTemplateElementTest800275%0.225
AreaElementComponentsTest5000100%0.154
AreaElementTest19000100%0.376
MarkupHelperTest3000100%0.001
ComponentElementTest10000100%0.136
AbstractContentTemplatingElementTest3000100%0.032
AreaElementCanRenderAreaTest6000100%0.082

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%0.521

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
NoScriptRendererTest2000100%0.034
PlainTextRendererTest2000100%0.027

Test Cases

[Summary] [Package List] [Test Cases]

InitElementTest

testOutputEndPart0.558
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.035
testUsesDefaultBundleIfNotSpecified0.072
testGetsCustomMessageCustomBundleWithPageTemplate0.02
testUsesDefaultBundleIfNoMetadata0.021
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph0.019
testDefaultMessageFromCustomBundleWithPageTemplate0.019
testUsesDefaultBundleIfNotRenderableDefinition0.019
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph0.02

AreaElementComponentsTest

testMaxComponentsNotSet0.055
testShouldShowAddButtonTypeSingle0.038
testMaxComponentsNotReached0.022
testShouldShowAddButtonTypeNoComponent0.015
testMaxComponentsReached0.024

AreaElementTest

testBeginWithConfFromTemplateDefinition0.014
testBeginWithEditable0.014
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch0.013
testEndWithAllowedInheritButNullInheritConfig0.014
testEndWithConfFromTemplateDefinition0.014
testDontRenderCmsCommentsInPreviewMode0.012
testBeginSimple0.013
testUseAreaI18nBaseNameIfPossible0.022
testDoNotFailOnNPEDuringCanRenderAreaScript0.102
testBeginWithInheritence0.016
testResolveTemplateDefinitionConsidersVariation0.019
testTryToCreateAreaNode0.017
testUseParentI18nBaseNameIfAreaBaseNameIsNotSpecified0.014
testAvailableComponentsForSuperuser0.017
testRenderCmsCommentsWhenBeeingInEditMode0.014
testBeginCreateNode0.014
testListAndSingleTypeComponentsAreNotRenderedIfTheyHaventAnyChildComponentsAndRenderingOfTheseAreasIsDisabled0.02
testBeginGetContentFromParent0.013
testAvailableComponentsForEditor0.014

MarkupHelperTest

testNullContentAsEmptyString0
testParam0
testParamsKeepCamelCaseNotation0

ComponentElementTest

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

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext0.01
testSetAttributesInWebContext0.011
testGetTargetContent0.011

AreaElementCanRenderAreaTest

test10.013
test20.014
test30.012
test40.012
test50.016
test60.015

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached0.55
testRenderSimpleBarWithoutAreaNode0.042
testRenderSimpleBar0.039
testDontShowAddButtonWhenMaxComponentsIsReached0.039
testDontShowBarWhenAreaIsHasNoComponentType0.037
testRenderNoBar0.032

ComponentDirectiveTest

testRenderSimpleBar0.034
testRenderWithDialog0.035

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.033

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.013
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.009
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.008

InitDirectiveTest

testRenderWithContent0.032
testRenderWithContentAndDialog0.032
testRenderSimpleBar0.032

AbstractDirectiveTest

testInitContentComponent0.009
testBodyCheck0.001

NoScriptRendererTest

testRenderListOfComponents0.022
testRenderSingleComponent0.012

PlainTextRendererTest

testRenderInPreview0.019
testRender0.008

TemplatingFunctionsMetaDataTest

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

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision0.225
testComponentInheritance0.048
testPropertyInheritanceWithInheritanceDisabled0.042
testDisabledPropertyInheritance0.042
testMultiLevelPropertyInheritance0.041
testDoesNothingOnTopLevelPage0.041
testResourcesInheritance0.039
testPropertyInheritance0.043

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_63.832

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