Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
24800498.387%7.353

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.033
info.magnolia.templating.module.setup1000100%3.362
info.magnolia.templating.functions150000100%0.756
info.magnolia.templating.elements6400493.75%1.574
info.magnolia.templating.renderers4000100%0.07
info.magnolia.templating.inheritance8000100%0.558

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.031
AreaDirectiveTest10000100%0.786
ComponentDirectiveTest2000100%0.078
InitDirectiveTest3000100%0.083
ReadOnlyComponentDirectiveTest1000100%0.031
RenderableDefinitionModelTest3000100%0.024

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%3.362

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsMetaDataTest22000100%0.003
TemplatingFunctionsTest128000100%0.753

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%0.591
AbstractTemplateElementTest800275%0.185
AreaElementCanRenderAreaTest6000100%0.14
AreaElementComponentsTest5000100%0.087
AreaElementTest22000100%0.385
ComponentElementTest10000100%0.109
InitElementTest700271.429%0.076
MarkupHelperTest3000100%0.001

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
NoScriptRendererTest2000100%0.045
PlainTextRendererTest2000100%0.025

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%0.558

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext0.568
testSetAttributesInWebContext0.013
testGetTargetContent0.01

AbstractTemplateElementTest

testCurrentContent0.023
testUsesDefaultBundleIfNotSpecified0.058
testGetsCustomMessageCustomBundleWithPageTemplate0.019
testUsesDefaultBundleIfNoMetadata0.02
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph0.02
testDefaultMessageFromCustomBundleWithPageTemplate0.016
testUsesDefaultBundleIfNotRenderableDefinition0.016
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph0.013

AreaElementCanRenderAreaTest

test10.028
test20.019
test30.015
test40.016
test50.045
test60.017

AreaElementComponentsTest

testMaxComponentsNotSet0.033
testShouldShowAddButtonTypeSingle0.012
testMaxComponentsNotReached0.014
testShouldShowAddButtonTypeNoComponent0.013
testMaxComponentsReached0.015

AreaElementTest

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

ComponentElementTest

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

InitElementTest

testOutputEndPart0.009
testOutputContainsContent0.018
testOutputContainsGwtLocaleMetaProperty0.007
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.015

MarkupHelperTest

testNullContentAsEmptyString0.001
testParam0
testParamsKeepCamelCaseNotation0

AbstractDirectiveTest

testInitContentComponent0.014
testBodyCheck0.017

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached0.466
testCreateAreaNodeIsNotSetFallbackToDefaultValueTrue0.04
testCreateAreaNodeIsNotSetInDirectiveButIsSetInAreaDefinition0.04
testRenderSimpleBarWithoutAreaNode0.043
testRenderSimpleBar0.034
testDontShowAddButtonWhenMaxComponentsIsReached0.038
testCreateAreaNodeSetToFalse0.03
testCreateAreaNodeSetToTrue0.034
testDontShowBarWhenAreaIsHasNoComponentType0.03
testRenderNoBar0.031

ComponentDirectiveTest

testRenderSimpleBar0.048
testRenderWithDialog0.03

InitDirectiveTest

testRenderWithContent0.03
testRenderWithContentAndDialog0.028
testRenderSimpleBar0.025

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.031

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.012
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.006
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.006

TemplatingFunctionsMetaDataTest

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

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision0.218
testComponentInheritance0.054
testPropertyInheritanceWithInheritanceDisabled0.042
testDisabledPropertyInheritance0.04
testMultiLevelPropertyInheritance0.036
testDoesNothingOnTopLevelPage0.042
testResourcesInheritance0.079
testPropertyInheritance0.047

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_63.362

NoScriptRendererTest

testRenderListOfComponents0.026
testRenderSingleComponent0.019

PlainTextRendererTest

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