Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
24200498.347%6.65

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.027
info.magnolia.templating.module.setup1000100%2.854
info.magnolia.templating.functions144000100%0.74
info.magnolia.templating.elements6400493.75%1.492
info.magnolia.templating.renderers4000100%0.042
info.magnolia.templating.inheritance8000100%0.495

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.798
ComponentDirectiveTest2000100%0.059
InitDirectiveTest3000100%0.082
ReadOnlyComponentDirectiveTest1000100%0.032
RenderableDefinitionModelTest3000100%0.025

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%2.854

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsMetaDataTest22000100%0.008
TemplatingFunctionsTest122000100%0.732

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%0.548
AbstractTemplateElementTest800275%0.188
AreaElementCanRenderAreaTest6000100%0.116
AreaElementComponentsTest5000100%0.091
AreaElementTest22000100%0.368
ComponentElementTest10000100%0.114
InitElementTest700271.429%0.066
MarkupHelperTest3000100%0.001

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
NoScriptRendererTest2000100%0.024
PlainTextRendererTest2000100%0.018

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%0.495

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext0.513
testSetAttributesInWebContext0.023
testGetTargetContent0.012

AbstractTemplateElementTest

testCurrentContent0.023
testUsesDefaultBundleIfNotSpecified0.062
testGetsCustomMessageCustomBundleWithPageTemplate0.018
testUsesDefaultBundleIfNoMetadata0.019
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph0.017
testDefaultMessageFromCustomBundleWithPageTemplate0.016
testUsesDefaultBundleIfNotRenderableDefinition0.017
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph0.016

AreaElementCanRenderAreaTest

test10.026
test20.021
test30.012
test40.013
test50.028
test60.016

AreaElementComponentsTest

testMaxComponentsNotSet0.025
testShouldShowAddButtonTypeSingle0.018
testMaxComponentsNotReached0.018
testShouldShowAddButtonTypeNoComponent0.012
testMaxComponentsReached0.018

AreaElementTest

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

ComponentElementTest

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

InitElementTest

testOutputEndPart0.01
testOutputContainsContent0.009
testOutputContainsGwtLocaleMetaProperty0.01
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.01

MarkupHelperTest

testNullContentAsEmptyString0.001
testParam0
testParamsKeepCamelCaseNotation0

AbstractDirectiveTest

testInitContentComponent0.011
testBodyCheck0.02

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached0.478
testCreateAreaNodeIsNotSetFallbackToDefaultValueTrue0.047
testCreateAreaNodeIsNotSetInDirectiveButIsSetInAreaDefinition0.039
testRenderSimpleBarWithoutAreaNode0.037
testRenderSimpleBar0.035
testDontShowAddButtonWhenMaxComponentsIsReached0.034
testCreateAreaNodeSetToFalse0.034
testCreateAreaNodeSetToTrue0.033
testDontShowBarWhenAreaIsHasNoComponentType0.032
testRenderNoBar0.029

ComponentDirectiveTest

testRenderSimpleBar0.03
testRenderWithDialog0.029

InitDirectiveTest

testRenderWithContent0.029
testRenderWithContentAndDialog0.026
testRenderSimpleBar0.027

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.032

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.011
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.007
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.007

TemplatingFunctionsMetaDataTest

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

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision0.214
testComponentInheritance0.045
testPropertyInheritanceWithInheritanceDisabled0.039
testDisabledPropertyInheritance0.039
testMultiLevelPropertyInheritance0.038
testDoesNothingOnTopLevelPage0.039
testResourcesInheritance0.041
testPropertyInheritance0.04

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_62.854

NoScriptRendererTest

testRenderListOfComponents0.014
testRenderSingleComponent0.01

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