Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
24200498.347%5.633

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.849
info.magnolia.templating.module.setup1000100%2.396
info.magnolia.templating.functions144000100%0.663
info.magnolia.templating.elements6400493.75%1.248
info.magnolia.templating.renderers4000100%0.034
info.magnolia.templating.inheritance8000100%0.443

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.03
AreaDirectiveTest10000100%0.66
ComponentDirectiveTest2000100%0.046
InitDirectiveTest3000100%0.063
ReadOnlyComponentDirectiveTest1000100%0.024
RenderableDefinitionModelTest3000100%0.026

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%2.396

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsMetaDataTest22000100%0.005
TemplatingFunctionsTest122000100%0.658

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%0.463
AbstractTemplateElementTest800275%0.164
AreaElementCanRenderAreaTest6000100%0.101
AreaElementComponentsTest5000100%0.062
AreaElementTest22000100%0.314
ComponentElementTest10000100%0.093
InitElementTest700271.429%0.05
MarkupHelperTest3000100%0.001

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
NoScriptRendererTest2000100%0.019
PlainTextRendererTest2000100%0.015

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%0.443

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext0.443
testSetAttributesInWebContext0.01
testGetTargetContent0.01

AbstractTemplateElementTest

testCurrentContent0.018
testUsesDefaultBundleIfNotSpecified0.059
testGetsCustomMessageCustomBundleWithPageTemplate0.014
testUsesDefaultBundleIfNoMetadata0.015
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph0.014
testDefaultMessageFromCustomBundleWithPageTemplate0.016
testUsesDefaultBundleIfNotRenderableDefinition0.016
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph0.012

AreaElementCanRenderAreaTest

test10.023
test20.027
test30.009
test40.009
test50.021
test60.012

AreaElementComponentsTest

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

AreaElementTest

testBeginWithConfFromTemplateDefinition0.013
testBeginWithEditable0.01
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch0.009
testEndWithAllowedInheritButNullInheritConfig0.01
testEndWithConfFromTemplateDefinition0.011
testBeginCreateNodeArea0.011
testDontRenderCmsCommentsInPreviewMode0.008
testBeginSimple0.009
testUseAreaI18nBaseNameIfPossible0.015
testDoNotFailOnNPEDuringCanRenderAreaScript0.077
testSingleAreaWithMoreComponentsShouldNotFail0.01
testBeginWithInheritence0.015
testResolveTemplateDefinitionConsidersVariation0.014
testTryToCreateAreaNode0.012
testUseParentI18nBaseNameIfAreaBaseNameIsNotSpecified0.01
testBeginWithCreateAreaNodeAttribute0.012
testAvailableComponentsForSuperuser0.017
testRenderCmsCommentsWhenBeeingInEditMode0.01
testBeginWithCreateAreaNodeAttributeIsNotSetFallbackToDefaultValueTrue0.01
testListAndSingleTypeComponentsAreNotRenderedIfTheyHaventAnyChildComponentsAndRenderingOfTheseAreasIsDisabled0.011
testBeginGetContentFromParent0.011
testAvailableComponentsForEditor0.009

ComponentElementTest

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

InitElementTest

testOutputEndPart0.008
testOutputContainsContent0.007
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.001
testParamsKeepCamelCaseNotation0

AbstractDirectiveTest

testInitContentComponent0.012
testBodyCheck0.018

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached0.415
testCreateAreaNodeIsNotSetFallbackToDefaultValueTrue0.03
testCreateAreaNodeIsNotSetInDirectiveButIsSetInAreaDefinition0.028
testRenderSimpleBarWithoutAreaNode0.029
testRenderSimpleBar0.025
testDontShowAddButtonWhenMaxComponentsIsReached0.025
testCreateAreaNodeSetToFalse0.038
testCreateAreaNodeSetToTrue0.025
testDontShowBarWhenAreaIsHasNoComponentType0.023
testRenderNoBar0.022

ComponentDirectiveTest

testRenderSimpleBar0.024
testRenderWithDialog0.022

InitDirectiveTest

testRenderWithContent0.022
testRenderWithContentAndDialog0.02
testRenderSimpleBar0.021

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.024

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.013
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.007
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.006

TemplatingFunctionsMetaDataTest

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

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision0.197
testComponentInheritance0.039
testPropertyInheritanceWithInheritanceDisabled0.037
testDisabledPropertyInheritance0.034
testMultiLevelPropertyInheritance0.032
testDoesNothingOnTopLevelPage0.035
testResourcesInheritance0.032
testPropertyInheritance0.037

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_62.396

NoScriptRendererTest

testRenderListOfComponents0.012
testRenderSingleComponent0.007

PlainTextRendererTest

testRenderInPreview0.009
testRender0.006

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