Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
24100498.34%6.817

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.06
info.magnolia.templating.module.setup1000100%2.909
info.magnolia.templating.functions144000100%0.737
info.magnolia.templating.elements6300493.651%1.539
info.magnolia.templating.renderers4000100%0.04
info.magnolia.templating.inheritance8000100%0.532

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.032
AreaDirectiveTest10000100%0.819
ComponentDirectiveTest2000100%0.06
InitDirectiveTest3000100%0.093
ReadOnlyComponentDirectiveTest1000100%0.036
RenderableDefinitionModelTest3000100%0.02

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%2.909

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsMetaDataTest22000100%0.01
TemplatingFunctionsTest122000100%0.727

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%0.555
AbstractTemplateElementTest800275%0.24
AreaElementCanRenderAreaTest6000100%0.118
AreaElementComponentsTest5000100%0.091
AreaElementTest21000100%0.353
ComponentElementTest10000100%0.116
InitElementTest700271.429%0.065
MarkupHelperTest3000100%0.001

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
NoScriptRendererTest2000100%0.022
PlainTextRendererTest2000100%0.018

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%0.532

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext0.519
testSetAttributesInWebContext0.023
testGetTargetContent0.013

AbstractTemplateElementTest

testCurrentContent0.023
testUsesDefaultBundleIfNotSpecified0.071
testGetsCustomMessageCustomBundleWithPageTemplate0.039
testUsesDefaultBundleIfNoMetadata0.04
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph0.017
testDefaultMessageFromCustomBundleWithPageTemplate0.017
testUsesDefaultBundleIfNotRenderableDefinition0.017
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph0.016

AreaElementCanRenderAreaTest

test10.026
test20.022
test30.013
test40.013
test50.028
test60.016

AreaElementComponentsTest

testMaxComponentsNotSet0.026
testShouldShowAddButtonTypeSingle0.016
testMaxComponentsNotReached0.018
testShouldShowAddButtonTypeNoComponent0.013
testMaxComponentsReached0.018

AreaElementTest

testBeginWithConfFromTemplateDefinition0.015
testBeginWithEditable0.012
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch0.011
testEndWithAllowedInheritButNullInheritConfig0.013
testEndWithConfFromTemplateDefinition0.014
testBeginCreateNodeArea0.013
testDontRenderCmsCommentsInPreviewMode0.011
testBeginSimple0.012
testUseAreaI18nBaseNameIfPossible0.018
testDoNotFailOnNPEDuringCanRenderAreaScript0.089
testBeginWithInheritence0.014
testResolveTemplateDefinitionConsidersVariation0.016
testTryToCreateAreaNode0.015
testUseParentI18nBaseNameIfAreaBaseNameIsNotSpecified0.012
testBeginWithCreateAreaNodeAttribute0.012
testAvailableComponentsForSuperuser0.015
testRenderCmsCommentsWhenBeeingInEditMode0.013
testBeginWithCreateAreaNodeAttributeIsNotSetFallbackToDefaultValueTrue0.012
testListAndSingleTypeComponentsAreNotRenderedIfTheyHaventAnyChildComponentsAndRenderingOfTheseAreasIsDisabled0.013
testBeginGetContentFromParent0.011
testAvailableComponentsForEditor0.012

ComponentElementTest

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

InitElementTest

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

MarkupHelperTest

testNullContentAsEmptyString0
testParam0
testParamsKeepCamelCaseNotation0.001

AbstractDirectiveTest

testInitContentComponent0.012
testBodyCheck0.02

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached0.49
testCreateAreaNodeIsNotSetFallbackToDefaultValueTrue0.043
testCreateAreaNodeIsNotSetInDirectiveButIsSetInAreaDefinition0.046
testRenderSimpleBarWithoutAreaNode0.038
testRenderSimpleBar0.036
testDontShowAddButtonWhenMaxComponentsIsReached0.035
testCreateAreaNodeSetToFalse0.035
testCreateAreaNodeSetToTrue0.034
testDontShowBarWhenAreaIsHasNoComponentType0.033
testRenderNoBar0.029

ComponentDirectiveTest

testRenderSimpleBar0.03
testRenderWithDialog0.03

InitDirectiveTest

testRenderWithContent0.035
testRenderWithContentAndDialog0.029
testRenderSimpleBar0.029

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.036

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.007
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.007
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.006

TemplatingFunctionsMetaDataTest

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

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision0.21
testComponentInheritance0.054
testPropertyInheritanceWithInheritanceDisabled0.046
testDisabledPropertyInheritance0.041
testMultiLevelPropertyInheritance0.04
testDoesNothingOnTopLevelPage0.04
testResourcesInheritance0.059
testPropertyInheritance0.042

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_62.909

NoScriptRendererTest

testRenderListOfComponents0.013
testRenderSingleComponent0.009

PlainTextRendererTest

testRenderInPreview0.011
testRender0.007

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