Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
24200498.347%4.132

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.666
info.magnolia.templating.module.setup1000100%1.795
info.magnolia.templating.functions144000100%0.4
info.magnolia.templating.elements6400493.75%0.94
info.magnolia.templating.renderers4000100%0.024
info.magnolia.templating.inheritance8000100%0.307

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.019
AreaDirectiveTest10000100%0.519
ComponentDirectiveTest2000100%0.038
InitDirectiveTest3000100%0.056
ReadOnlyComponentDirectiveTest1000100%0.02
RenderableDefinitionModelTest3000100%0.014

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%1.795

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsMetaDataTest22000100%0.004
TemplatingFunctionsTest122000100%0.396

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%0.352
AbstractTemplateElementTest800275%0.122
AreaElementCanRenderAreaTest6000100%0.073
AreaElementComponentsTest5000100%0.056
AreaElementTest22000100%0.23
ComponentElementTest10000100%0.065
InitElementTest700271.429%0.041
MarkupHelperTest3000100%0.001

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
NoScriptRendererTest2000100%0.014
PlainTextRendererTest2000100%0.01

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%0.307

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext0.331
testSetAttributesInWebContext0.007
testGetTargetContent0.014

AbstractTemplateElementTest

testCurrentContent0.014
testUsesDefaultBundleIfNotSpecified0.04
testGetsCustomMessageCustomBundleWithPageTemplate0.012
testUsesDefaultBundleIfNoMetadata0.013
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph0.011
testDefaultMessageFromCustomBundleWithPageTemplate0.011
testUsesDefaultBundleIfNotRenderableDefinition0.011
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph0.01

AreaElementCanRenderAreaTest

test10.017
test20.013
test30.008
test40.008
test50.017
test60.01

AreaElementComponentsTest

testMaxComponentsNotSet0.016
testShouldShowAddButtonTypeSingle0.008
testMaxComponentsNotReached0.011
testShouldShowAddButtonTypeNoComponent0.01
testMaxComponentsReached0.011

AreaElementTest

testBeginWithConfFromTemplateDefinition0.01
testBeginWithEditable0.007
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch0.007
testEndWithAllowedInheritButNullInheritConfig0.008
testEndWithConfFromTemplateDefinition0.01
testBeginCreateNodeArea0.008
testDontRenderCmsCommentsInPreviewMode0.006
testBeginSimple0.008
testUseAreaI18nBaseNameIfPossible0.011
testDoNotFailOnNPEDuringCanRenderAreaScript0.056
testSingleAreaWithMoreComponentsShouldNotFail0.008
testBeginWithInheritence0.008
testResolveTemplateDefinitionConsidersVariation0.013
testTryToCreateAreaNode0.009
testUseParentI18nBaseNameIfAreaBaseNameIsNotSpecified0.007
testBeginWithCreateAreaNodeAttribute0.007
testAvailableComponentsForSuperuser0.01
testRenderCmsCommentsWhenBeeingInEditMode0.008
testBeginWithCreateAreaNodeAttributeIsNotSetFallbackToDefaultValueTrue0.007
testListAndSingleTypeComponentsAreNotRenderedIfTheyHaventAnyChildComponentsAndRenderingOfTheseAreasIsDisabled0.008
testBeginGetContentFromParent0.007
testAvailableComponentsForEditor0.007

ComponentElementTest

testRenderBeginAll0.007
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch0.005
testRenderBeginWithEditable0.007
testDontRenderCmsCommentsInPreviewMode0.006
testRenderWithoutComment0.006
testResolvePermissionsFromTemplate0.007
testRenderBeginOnlyContent0.006
testResolvePermissionsFromTemplateAvailability0.007
testRenderCmsCommentsWhenBeeingInEditMode0.007
testPostRender0.007

InitElementTest

testOutputEndPart0.006
testOutputContainsContent0.006
testOutputContainsGwtLocaleMetaProperty0.008
testOutputContainsContentAndDialog0.005
testOutputContainsPageEditorStyles0.005
See SCRUM-1239. Will most likely be removed in 5.0
testOutputContainsPageEditorJavascript0.005
See SCRUM-1239. Will most likely be removed in 5.0
testOutputWithoutContent0.006

MarkupHelperTest

testNullContentAsEmptyString0
testParam0
testParamsKeepCamelCaseNotation0

AbstractDirectiveTest

testInitContentComponent0.008
testBodyCheck0.011

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached0.315
testCreateAreaNodeIsNotSetFallbackToDefaultValueTrue0.026
testCreateAreaNodeIsNotSetInDirectiveButIsSetInAreaDefinition0.025
testRenderSimpleBarWithoutAreaNode0.024
testRenderSimpleBar0.026
testDontShowAddButtonWhenMaxComponentsIsReached0.022
testCreateAreaNodeSetToFalse0.022
testCreateAreaNodeSetToTrue0.021
testDontShowBarWhenAreaIsHasNoComponentType0.02
testRenderNoBar0.018

ComponentDirectiveTest

testRenderSimpleBar0.019
testRenderWithDialog0.019

InitDirectiveTest

testRenderWithContent0.018
testRenderWithContentAndDialog0.018
testRenderSimpleBar0.02

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.02

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.006
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.004
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.004

TemplatingFunctionsMetaDataTest

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

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision0.134
testComponentInheritance0.028
testPropertyInheritanceWithInheritanceDisabled0.026
testDisabledPropertyInheritance0.024
testMultiLevelPropertyInheritance0.023
testDoesNothingOnTopLevelPage0.024
testResourcesInheritance0.024
testPropertyInheritance0.024

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_61.795

NoScriptRendererTest

testRenderListOfComponents0.008
testRenderSingleComponent0.006

PlainTextRendererTest

testRenderInPreview0.006
testRender0.004

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