Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
24800498.387%9.061

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.freemarker21000100%0.953
info.magnolia.templating.module.setup1000100%5.274
info.magnolia.templating.functions150000100%0.639
info.magnolia.templating.elements6400493.75%1.485
info.magnolia.templating.renderers4000100%0.169
info.magnolia.templating.inheritance8000100%0.541

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.035
AreaDirectiveTest10000100%0.763
ComponentDirectiveTest2000100%0.048
InitDirectiveTest3000100%0.061
ReadOnlyComponentDirectiveTest1000100%0.023
RenderableDefinitionModelTest3000100%0.023

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%5.274

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsMetaDataTest22000100%0.008
TemplatingFunctionsTest128000100%0.631

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%0.622
AbstractTemplateElementTest800275%0.174
AreaElementCanRenderAreaTest6000100%0.097
AreaElementComponentsTest5000100%0.067
AreaElementTest22000100%0.353
ComponentElementTest10000100%0.095
InitElementTest700271.429%0.076
MarkupHelperTest3000100%0.001

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
NoScriptRendererTest2000100%0.116
PlainTextRendererTest2000100%0.053

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%0.541

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext0.602
testSetAttributesInWebContext0.011
testGetTargetContent0.009

AbstractTemplateElementTest

testCurrentContent0.022
testUsesDefaultBundleIfNotSpecified0.063
testGetsCustomMessageCustomBundleWithPageTemplate0.013
testUsesDefaultBundleIfNoMetadata0.014
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph0.012
testDefaultMessageFromCustomBundleWithPageTemplate0.014
testUsesDefaultBundleIfNotRenderableDefinition0.014
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph0.022

AreaElementCanRenderAreaTest

test10.022
test20.018
test30.01
test40.009
test50.027
test60.011

AreaElementComponentsTest

testMaxComponentsNotSet0.016
testShouldShowAddButtonTypeSingle0.01
testMaxComponentsNotReached0.012
testShouldShowAddButtonTypeNoComponent0.017
testMaxComponentsReached0.012

AreaElementTest

testBeginWithConfFromTemplateDefinition0.013
testBeginWithEditable0.009
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch0.009
testEndWithAllowedInheritButNullInheritConfig0.012
testEndWithConfFromTemplateDefinition0.013
testBeginCreateNodeArea0.016
testDontRenderCmsCommentsInPreviewMode0.01
testBeginSimple0.016
testUseAreaI18nBaseNameIfPossible0.022
testDoNotFailOnNPEDuringCanRenderAreaScript0.07
testSingleAreaWithMoreComponentsShouldNotFail0.012
testBeginWithInheritence0.015
testResolveTemplateDefinitionConsidersVariation0.023
testTryToCreateAreaNode0.021
testUseParentI18nBaseNameIfAreaBaseNameIsNotSpecified0.009
testBeginWithCreateAreaNodeAttribute0.013
testAvailableComponentsForSuperuser0.017
testRenderCmsCommentsWhenBeeingInEditMode0.012
testBeginWithCreateAreaNodeAttributeIsNotSetFallbackToDefaultValueTrue0.009
testListAndSingleTypeComponentsAreNotRenderedIfTheyHaventAnyChildComponentsAndRenderingOfTheseAreasIsDisabled0.009
testBeginGetContentFromParent0.012
testAvailableComponentsForEditor0.011

ComponentElementTest

testRenderBeginAll0.017
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch0.007
testRenderBeginWithEditable0.008
testDontRenderCmsCommentsInPreviewMode0.009
testRenderWithoutComment0.01
testResolvePermissionsFromTemplate0.01
testRenderBeginOnlyContent0.009
testResolvePermissionsFromTemplateAvailability0.009
testRenderCmsCommentsWhenBeeingInEditMode0.008
testPostRender0.008

InitElementTest

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

MarkupHelperTest

testNullContentAsEmptyString0
testParam0
testParamsKeepCamelCaseNotation0

AbstractDirectiveTest

testInitContentComponent0.013
testBodyCheck0.022

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached0.517
testCreateAreaNodeIsNotSetFallbackToDefaultValueTrue0.041
testCreateAreaNodeIsNotSetInDirectiveButIsSetInAreaDefinition0.028
testRenderSimpleBarWithoutAreaNode0.026
testRenderSimpleBar0.024
testDontShowAddButtonWhenMaxComponentsIsReached0.026
testCreateAreaNodeSetToFalse0.032
testCreateAreaNodeSetToTrue0.026
testDontShowBarWhenAreaIsHasNoComponentType0.022
testRenderNoBar0.021

ComponentDirectiveTest

testRenderSimpleBar0.022
testRenderWithDialog0.026

InitDirectiveTest

testRenderWithContent0.019
testRenderWithContentAndDialog0.02
testRenderSimpleBar0.022

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.023

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.009
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.007
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.007

TemplatingFunctionsMetaDataTest

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

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision0.267
testComponentInheritance0.045
testPropertyInheritanceWithInheritanceDisabled0.033
testDisabledPropertyInheritance0.054
testMultiLevelPropertyInheritance0.036
testDoesNothingOnTopLevelPage0.035
testResourcesInheritance0.031
testPropertyInheritance0.04

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_65.274

NoScriptRendererTest

testRenderListOfComponents0.087
testRenderSingleComponent0.029

PlainTextRendererTest

testRenderInPreview0.04
testRender0.013

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