Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
23000498.261%4.723

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.668
info.magnolia.templating.module.setup1000100%2.33
info.magnolia.templating.functions144000100%0.201
info.magnolia.templating.elements5600492.857%1.101
info.magnolia.templating.renderers4000100%0.03
info.magnolia.templating.inheritance8000100%0.393

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.025
AreaDirectiveTest6000100%0.524
ComponentDirectiveTest2000100%0.053
InitDirectiveTest3000100%0.066
ReadOnlyComponentDirectiveTest1000100%0
RenderableDefinitionModelTest3000100%0

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%2.33

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsMetaDataTest22000100%0.001
TemplatingFunctionsTest122000100%0.2

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%0.437
AbstractTemplateElementTest800275%0.145
AreaElementComponentsTest5000100%0.092
AreaElementTest20000100%0.274
ComponentElementTest10000100%0.1
InitElementTest700271.429%0.053
MarkupHelperTest3000100%0

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
NoScriptRendererTest2000100%0.017
PlainTextRendererTest2000100%0.013

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%0.393

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext0.413
testSetAttributesInWebContext0.008
testGetTargetContent0.016

AbstractTemplateElementTest

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

AreaElementComponentsTest

testMaxComponentsNotSet0.038
testShouldShowAddButtonTypeSingle0.011
testMaxComponentsNotReached0.015
testShouldShowAddButtonTypeNoComponent0.011
testMaxComponentsReached0.017

AreaElementTest

testBeginWithConfFromTemplateDefinition0.012
testBeginWithEditable0.01
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch0.009
testEndWithAllowedInheritButNullInheritConfig0.011
testEndWithConfFromTemplateDefinition0.01
testDontRenderCmsCommentsInPreviewMode0.012
testBeginSimple0.01
testUseAreaI18nBaseNameIfPossible0.016
testDoNotFailOnNPEDuringCanRenderAreaScript0.058
testBeginWithInheritence0.011
testResolveTemplateDefinitionConsidersVariation0.014
testTryToCreateAreaNode0.011
testUseParentI18nBaseNameIfAreaBaseNameIsNotSpecified0.01
testAvailableComponentsForSuperuser0.012
testRenderCmsCommentsWhenBeeingInEditMode0.01
testCanRenderAreaScript0.021
testBeginCreateNode0.01
testListAndSingleTypeComponentsAreNotRenderedIfTheyHaventAnyChildComponentsAndRenderingOfTheseAreasIsDisabled0.009
testBeginGetContentFromParent0.009
testAvailableComponentsForEditor0.009

ComponentElementTest

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

InitElementTest

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

MarkupHelperTest

testNullContentAsEmptyString0
testParam0
testParamsKeepCamelCaseNotation0

AbstractDirectiveTest

testInitContentComponent0.009
testBodyCheck0.016

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached0.384
testRenderSimpleBarWithoutAreaNode0.032
testRenderSimpleBar0.029
testDontShowAddButtonWhenMaxComponentsIsReached0.029
testDontShowBarWhenAreaIsHasNoComponentType0.027
testRenderNoBar0.023

ComponentDirectiveTest

testRenderSimpleBar0.027
testRenderWithDialog0.026

InitDirectiveTest

testRenderWithContent0.023
testRenderWithContentAndDialog0.022
testRenderSimpleBar0.021

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0

TemplatingFunctionsMetaDataTest

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

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision0.163
testComponentInheritance0.037
testPropertyInheritanceWithInheritanceDisabled0.034
testDisabledPropertyInheritance0.032
testMultiLevelPropertyInheritance0.033
testDoesNothingOnTopLevelPage0.03
testResourcesInheritance0.032
testPropertyInheritance0.032

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_62.33

NoScriptRendererTest

testRenderListOfComponents0.01
testRenderSingleComponent0.007

PlainTextRendererTest

testRenderInPreview0.008
testRender0.005

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