Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
24200498.347%15.094

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%2.357
info.magnolia.templating.module.setup1000100%5.455
info.magnolia.templating.functions144000100%2.234
info.magnolia.templating.elements6400493.75%3.753
info.magnolia.templating.renderers4000100%0.107
info.magnolia.templating.inheritance8000100%1.188

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.036
AreaDirectiveTest10000100%1.854
ComponentDirectiveTest2000100%0.153
InitDirectiveTest3000100%0.169
ReadOnlyComponentDirectiveTest1000100%0.086
RenderableDefinitionModelTest3000100%0.059

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%5.455

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsMetaDataTest22000100%0.009
TemplatingFunctionsTest122000100%2.225

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%1.513
AbstractTemplateElementTest800275%0.485
AreaElementCanRenderAreaTest6000100%0.274
AreaElementComponentsTest5000100%0.179
AreaElementTest22000100%0.817
ComponentElementTest10000100%0.234
InitElementTest700271.429%0.251
MarkupHelperTest3000100%0

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
NoScriptRendererTest2000100%0.04
PlainTextRendererTest2000100%0.067

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%1.188

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext1.473
testSetAttributesInWebContext0.022
testGetTargetContent0.018

AbstractTemplateElementTest

testCurrentContent0.083
testUsesDefaultBundleIfNotSpecified0.154
testGetsCustomMessageCustomBundleWithPageTemplate0.044
testUsesDefaultBundleIfNoMetadata0.06
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph0.047
testDefaultMessageFromCustomBundleWithPageTemplate0.025
testUsesDefaultBundleIfNotRenderableDefinition0.026
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph0.046

AreaElementCanRenderAreaTest

test10.048
test20.088
test30
test40.018
test50.085
test60.035

AreaElementComponentsTest

testMaxComponentsNotSet0.049
testShouldShowAddButtonTypeSingle0.025
testMaxComponentsNotReached0.03
testShouldShowAddButtonTypeNoComponent0.038
testMaxComponentsReached0.037

AreaElementTest

testBeginWithConfFromTemplateDefinition0.03
testBeginWithEditable0.015
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch0.027
testEndWithAllowedInheritButNullInheritConfig0.018
testEndWithConfFromTemplateDefinition0.04
testBeginCreateNodeArea0.035
testDontRenderCmsCommentsInPreviewMode0.028
testBeginSimple0.017
testUseAreaI18nBaseNameIfPossible0.031
testDoNotFailOnNPEDuringCanRenderAreaScript0.165
testSingleAreaWithMoreComponentsShouldNotFail0.032
testBeginWithInheritence0.052
testResolveTemplateDefinitionConsidersVariation0.063
testTryToCreateAreaNode0.047
testUseParentI18nBaseNameIfAreaBaseNameIsNotSpecified0.023
testBeginWithCreateAreaNodeAttribute0.05
testAvailableComponentsForSuperuser0.028
testRenderCmsCommentsWhenBeeingInEditMode0.029
testBeginWithCreateAreaNodeAttributeIsNotSetFallbackToDefaultValueTrue0.016
testListAndSingleTypeComponentsAreNotRenderedIfTheyHaventAnyChildComponentsAndRenderingOfTheseAreasIsDisabled0.02
testBeginGetContentFromParent0.029
testAvailableComponentsForEditor0.022

ComponentElementTest

testRenderBeginAll0.017
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch0.033
testRenderBeginWithEditable0.05
testDontRenderCmsCommentsInPreviewMode0.016
testRenderWithoutComment0.011
testResolvePermissionsFromTemplate0.026
testRenderBeginOnlyContent0.017
testResolvePermissionsFromTemplateAvailability0.032
testRenderCmsCommentsWhenBeeingInEditMode0.018
testPostRender0.014

InitElementTest

testOutputEndPart0.025
testOutputContainsContent0.011
testOutputContainsGwtLocaleMetaProperty0.012
testOutputContainsContentAndDialog0.06
testOutputContainsPageEditorStyles0.061
See SCRUM-1239. Will most likely be removed in 5.0
testOutputContainsPageEditorJavascript0.061
See SCRUM-1239. Will most likely be removed in 5.0
testOutputWithoutContent0.021

MarkupHelperTest

testNullContentAsEmptyString0
testParam0
testParamsKeepCamelCaseNotation0

AbstractDirectiveTest

testInitContentComponent0.016
testBodyCheck0.02

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached1.105
testCreateAreaNodeIsNotSetFallbackToDefaultValueTrue0.09
testCreateAreaNodeIsNotSetInDirectiveButIsSetInAreaDefinition0.084
testRenderSimpleBarWithoutAreaNode0.096
testRenderSimpleBar0.087
testDontShowAddButtonWhenMaxComponentsIsReached0.088
testCreateAreaNodeSetToFalse0.042
testCreateAreaNodeSetToTrue0.084
testDontShowBarWhenAreaIsHasNoComponentType0.067
testRenderNoBar0.111

ComponentDirectiveTest

testRenderSimpleBar0.061
testRenderWithDialog0.092

InitDirectiveTest

testRenderWithContent0.073
testRenderWithContentAndDialog0.055
testRenderSimpleBar0.041

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.086

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.038
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.012
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.009

TemplatingFunctionsMetaDataTest

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

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision0.575
testComponentInheritance0.132
testPropertyInheritanceWithInheritanceDisabled0.123
testDisabledPropertyInheritance0.07
testMultiLevelPropertyInheritance0.098
testDoesNothingOnTopLevelPage0.064
testResourcesInheritance0.059
testPropertyInheritance0.067

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_65.455

NoScriptRendererTest

testRenderListOfComponents0.018
testRenderSingleComponent0.022

PlainTextRendererTest

testRenderInPreview0.058
testRender0.009

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