Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
24200498.347%5.661

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.839
info.magnolia.templating.module.setup1000100%2.352
info.magnolia.templating.functions144000100%0.574
info.magnolia.templating.elements6400493.75%1.39
info.magnolia.templating.renderers4000100%0.042
info.magnolia.templating.inheritance8000100%0.464

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
AreaDirectiveTest10000100%0.66
ComponentDirectiveTest2000100%0.046
InitDirectiveTest3000100%0.056
ReadOnlyComponentDirectiveTest1000100%0.025
RenderableDefinitionModelTest3000100%0.019

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%2.352

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsMetaDataTest22000100%0.007
TemplatingFunctionsTest122000100%0.567

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%0.506
AbstractTemplateElementTest800275%0.172
AreaElementCanRenderAreaTest6000100%0.104
AreaElementComponentsTest5000100%0.07
AreaElementTest22000100%0.368
ComponentElementTest10000100%0.097
InitElementTest700271.429%0.072
MarkupHelperTest3000100%0.001

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
NoScriptRendererTest2000100%0.024
PlainTextRendererTest2000100%0.018

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%0.464

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext0.475
testSetAttributesInWebContext0.02
testGetTargetContent0.011

AbstractTemplateElementTest

testCurrentContent0.023
testUsesDefaultBundleIfNotSpecified0.063
testGetsCustomMessageCustomBundleWithPageTemplate0.017
testUsesDefaultBundleIfNoMetadata0.018
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph0.011
testDefaultMessageFromCustomBundleWithPageTemplate0.014
testUsesDefaultBundleIfNotRenderableDefinition0.014
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph0.012

AreaElementCanRenderAreaTest

test10.023
test20.021
test30.011
test40.01
test50.027
test60.012

AreaElementComponentsTest

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

AreaElementTest

testBeginWithConfFromTemplateDefinition0.012
testBeginWithEditable0.009
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch0.016
testEndWithAllowedInheritButNullInheritConfig0.016
testEndWithConfFromTemplateDefinition0.012
testBeginCreateNodeArea0.012
testDontRenderCmsCommentsInPreviewMode0.008
testBeginSimple0.009
testUseAreaI18nBaseNameIfPossible0.019
testDoNotFailOnNPEDuringCanRenderAreaScript0.075
testSingleAreaWithMoreComponentsShouldNotFail0.011
testBeginWithInheritence0.015
testResolveTemplateDefinitionConsidersVariation0.019
testTryToCreateAreaNode0.02
testUseParentI18nBaseNameIfAreaBaseNameIsNotSpecified0.012
testBeginWithCreateAreaNodeAttribute0.015
testAvailableComponentsForSuperuser0.016
testRenderCmsCommentsWhenBeeingInEditMode0.013
testBeginWithCreateAreaNodeAttributeIsNotSetFallbackToDefaultValueTrue0.012
testListAndSingleTypeComponentsAreNotRenderedIfTheyHaventAnyChildComponentsAndRenderingOfTheseAreasIsDisabled0.009
testBeginGetContentFromParent0.016
testAvailableComponentsForEditor0.022

ComponentElementTest

testRenderBeginAll0.015
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch0.008
testRenderBeginWithEditable0.009
testDontRenderCmsCommentsInPreviewMode0.008
testRenderWithoutComment0.012
testResolvePermissionsFromTemplate0.011
testRenderBeginOnlyContent0.009
testResolvePermissionsFromTemplateAvailability0.009
testRenderCmsCommentsWhenBeeingInEditMode0.007
testPostRender0.009

InitElementTest

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

MarkupHelperTest

testNullContentAsEmptyString0
testParam0
testParamsKeepCamelCaseNotation0

AbstractDirectiveTest

testInitContentComponent0.009
testBodyCheck0.024

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached0.425
testCreateAreaNodeIsNotSetFallbackToDefaultValueTrue0.029
testCreateAreaNodeIsNotSetInDirectiveButIsSetInAreaDefinition0.027
testRenderSimpleBarWithoutAreaNode0.028
testRenderSimpleBar0.023
testDontShowAddButtonWhenMaxComponentsIsReached0.024
testCreateAreaNodeSetToFalse0.029
testCreateAreaNodeSetToTrue0.025
testDontShowBarWhenAreaIsHasNoComponentType0.025
testRenderNoBar0.025

ComponentDirectiveTest

testRenderSimpleBar0.024
testRenderWithDialog0.022

InitDirectiveTest

testRenderWithContent0.018
testRenderWithContentAndDialog0.02
testRenderSimpleBar0.018

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.025

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.008
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.005
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.006

TemplatingFunctionsMetaDataTest

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

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision0.209
testComponentInheritance0.04
testPropertyInheritanceWithInheritanceDisabled0.038
testDisabledPropertyInheritance0.033
testMultiLevelPropertyInheritance0.032
testDoesNothingOnTopLevelPage0.029
testResourcesInheritance0.037
testPropertyInheritance0.046

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_62.352

NoScriptRendererTest

testRenderListOfComponents0.014
testRenderSingleComponent0.01

PlainTextRendererTest

testRenderInPreview0.009
testRender0.009

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