Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
21400299.065%6.879

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%0.83
info.magnolia.templating.module.setup1000100%4.749
info.magnolia.templating.functions123000100%0.186
info.magnolia.templating.elements6100296.721%1.064
info.magnolia.templating.inheritance8000100%0.012
info.magnolia.templating.renderers4000100%0.038

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

info.magnolia.templating.freemarker

ClassTestsErrors FailuresSkippedSuccess RateTime
RenderableDefinitionModelTest3000100%0.131
AbstractDirectiveTest2000100%0.01
ComponentDirectiveTest2000100%0.433
ReadOnlyComponentDirectiveTest1000100%0.027
InitDirectiveTest3000100%0.078
AreaDirectiveTest6000100%0.151

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%4.749

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsTest123000100%0.186

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%0.544
InitElementTest12000100%0.096
MarkupHelperTest3000100%0.002
AbstractTemplateElementTest800275%0.093
ComponentElementTest10000100%0.067
AreaElementComponentsTest5000100%0.068
AreaElementTest20000100%0.194

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%0.012

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
NoScriptRendererTest2000100%0.02
PlainTextRendererTest2000100%0.018

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext0.531
testSetAttributesInWebContext0.006
testGetTargetContent0.007

InitElementTest

testOutputContainsSourcesCss0.019
testExcludeCalendarResources0.01
testOutputEndPart0.007
testOutputContainsContent0.007
testOutputContainsGwtLocaleMetaProperty0.007
testOutputContainsContentAndDialog0.007
testOutputContainsPageEditorStyles0.007
testOutputContainsPageEditorJavascript0.006
testPageBarIsRenderedWhenUserHasWritePermission0.007
testOutputWithoutContent0.006
testOutputContainsSourcesJavascript0.006
testPageBarIsNotRenderedWhenUserHasNoWritePermission0.007

MarkupHelperTest

testNullContentAsEmptyString0.001
testParam0
testParamsKeepCamelCaseNotation0.001

AbstractTemplateElementTest

testCurrentContent0.017
testUsesDefaultBundleIfNotSpecified0.02
testGetsCustomMessageCustomBundleWithPageTemplate0.009
testUsesDefaultBundleIfNoMetadata0.01
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph0.009
testDefaultMessageFromCustomBundleWithPageTemplate0.009
testUsesDefaultBundleIfNotRenderableDefinition0.01
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph0.009

ComponentElementTest

testRenderBeginAll0.008
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch0.005
testRenderBeginWithEditable0.006
testDontRenderCmsCommentsInPreviewMode0.006
testRenderWithoutComment0.006
testResolvePermissionsFromTemplate0.007
testRenderBeginOnlyContent0.006
testResolvePermissionsFromTemplateAvailability0.011
testRenderCmsCommentsWhenBeeingInEditMode0.006
testPostRender0.006

AreaElementComponentsTest

testMaxComponentsNotSet0.033
testShouldShowAddButtonTypeSingle0.006
testMaxComponentsNotReached0.011
testShouldShowAddButtonTypeNoComponent0.005
testMaxComponentsReached0.013

AreaElementTest

testBeginWithConfFromTemplateDefinition0.005
testBeginWithEditable0.005
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch0.005
testEndWithAllowedInheritButNullInheritConfig0.005
testEndWithConfFromTemplateDefinition0.006
testDontRenderCmsCommentsInPreviewMode0.004
testBeginSimple0.004
testUseAreaI18nBaseNameIfPossible0.011
testDoNotFailOnNPEDuringCanRenderAreaScript0.067
testBeginWithInheritence0.007
testResolveTemplateDefinitionConsidersVariation0.01
testTryToCreateAreaNode0.007
testUseParentI18nBaseNameIfAreaBaseNameIsNotSpecified0.006
testCantRenderAreaScript0.023
testAvailableComponentsForSuperuser0.005
testRenderCmsCommentsWhenBeeingInEditMode0.005
testBeginCreateNode0.005
testListAndSingleTypeComponentsAreNotRenderedIfTheyHaventAnyChildComponentsAndRenderingOfTheseAreasIsDisabled0.005
testBeginGetContentFromParent0.004
testAvailableComponentsForEditor0.005

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.125
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.003
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.003

AbstractDirectiveTest

testInitContentComponent0.01
testBodyCheck0

ComponentDirectiveTest

testRenderSimpleBar0.402
testRenderWithDialog0.031

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.027

InitDirectiveTest

testRenderWithContent0.027
testRenderWithContentAndDialog0.027
testRenderSimpleBar0.024

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached0.027
testRenderSimpleBarWithoutAreaNode0.026
testRenderSimpleBar0.025
testDontShowAddButtonWhenMaxComponentsIsReached0.027
testDontShowBarWhenAreaIsHasNoComponentType0.025
testRenderNoBar0.021

TemplatingFunctionsTest

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

NoScriptRendererTest

testRenderListOfComponents0.015
testRenderSingleComponent0.005

PlainTextRendererTest

testRenderInPreview0.017
testRender0.001

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_64.749

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision0.004
testComponentInheritance0.001
testPropertyInheritanceWithInheritanceDisabled0.001
testDisabledPropertyInheritance0.002
testMultiLevelPropertyInheritance0.001
testDoesNothingOnTopLevelPage0.001
testResourcesInheritance0.001
testPropertyInheritance0.001

Failure Details

[Summary] [Package List] [Test Cases]


testUsesDefaultBundleIfNoMetadata
skipped: TODO: check expectation here
testUsesDefaultBundleIfNotRenderableDefinition
skipped: TODO: check expectation here