Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
21500299.07%5.523

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.568
info.magnolia.templating.module.setup2000100%4.055
info.magnolia.templating.functions123000100%0.119
info.magnolia.templating.elements6100296.721%0.742
info.magnolia.templating.renderers4000100%0.023
info.magnolia.templating.inheritance8000100%0.016

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.022
AreaDirectiveTest6000100%0.431
ComponentDirectiveTest2000100%0.036
InitDirectiveTest3000100%0.054
ReadOnlyComponentDirectiveTest1000100%0.016
RenderableDefinitionModelTest3000100%0.009

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest2000100%4.055

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsTest123000100%0.119

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%0.371
AbstractTemplateElementTest800275%0.076
AreaElementComponentsTest5000100%0.061
AreaElementTest20000100%0.153
ComponentElementTest10000100%0.037
InitElementTest12000100%0.044
MarkupHelperTest3000100%0

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
NoScriptRendererTest2000100%0.013
PlainTextRendererTest2000100%0.01

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%0.016

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext0.361
testSetAttributesInWebContext0.005
testGetTargetContent0.005

AbstractTemplateElementTest

testCurrentContent0.019
testUsesDefaultBundleIfNotSpecified0.014
testGetsCustomMessageCustomBundleWithPageTemplate0.008
testUsesDefaultBundleIfNoMetadata0.009
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph0.007
testDefaultMessageFromCustomBundleWithPageTemplate0.006
testUsesDefaultBundleIfNotRenderableDefinition0.007
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph0.006

AreaElementComponentsTest

testMaxComponentsNotSet0.031
testShouldShowAddButtonTypeSingle0.006
testMaxComponentsNotReached0.009
testShouldShowAddButtonTypeNoComponent0.005
testMaxComponentsReached0.01

AreaElementTest

testBeginWithConfFromTemplateDefinition0.007
testBeginWithEditable0.005
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch0.004
testEndWithAllowedInheritButNullInheritConfig0.003
testEndWithConfFromTemplateDefinition0.003
testDontRenderCmsCommentsInPreviewMode0.003
testBeginSimple0.004
testUseAreaI18nBaseNameIfPossible0.009
testDoNotFailOnNPEDuringCanRenderAreaScript0.048
testBeginWithInheritence0.005
testResolveTemplateDefinitionConsidersVariation0.008
testTryToCreateAreaNode0.005
testUseParentI18nBaseNameIfAreaBaseNameIsNotSpecified0.004
testCantRenderAreaScript0.019
testAvailableComponentsForSuperuser0.006
testRenderCmsCommentsWhenBeeingInEditMode0.004
testBeginCreateNode0.004
testListAndSingleTypeComponentsAreNotRenderedIfTheyHaventAnyChildComponentsAndRenderingOfTheseAreasIsDisabled0.004
testBeginGetContentFromParent0.004
testAvailableComponentsForEditor0.004

ComponentElementTest

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

InitElementTest

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

MarkupHelperTest

testNullContentAsEmptyString0
testParam0
testParamsKeepCamelCaseNotation0

AbstractDirectiveTest

testInitContentComponent0.009
testBodyCheck0.013

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached0.329
testRenderSimpleBarWithoutAreaNode0.022
testRenderSimpleBar0.021
testDontShowAddButtonWhenMaxComponentsIsReached0.024
testDontShowBarWhenAreaIsHasNoComponentType0.02
testRenderNoBar0.015

ComponentDirectiveTest

testRenderSimpleBar0.018
testRenderWithDialog0.018

InitDirectiveTest

testRenderWithContent0.021
testRenderWithContentAndDialog0.017
testRenderSimpleBar0.016

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.016

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.006
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.001
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.002

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

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

TemplatingModuleVersionHandlerTest

testUpdateFrom45152.819
testInstallFrom4_4_61.236

NoScriptRendererTest

testRenderListOfComponents0.009
testRenderSingleComponent0.004

PlainTextRendererTest

testRenderInPreview0.009
testRender0.001

Failure Details

[Summary] [Package List] [Test Cases]


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