Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
23000498.261%5.482

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.817
info.magnolia.templating.module.setup1000100%2.255
info.magnolia.templating.functions144000100%0.665
info.magnolia.templating.elements5600492.857%1.279
info.magnolia.templating.renderers4000100%0.036
info.magnolia.templating.inheritance8000100%0.43

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.026
AreaDirectiveTest6000100%0.598
ComponentDirectiveTest2000100%0.062
InitDirectiveTest3000100%0.079
ReadOnlyComponentDirectiveTest1000100%0.03
RenderableDefinitionModelTest3000100%0.022

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%2.255

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsMetaDataTest22000100%0.007
TemplatingFunctionsTest122000100%0.658

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%0.521
AbstractTemplateElementTest800275%0.178
AreaElementComponentsTest5000100%0.112
AreaElementTest20000100%0.302
ComponentElementTest10000100%0.108
InitElementTest700271.429%0.058
MarkupHelperTest3000100%0

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
NoScriptRendererTest2000100%0.02
PlainTextRendererTest2000100%0.016

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%0.43

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext0.491
testSetAttributesInWebContext0.009
testGetTargetContent0.021

AbstractTemplateElementTest

testCurrentContent0.019
testUsesDefaultBundleIfNotSpecified0.051
testGetsCustomMessageCustomBundleWithPageTemplate0.02
testUsesDefaultBundleIfNoMetadata0.02
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph0.017
testDefaultMessageFromCustomBundleWithPageTemplate0.018
testUsesDefaultBundleIfNotRenderableDefinition0.019
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph0.014

AreaElementComponentsTest

testMaxComponentsNotSet0.047
testShouldShowAddButtonTypeSingle0.013
testMaxComponentsNotReached0.016
testShouldShowAddButtonTypeNoComponent0.015
testMaxComponentsReached0.021

AreaElementTest

testBeginWithConfFromTemplateDefinition0.012
testBeginWithEditable0.011
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch0.009
testEndWithAllowedInheritButNullInheritConfig0.01
testEndWithConfFromTemplateDefinition0.01
testDontRenderCmsCommentsInPreviewMode0.011
testBeginSimple0.01
testUseAreaI18nBaseNameIfPossible0.017
testDoNotFailOnNPEDuringCanRenderAreaScript0.06
testBeginWithInheritence0.011
testResolveTemplateDefinitionConsidersVariation0.015
testTryToCreateAreaNode0.011
testUseParentI18nBaseNameIfAreaBaseNameIsNotSpecified0.012
testAvailableComponentsForSuperuser0.013
testRenderCmsCommentsWhenBeeingInEditMode0.013
testCanRenderAreaScript0.028
testBeginCreateNode0.012
testListAndSingleTypeComponentsAreNotRenderedIfTheyHaventAnyChildComponentsAndRenderingOfTheseAreasIsDisabled0.013
testBeginGetContentFromParent0.014
testAvailableComponentsForEditor0.01

ComponentElementTest

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

InitElementTest

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

MarkupHelperTest

testNullContentAsEmptyString0
testParam0
testParamsKeepCamelCaseNotation0

AbstractDirectiveTest

testInitContentComponent0.009
testBodyCheck0.017

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached0.431
testRenderSimpleBarWithoutAreaNode0.039
testRenderSimpleBar0.032
testDontShowAddButtonWhenMaxComponentsIsReached0.036
testDontShowBarWhenAreaIsHasNoComponentType0.036
testRenderNoBar0.024

ComponentDirectiveTest

testRenderSimpleBar0.033
testRenderWithDialog0.029

InitDirectiveTest

testRenderWithContent0.028
testRenderWithContentAndDialog0.026
testRenderSimpleBar0.025

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.03

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.01
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.006
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.006

TemplatingFunctionsMetaDataTest

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

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision0.181
testComponentInheritance0.036
testPropertyInheritanceWithInheritanceDisabled0.032
testDisabledPropertyInheritance0.037
testMultiLevelPropertyInheritance0.032
testDoesNothingOnTopLevelPage0.033
testResourcesInheritance0.036
testPropertyInheritance0.043

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_62.255

NoScriptRendererTest

testRenderListOfComponents0.012
testRenderSingleComponent0.008

PlainTextRendererTest

testRenderInPreview0.011
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