Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
24200498.347%9.279

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%1.231
info.magnolia.templating.module.setup1000100%4.347
info.magnolia.templating.functions144000100%0.922
info.magnolia.templating.elements6400493.75%2.104
info.magnolia.templating.renderers4000100%0.085
info.magnolia.templating.inheritance8000100%0.59

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.039
AreaDirectiveTest10000100%0.944
ComponentDirectiveTest2000100%0.074
InitDirectiveTest3000100%0.104
ReadOnlyComponentDirectiveTest1000100%0.038
RenderableDefinitionModelTest3000100%0.032

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%4.347

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsMetaDataTest22000100%0.009
TemplatingFunctionsTest122000100%0.913

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%0.739
AbstractTemplateElementTest800275%0.252
AreaElementCanRenderAreaTest6000100%0.202
AreaElementComponentsTest5000100%0.127
AreaElementTest22000100%0.508
ComponentElementTest10000100%0.133
InitElementTest700271.429%0.143
MarkupHelperTest3000100%0

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
NoScriptRendererTest2000100%0.059
PlainTextRendererTest2000100%0.026

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%0.59

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext0.693
testSetAttributesInWebContext0.032
testGetTargetContent0.014

AbstractTemplateElementTest

testCurrentContent0.024
testUsesDefaultBundleIfNotSpecified0.081
testGetsCustomMessageCustomBundleWithPageTemplate0.03
testUsesDefaultBundleIfNoMetadata0.031
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph0.023
testDefaultMessageFromCustomBundleWithPageTemplate0.023
testUsesDefaultBundleIfNotRenderableDefinition0.023
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph0.017

AreaElementCanRenderAreaTest

test10.041
test20.03
test30.017
test40.016
test50.075
test60.023

AreaElementComponentsTest

testMaxComponentsNotSet0.043
testShouldShowAddButtonTypeSingle0.021
testMaxComponentsNotReached0.025
testShouldShowAddButtonTypeNoComponent0.014
testMaxComponentsReached0.024

AreaElementTest

testBeginWithConfFromTemplateDefinition0.028
testBeginWithEditable0.016
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch0.023
testEndWithAllowedInheritButNullInheritConfig0.015
testEndWithConfFromTemplateDefinition0.015
testBeginCreateNodeArea0.016
testDontRenderCmsCommentsInPreviewMode0.013
testBeginSimple0.013
testUseAreaI18nBaseNameIfPossible0.024
testDoNotFailOnNPEDuringCanRenderAreaScript0.099
testSingleAreaWithMoreComponentsShouldNotFail0.017
testBeginWithInheritence0.034
testResolveTemplateDefinitionConsidersVariation0.022
testTryToCreateAreaNode0.031
testUseParentI18nBaseNameIfAreaBaseNameIsNotSpecified0.014
testBeginWithCreateAreaNodeAttribute0.026
testAvailableComponentsForSuperuser0.023
testRenderCmsCommentsWhenBeeingInEditMode0.016
testBeginWithCreateAreaNodeAttributeIsNotSetFallbackToDefaultValueTrue0.012
testListAndSingleTypeComponentsAreNotRenderedIfTheyHaventAnyChildComponentsAndRenderingOfTheseAreasIsDisabled0.014
testBeginGetContentFromParent0.021
testAvailableComponentsForEditor0.016

ComponentElementTest

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

InitElementTest

testOutputEndPart0.016
testOutputContainsContent0.01
testOutputContainsGwtLocaleMetaProperty0.019
testOutputContainsContentAndDialog0.029
testOutputContainsPageEditorStyles0.029
See SCRUM-1239. Will most likely be removed in 5.0
testOutputContainsPageEditorJavascript0.029
See SCRUM-1239. Will most likely be removed in 5.0
testOutputWithoutContent0.011

MarkupHelperTest

testNullContentAsEmptyString0
testParam0
testParamsKeepCamelCaseNotation0

AbstractDirectiveTest

testInitContentComponent0.01
testBodyCheck0.029

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached0.565
testCreateAreaNodeIsNotSetFallbackToDefaultValueTrue0.042
testCreateAreaNodeIsNotSetInDirectiveButIsSetInAreaDefinition0.043
testRenderSimpleBarWithoutAreaNode0.049
testRenderSimpleBar0.037
testDontShowAddButtonWhenMaxComponentsIsReached0.042
testCreateAreaNodeSetToFalse0.048
testCreateAreaNodeSetToTrue0.044
testDontShowBarWhenAreaIsHasNoComponentType0.036
testRenderNoBar0.038

ComponentDirectiveTest

testRenderSimpleBar0.033
testRenderWithDialog0.041

InitDirectiveTest

testRenderWithContent0.035
testRenderWithContentAndDialog0.03
testRenderSimpleBar0.039

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.038

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.016
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.009
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.007

TemplatingFunctionsMetaDataTest

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

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision0.261
testComponentInheritance0.054
testPropertyInheritanceWithInheritanceDisabled0.046
testDisabledPropertyInheritance0.039
testMultiLevelPropertyInheritance0.04
testDoesNothingOnTopLevelPage0.043
testResourcesInheritance0.037
testPropertyInheritance0.07

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_64.347

NoScriptRendererTest

testRenderListOfComponents0.028
testRenderSingleComponent0.031

PlainTextRendererTest

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