Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
21400299.065%6.399

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.734
info.magnolia.templating.module.setup1000100%4.404
info.magnolia.templating.functions123000100%0.159
info.magnolia.templating.elements6100296.721%1.048
info.magnolia.templating.renderers4000100%0.033
info.magnolia.templating.inheritance8000100%0.021

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.039
AreaDirectiveTest6000100%0.547
ComponentDirectiveTest2000100%0.055
InitDirectiveTest3000100%0.065
ReadOnlyComponentDirectiveTest1000100%0.018
RenderableDefinitionModelTest3000100%0.01

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%4.404

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsTest123000100%0.159

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%0.483
AbstractTemplateElementTest800275%0.099
AreaElementComponentsTest5000100%0.094
AreaElementTest20000100%0.257
ComponentElementTest10000100%0.052
InitElementTest12000100%0.062
MarkupHelperTest3000100%0.001

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
NoScriptRendererTest2000100%0.017
PlainTextRendererTest2000100%0.016

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%0.021

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext0.47
testSetAttributesInWebContext0.007
testGetTargetContent0.006

AbstractTemplateElementTest

testCurrentContent0.016
testUsesDefaultBundleIfNotSpecified0.031
testGetsCustomMessageCustomBundleWithPageTemplate0.011
testUsesDefaultBundleIfNoMetadata0.012
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph0.009
testDefaultMessageFromCustomBundleWithPageTemplate0.007
testUsesDefaultBundleIfNotRenderableDefinition0.007
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph0.006

AreaElementComponentsTest

testMaxComponentsNotSet0.048
testShouldShowAddButtonTypeSingle0.007
testMaxComponentsNotReached0.014
testShouldShowAddButtonTypeNoComponent0.009
testMaxComponentsReached0.016

AreaElementTest

testBeginWithConfFromTemplateDefinition0.012
testBeginWithEditable0.008
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch0.005
testEndWithAllowedInheritButNullInheritConfig0.008
testEndWithConfFromTemplateDefinition0.005
testDontRenderCmsCommentsInPreviewMode0.005
testBeginSimple0.005
testUseAreaI18nBaseNameIfPossible0.011
testDoNotFailOnNPEDuringCanRenderAreaScript0.061
testBeginWithInheritence0.007
testResolveTemplateDefinitionConsidersVariation0.011
testTryToCreateAreaNode0.007
testUseParentI18nBaseNameIfAreaBaseNameIsNotSpecified0.005
testCantRenderAreaScript0.034
testAvailableComponentsForSuperuser0.009
testRenderCmsCommentsWhenBeeingInEditMode0.027
testBeginCreateNode0.009
testListAndSingleTypeComponentsAreNotRenderedIfTheyHaventAnyChildComponentsAndRenderingOfTheseAreasIsDisabled0.007
testBeginGetContentFromParent0.014
testAvailableComponentsForEditor0.007

ComponentElementTest

testRenderBeginAll0.005
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch0.005
testRenderBeginWithEditable0.006
testDontRenderCmsCommentsInPreviewMode0.004
testRenderWithoutComment0.003
testResolvePermissionsFromTemplate0.005
testRenderBeginOnlyContent0.004
testResolvePermissionsFromTemplateAvailability0.008
testRenderCmsCommentsWhenBeeingInEditMode0.006
testPostRender0.006

InitElementTest

testOutputContainsSourcesCss0.01
testExcludeCalendarResources0.005
testOutputEndPart0.003
testOutputContainsContent0.005
testOutputContainsGwtLocaleMetaProperty0.004
testOutputContainsContentAndDialog0.008
testOutputContainsPageEditorStyles0.006
testOutputContainsPageEditorJavascript0.005
testPageBarIsRenderedWhenUserHasWritePermission0.006
testOutputWithoutContent0.004
testOutputContainsSourcesJavascript0.003
testPageBarIsNotRenderedWhenUserHasNoWritePermission0.003

MarkupHelperTest

testNullContentAsEmptyString0
testParam0
testParamsKeepCamelCaseNotation0

AbstractDirectiveTest

testInitContentComponent0.012
testBodyCheck0.027

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached0.433
testRenderSimpleBarWithoutAreaNode0.027
testRenderSimpleBar0.023
testDontShowAddButtonWhenMaxComponentsIsReached0.023
testDontShowBarWhenAreaIsHasNoComponentType0.023
testRenderNoBar0.018

ComponentDirectiveTest

testRenderSimpleBar0.022
testRenderWithDialog0.033

InitDirectiveTest

testRenderWithContent0.019
testRenderWithContentAndDialog0.027
testRenderSimpleBar0.019

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.018

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.006
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.002
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.002

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

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

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_64.404

NoScriptRendererTest

testRenderListOfComponents0.012
testRenderSingleComponent0.005

PlainTextRendererTest

testRenderInPreview0.016
testRender0

Failure Details

[Summary] [Package List] [Test Cases]


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