Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
24200498.347%17.84

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.989
info.magnolia.templating.module.setup1000100%4.724
info.magnolia.templating.functions144000100%1.86
info.magnolia.templating.elements6400493.75%7.218
info.magnolia.templating.renderers4000100%0.05
info.magnolia.templating.inheritance8000100%0.999

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.139
AreaDirectiveTest10000100%2.457
ComponentDirectiveTest2000100%0.101
InitDirectiveTest3000100%0.164
ReadOnlyComponentDirectiveTest1000100%0.079
RenderableDefinitionModelTest3000100%0.049

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%4.724

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsMetaDataTest22000100%0.02
TemplatingFunctionsTest122000100%1.84

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%2.93
AbstractTemplateElementTest800275%0.812
AreaElementCanRenderAreaTest6000100%0.478
AreaElementComponentsTest5000100%0.314
AreaElementTest22000100%1.714
ComponentElementTest10000100%0.641
InitElementTest700271.429%0.328
MarkupHelperTest3000100%0.001

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
NoScriptRendererTest2000100%0.027
PlainTextRendererTest2000100%0.023

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%0.999

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext2.821
testSetAttributesInWebContext0.078
testGetTargetContent0.031

AbstractTemplateElementTest

testCurrentContent0.128
testUsesDefaultBundleIfNotSpecified0.281
testGetsCustomMessageCustomBundleWithPageTemplate0.051
testUsesDefaultBundleIfNoMetadata0.052
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph0.06
testDefaultMessageFromCustomBundleWithPageTemplate0.068
testUsesDefaultBundleIfNotRenderableDefinition0.069
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph0.103

AreaElementCanRenderAreaTest

test10.134
test20.111
test30.036
test40.053
test50.093
test60.051

AreaElementComponentsTest

testMaxComponentsNotSet0.088
testShouldShowAddButtonTypeSingle0.063
testMaxComponentsNotReached0.059
testShouldShowAddButtonTypeNoComponent0.06
testMaxComponentsReached0.044

AreaElementTest

testBeginWithConfFromTemplateDefinition0.063
testBeginWithEditable0.061
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch0.026
testEndWithAllowedInheritButNullInheritConfig0.052
testEndWithConfFromTemplateDefinition0.021
testBeginCreateNodeArea0.063
testDontRenderCmsCommentsInPreviewMode0.043
testBeginSimple0.087
testUseAreaI18nBaseNameIfPossible0.084
testDoNotFailOnNPEDuringCanRenderAreaScript0.316
testSingleAreaWithMoreComponentsShouldNotFail0.037
testBeginWithInheritence0.063
testResolveTemplateDefinitionConsidersVariation0.106
testTryToCreateAreaNode0.093
testUseParentI18nBaseNameIfAreaBaseNameIsNotSpecified0.07
testBeginWithCreateAreaNodeAttribute0.042
testAvailableComponentsForSuperuser0.08
testRenderCmsCommentsWhenBeeingInEditMode0.094
testBeginWithCreateAreaNodeAttributeIsNotSetFallbackToDefaultValueTrue0.076
testListAndSingleTypeComponentsAreNotRenderedIfTheyHaventAnyChildComponentsAndRenderingOfTheseAreasIsDisabled0.084
testBeginGetContentFromParent0.071
testAvailableComponentsForEditor0.082

ComponentElementTest

testRenderBeginAll0.052
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch0.111
testRenderBeginWithEditable0.043
testDontRenderCmsCommentsInPreviewMode0.045
testRenderWithoutComment0.085
testResolvePermissionsFromTemplate0.041
testRenderBeginOnlyContent0.079
testResolvePermissionsFromTemplateAvailability0.054
testRenderCmsCommentsWhenBeeingInEditMode0.066
testPostRender0.065

InitElementTest

testOutputEndPart0.067
testOutputContainsContent0.041
testOutputContainsGwtLocaleMetaProperty0.047
testOutputContainsContentAndDialog0.044
testOutputContainsPageEditorStyles0.044
See SCRUM-1239. Will most likely be removed in 5.0
testOutputContainsPageEditorJavascript0.044
See SCRUM-1239. Will most likely be removed in 5.0
testOutputWithoutContent0.041

MarkupHelperTest

testNullContentAsEmptyString0
testParam0
testParamsKeepCamelCaseNotation0.001

AbstractDirectiveTest

testInitContentComponent0.08
testBodyCheck0.059

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached1.72
testCreateAreaNodeIsNotSetFallbackToDefaultValueTrue0.103
testCreateAreaNodeIsNotSetInDirectiveButIsSetInAreaDefinition0.12
testRenderSimpleBarWithoutAreaNode0.082
testRenderSimpleBar0.081
testDontShowAddButtonWhenMaxComponentsIsReached0.074
testCreateAreaNodeSetToFalse0.086
testCreateAreaNodeSetToTrue0.053
testDontShowBarWhenAreaIsHasNoComponentType0.066
testRenderNoBar0.072

ComponentDirectiveTest

testRenderSimpleBar0.044
testRenderWithDialog0.057

InitDirectiveTest

testRenderWithContent0.064
testRenderWithContentAndDialog0.06
testRenderSimpleBar0.04

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.079

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.019
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.018
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.012

TemplatingFunctionsMetaDataTest

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

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision0.507
testComponentInheritance0.076
testPropertyInheritanceWithInheritanceDisabled0.076
testDisabledPropertyInheritance0.085
testMultiLevelPropertyInheritance0.056
testDoesNothingOnTopLevelPage0.067
testResourcesInheritance0.062
testPropertyInheritance0.07

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_64.724

NoScriptRendererTest

testRenderListOfComponents0.017
testRenderSingleComponent0.01

PlainTextRendererTest

testRenderInPreview0.015
testRender0.008

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