Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
23500498.298%12.857

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.freemarker17000100%1.916
info.magnolia.templating.module.setup1000100%5.192
info.magnolia.templating.functions144000100%1.693
info.magnolia.templating.elements6100493.443%3.043
info.magnolia.templating.renderers4000100%0.072
info.magnolia.templating.inheritance8000100%0.941

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.094
AreaDirectiveTest6000100%1.439
ComponentDirectiveTest2000100%0.114
InitDirectiveTest3000100%0.163
ReadOnlyComponentDirectiveTest1000100%0.05
RenderableDefinitionModelTest3000100%0.056

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%5.192

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsMetaDataTest22000100%0.029
TemplatingFunctionsTest122000100%1.664

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%1.308
AbstractTemplateElementTest800275%0.339
AreaElementCanRenderAreaTest6000100%0.177
AreaElementComponentsTest5000100%0.157
AreaElementTest19000100%0.627
ComponentElementTest10000100%0.298
InitElementTest700271.429%0.137
MarkupHelperTest3000100%0

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
NoScriptRendererTest2000100%0.043
PlainTextRendererTest2000100%0.029

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%0.941

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext1.229
testSetAttributesInWebContext0.064
testGetTargetContent0.015

AbstractTemplateElementTest

testCurrentContent0.044
testUsesDefaultBundleIfNotSpecified0.11
testGetsCustomMessageCustomBundleWithPageTemplate0.031
testUsesDefaultBundleIfNoMetadata0.031
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph0.025
testDefaultMessageFromCustomBundleWithPageTemplate0.039
testUsesDefaultBundleIfNotRenderableDefinition0.039
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph0.02

AreaElementCanRenderAreaTest

test10.042
test20.029
test30.019
test40.02
test50.042
test60.025

AreaElementComponentsTest

testMaxComponentsNotSet0.047
testShouldShowAddButtonTypeSingle0.035
testMaxComponentsNotReached0.03
testShouldShowAddButtonTypeNoComponent0.018
testMaxComponentsReached0.027

AreaElementTest

testBeginWithConfFromTemplateDefinition0.029
testBeginWithEditable0.019
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch0.018
testEndWithAllowedInheritButNullInheritConfig0.02
testEndWithConfFromTemplateDefinition0.019
testDontRenderCmsCommentsInPreviewMode0.024
testBeginSimple0.017
testUseAreaI18nBaseNameIfPossible0.043
testDoNotFailOnNPEDuringCanRenderAreaScript0.14
testBeginWithInheritence0.069
testResolveTemplateDefinitionConsidersVariation0.03
testTryToCreateAreaNode0.027
testUseParentI18nBaseNameIfAreaBaseNameIsNotSpecified0.023
testAvailableComponentsForSuperuser0.022
testRenderCmsCommentsWhenBeeingInEditMode0.022
testBeginCreateNode0.022
testListAndSingleTypeComponentsAreNotRenderedIfTheyHaventAnyChildComponentsAndRenderingOfTheseAreasIsDisabled0.034
testBeginGetContentFromParent0.023
testAvailableComponentsForEditor0.026

ComponentElementTest

testRenderBeginAll0.02
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch0.022
testRenderBeginWithEditable0.031
testDontRenderCmsCommentsInPreviewMode0.013
testRenderWithoutComment0.05
testResolvePermissionsFromTemplate0.02
testRenderBeginOnlyContent0.019
testResolvePermissionsFromTemplateAvailability0.021
testRenderCmsCommentsWhenBeeingInEditMode0.042
testPostRender0.06

InitElementTest

testOutputEndPart0.02
testOutputContainsContent0.026
testOutputContainsGwtLocaleMetaProperty0.013
testOutputContainsContentAndDialog0.02
testOutputContainsPageEditorStyles0.02
See SCRUM-1239. Will most likely be removed in 5.0
testOutputContainsPageEditorJavascript0.02
See SCRUM-1239. Will most likely be removed in 5.0
testOutputWithoutContent0.018

MarkupHelperTest

testNullContentAsEmptyString0
testParam0
testParamsKeepCamelCaseNotation0

AbstractDirectiveTest

testInitContentComponent0.015
testBodyCheck0.079

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached1.11
testRenderSimpleBarWithoutAreaNode0.054
testRenderSimpleBar0.059
testDontShowAddButtonWhenMaxComponentsIsReached0.09
testDontShowBarWhenAreaIsHasNoComponentType0.05
testRenderNoBar0.076

ComponentDirectiveTest

testRenderSimpleBar0.051
testRenderWithDialog0.063

InitDirectiveTest

testRenderWithContent0.05
testRenderWithContentAndDialog0.053
testRenderSimpleBar0.06

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.05

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.032
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.012
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.012

TemplatingFunctionsMetaDataTest

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

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision0.359
testComponentInheritance0.129
testPropertyInheritanceWithInheritanceDisabled0.073
testDisabledPropertyInheritance0.099
testMultiLevelPropertyInheritance0.068
testDoesNothingOnTopLevelPage0.07
testResourcesInheritance0.069
testPropertyInheritance0.074

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_65.192

NoScriptRendererTest

testRenderListOfComponents0.027
testRenderSingleComponent0.016

PlainTextRendererTest

testRenderInPreview0.018
testRender0.011

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