Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
23500498.298%5.003

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.711
info.magnolia.templating.module.setup1000100%2.215
info.magnolia.templating.functions144000100%0.494
info.magnolia.templating.elements6100493.443%1.162
info.magnolia.templating.renderers4000100%0.034
info.magnolia.templating.inheritance8000100%0.387

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.029
AreaDirectiveTest6000100%0.524
ComponentDirectiveTest2000100%0.054
InitDirectiveTest3000100%0.062
ReadOnlyComponentDirectiveTest1000100%0.023
RenderableDefinitionModelTest3000100%0.019

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%2.215

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsMetaDataTest22000100%0.006
TemplatingFunctionsTest122000100%0.488

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%0.433
AbstractTemplateElementTest800275%0.137
AreaElementCanRenderAreaTest6000100%0.099
AreaElementComponentsTest5000100%0.07
AreaElementTest19000100%0.277
ComponentElementTest10000100%0.098
InitElementTest700271.429%0.047
MarkupHelperTest3000100%0.001

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
NoScriptRendererTest2000100%0.021
PlainTextRendererTest2000100%0.013

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%0.387

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext0.41
testSetAttributesInWebContext0.007
testGetTargetContent0.016

AbstractTemplateElementTest

testCurrentContent0.019
testUsesDefaultBundleIfNotSpecified0.042
testGetsCustomMessageCustomBundleWithPageTemplate0.014
testUsesDefaultBundleIfNoMetadata0.015
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph0.011
testDefaultMessageFromCustomBundleWithPageTemplate0.011
testUsesDefaultBundleIfNotRenderableDefinition0.011
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph0.014

AreaElementCanRenderAreaTest

test10.02
test20.016
test30.011
test40.01
test50.024
test60.018

AreaElementComponentsTest

testMaxComponentsNotSet0.022
testShouldShowAddButtonTypeSingle0.009
testMaxComponentsNotReached0.013
testShouldShowAddButtonTypeNoComponent0.014
testMaxComponentsReached0.012

AreaElementTest

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

ComponentElementTest

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

InitElementTest

testOutputEndPart0.006
testOutputContainsContent0.006
testOutputContainsGwtLocaleMetaProperty0.006
testOutputContainsContentAndDialog0.007
testOutputContainsPageEditorStyles0.007
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.001
testParam0
testParamsKeepCamelCaseNotation0

AbstractDirectiveTest

testInitContentComponent0.008
testBodyCheck0.021

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached0.37
testRenderSimpleBarWithoutAreaNode0.031
testRenderSimpleBar0.042
testDontShowAddButtonWhenMaxComponentsIsReached0.032
testDontShowBarWhenAreaIsHasNoComponentType0.027
testRenderNoBar0.022

ComponentDirectiveTest

testRenderSimpleBar0.027
testRenderWithDialog0.027

InitDirectiveTest

testRenderWithContent0.024
testRenderWithContentAndDialog0.019
testRenderSimpleBar0.019

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.023

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.01
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.004
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.005

TemplatingFunctionsMetaDataTest

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

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision0.169
testComponentInheritance0.039
testPropertyInheritanceWithInheritanceDisabled0.031
testDisabledPropertyInheritance0.028
testMultiLevelPropertyInheritance0.027
testDoesNothingOnTopLevelPage0.028
testResourcesInheritance0.026
testPropertyInheritance0.039

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_62.215

NoScriptRendererTest

testRenderListOfComponents0.014
testRenderSingleComponent0.007

PlainTextRendererTest

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