Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
24200498.347%5.5

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.835
info.magnolia.templating.module.setup1000100%2.308
info.magnolia.templating.functions144000100%0.571
info.magnolia.templating.elements6400493.75%1.302
info.magnolia.templating.renderers4000100%0.044
info.magnolia.templating.inheritance8000100%0.44

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.022
AreaDirectiveTest10000100%0.631
ComponentDirectiveTest2000100%0.056
InitDirectiveTest3000100%0.076
ReadOnlyComponentDirectiveTest1000100%0.024
RenderableDefinitionModelTest3000100%0.026

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%2.308

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsMetaDataTest22000100%0.005
TemplatingFunctionsTest122000100%0.566

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%0.446
AbstractTemplateElementTest800275%0.157
AreaElementCanRenderAreaTest6000100%0.102
AreaElementComponentsTest5000100%0.075
AreaElementTest22000100%0.354
ComponentElementTest10000100%0.089
InitElementTest700271.429%0.079
MarkupHelperTest3000100%0

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
NoScriptRendererTest2000100%0.028
PlainTextRendererTest2000100%0.016

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%0.44

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext0.421
testSetAttributesInWebContext0.016
testGetTargetContent0.009

AbstractTemplateElementTest

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

AreaElementCanRenderAreaTest

test10.019
test20.026
test30.006
test40.01
test50.03
test60.011

AreaElementComponentsTest

testMaxComponentsNotSet0.019
testShouldShowAddButtonTypeSingle0.011
testMaxComponentsNotReached0.021
testShouldShowAddButtonTypeNoComponent0.009
testMaxComponentsReached0.015

AreaElementTest

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

ComponentElementTest

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

InitElementTest

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

MarkupHelperTest

testNullContentAsEmptyString0
testParam0
testParamsKeepCamelCaseNotation0

AbstractDirectiveTest

testInitContentComponent0.008
testBodyCheck0.014

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached0.371
testCreateAreaNodeIsNotSetFallbackToDefaultValueTrue0.032
testCreateAreaNodeIsNotSetInDirectiveButIsSetInAreaDefinition0.03
testRenderSimpleBarWithoutAreaNode0.035
testRenderSimpleBar0.029
testDontShowAddButtonWhenMaxComponentsIsReached0.032
testCreateAreaNodeSetToFalse0.027
testCreateAreaNodeSetToTrue0.024
testDontShowBarWhenAreaIsHasNoComponentType0.026
testRenderNoBar0.025

ComponentDirectiveTest

testRenderSimpleBar0.028
testRenderWithDialog0.028

InitDirectiveTest

testRenderWithContent0.026
testRenderWithContentAndDialog0.028
testRenderSimpleBar0.022

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.024

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.011
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.008
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.007

TemplatingFunctionsMetaDataTest

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

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision0.204
testComponentInheritance0.047
testPropertyInheritanceWithInheritanceDisabled0.033
testDisabledPropertyInheritance0.029
testMultiLevelPropertyInheritance0.027
testDoesNothingOnTopLevelPage0.033
testResourcesInheritance0.028
testPropertyInheritance0.039

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_62.308

NoScriptRendererTest

testRenderListOfComponents0.017
testRenderSingleComponent0.011

PlainTextRendererTest

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