Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
23000498.261%6.97

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.869
info.magnolia.templating.module.setup1000100%3.472
info.magnolia.templating.functions144000100%0.794
info.magnolia.templating.elements5600492.857%1.337
info.magnolia.templating.inheritance8000100%0.446
info.magnolia.templating.renderers4000100%0.052

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

info.magnolia.templating.freemarker

ClassTestsErrors FailuresSkippedSuccess RateTime
AreaDirectiveTest6000100%0.662
ComponentDirectiveTest2000100%0.062
ReadOnlyComponentDirectiveTest1000100%0.029
RenderableDefinitionModelTest3000100%0.026
InitDirectiveTest3000100%0.081
AbstractDirectiveTest2000100%0.009

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%3.472

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsMetaDataTest22000100%0.009
TemplatingFunctionsTest122000100%0.785

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractTemplateElementTest800275%0.652
AreaElementComponentsTest5000100%0.141
AreaElementTest20000100%0.33
MarkupHelperTest3000100%0.001
ComponentElementTest10000100%0.12
AbstractContentTemplatingElementTest3000100%0.028
InitElementTest700271.429%0.065

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%0.446

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
NoScriptRendererTest2000100%0.028
PlainTextRendererTest2000100%0.024

Test Cases

[Summary] [Package List] [Test Cases]

AbstractTemplateElementTest

testCurrentContent0.489
testUsesDefaultBundleIfNotSpecified0.062
testGetsCustomMessageCustomBundleWithPageTemplate0.017
testUsesDefaultBundleIfNoMetadata0.018
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph0.017
testDefaultMessageFromCustomBundleWithPageTemplate0.016
testUsesDefaultBundleIfNotRenderableDefinition0.017
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph0.016

AreaElementComponentsTest

testMaxComponentsNotSet0.048
testShouldShowAddButtonTypeSingle0.015
testMaxComponentsNotReached0.02
testShouldShowAddButtonTypeNoComponent0.014
testMaxComponentsReached0.044

AreaElementTest

testBeginWithConfFromTemplateDefinition0.016
testBeginWithEditable0.012
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch0.011
testEndWithAllowedInheritButNullInheritConfig0.012
testEndWithConfFromTemplateDefinition0.013
testDontRenderCmsCommentsInPreviewMode0.01
testBeginSimple0.011
testUseAreaI18nBaseNameIfPossible0.019
testDoNotFailOnNPEDuringCanRenderAreaScript0.067
testBeginWithInheritence0.014
testResolveTemplateDefinitionConsidersVariation0.018
testTryToCreateAreaNode0.013
testUseParentI18nBaseNameIfAreaBaseNameIsNotSpecified0.012
testAvailableComponentsForSuperuser0.015
testRenderCmsCommentsWhenBeeingInEditMode0.013
testCanRenderAreaScript0.027
testBeginCreateNode0.011
testListAndSingleTypeComponentsAreNotRenderedIfTheyHaventAnyChildComponentsAndRenderingOfTheseAreasIsDisabled0.013
testBeginGetContentFromParent0.011
testAvailableComponentsForEditor0.012

MarkupHelperTest

testNullContentAsEmptyString0
testParam0
testParamsKeepCamelCaseNotation0.001

ComponentElementTest

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

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext0.009
testSetAttributesInWebContext0.009
testGetTargetContent0.01

InitElementTest

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

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached0.496
testRenderSimpleBarWithoutAreaNode0.036
testRenderSimpleBar0.035
testDontShowAddButtonWhenMaxComponentsIsReached0.034
testDontShowBarWhenAreaIsHasNoComponentType0.032
testRenderNoBar0.029

ComponentDirectiveTest

testRenderSimpleBar0.031
testRenderWithDialog0.031

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.029

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.012
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.007
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.007

InitDirectiveTest

testRenderWithContent0.028
testRenderWithContentAndDialog0.027
testRenderSimpleBar0.026

AbstractDirectiveTest

testInitContentComponent0.008
testBodyCheck0.001

NoScriptRendererTest

testRenderListOfComponents0.018
testRenderSingleComponent0.01

PlainTextRendererTest

testRenderInPreview0.016
testRender0.008

TemplatingFunctionsMetaDataTest

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

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision0.196
testComponentInheritance0.04
testPropertyInheritanceWithInheritanceDisabled0.036
testDisabledPropertyInheritance0.036
testMultiLevelPropertyInheritance0.035
testDoesNothingOnTopLevelPage0.034
testResourcesInheritance0.033
testPropertyInheritance0.036

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_63.472

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