Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
21500299.07%23.491

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%2.305
info.magnolia.templating.module.setup2000100%17.274
info.magnolia.templating.functions123000100%0.539
info.magnolia.templating.elements6100296.721%3.048
info.magnolia.templating.renderers4000100%0.174
info.magnolia.templating.inheritance8000100%0.151

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.123
AreaDirectiveTest6000100%1.721
ComponentDirectiveTest2000100%0.151
InitDirectiveTest3000100%0.225
ReadOnlyComponentDirectiveTest1000100%0.052
RenderableDefinitionModelTest3000100%0.033

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest2000100%17.274

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsTest123000100%0.539

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractContentTemplatingElementTest3000100%1.537
AbstractTemplateElementTest800275%0.238
AreaElementComponentsTest5000100%0.229
AreaElementTest20000100%0.711
ComponentElementTest10000100%0.143
InitElementTest12000100%0.187
MarkupHelperTest3000100%0.003

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
NoScriptRendererTest2000100%0.058
PlainTextRendererTest2000100%0.116

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%0.151

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext1.505
testSetAttributesInWebContext0.015
testGetTargetContent0.017

AbstractTemplateElementTest

testCurrentContent0.039
testUsesDefaultBundleIfNotSpecified0.061
testGetsCustomMessageCustomBundleWithPageTemplate0.027
testUsesDefaultBundleIfNoMetadata0.029
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph0.022
testDefaultMessageFromCustomBundleWithPageTemplate0.019
testUsesDefaultBundleIfNotRenderableDefinition0.02
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph0.021

AreaElementComponentsTest

testMaxComponentsNotSet0.098
testShouldShowAddButtonTypeSingle0.026
testMaxComponentsNotReached0.039
testShouldShowAddButtonTypeNoComponent0.016
testMaxComponentsReached0.05

AreaElementTest

testBeginWithConfFromTemplateDefinition0.039
testBeginWithEditable0.021
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch0.016
testEndWithAllowedInheritButNullInheritConfig0.016
testEndWithConfFromTemplateDefinition0.016
testDontRenderCmsCommentsInPreviewMode0.017
testBeginSimple0.016
testUseAreaI18nBaseNameIfPossible0.032
testDoNotFailOnNPEDuringCanRenderAreaScript0.196
testBeginWithInheritence0.02
testResolveTemplateDefinitionConsidersVariation0.053
testTryToCreateAreaNode0.022
testUseParentI18nBaseNameIfAreaBaseNameIsNotSpecified0.015
testCantRenderAreaScript0.083
testAvailableComponentsForSuperuser0.038
testRenderCmsCommentsWhenBeeingInEditMode0.022
testBeginCreateNode0.02
testListAndSingleTypeComponentsAreNotRenderedIfTheyHaventAnyChildComponentsAndRenderingOfTheseAreasIsDisabled0.035
testBeginGetContentFromParent0.016
testAvailableComponentsForEditor0.018

ComponentElementTest

testRenderBeginAll0.017
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch0.014
testRenderBeginWithEditable0.012
testDontRenderCmsCommentsInPreviewMode0.013
testRenderWithoutComment0.012
testResolvePermissionsFromTemplate0.015
testRenderBeginOnlyContent0.012
testResolvePermissionsFromTemplateAvailability0.019
testRenderCmsCommentsWhenBeeingInEditMode0.016
testPostRender0.013

InitElementTest

testOutputContainsSourcesCss0.029
testExcludeCalendarResources0.016
testOutputEndPart0.013
testOutputContainsContent0.014
testOutputContainsGwtLocaleMetaProperty0.016
testOutputContainsContentAndDialog0.016
testOutputContainsPageEditorStyles0.014
testOutputContainsPageEditorJavascript0.014
testPageBarIsRenderedWhenUserHasWritePermission0.011
testOutputWithoutContent0.014
testOutputContainsSourcesJavascript0.015
testPageBarIsNotRenderedWhenUserHasNoWritePermission0.015

MarkupHelperTest

testNullContentAsEmptyString0
testParam0
testParamsKeepCamelCaseNotation0

AbstractDirectiveTest

testInitContentComponent0.059
testBodyCheck0.064

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached1.333
testRenderSimpleBarWithoutAreaNode0.093
testRenderSimpleBar0.08
testDontShowAddButtonWhenMaxComponentsIsReached0.08
testDontShowBarWhenAreaIsHasNoComponentType0.077
testRenderNoBar0.058

ComponentDirectiveTest

testRenderSimpleBar0.072
testRenderWithDialog0.079

InitDirectiveTest

testRenderWithContent0.091
testRenderWithContentAndDialog0.07
testRenderSimpleBar0.064

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.052

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.02
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.006
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.007

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision0.046
testComponentInheritance0.037
testPropertyInheritanceWithInheritanceDisabled0.006
testDisabledPropertyInheritance0.006
testMultiLevelPropertyInheritance0.023
testDoesNothingOnTopLevelPage0.021
testResourcesInheritance0.006
testPropertyInheritance0.006

TemplatingModuleVersionHandlerTest

testUpdateFrom451511.392
testInstallFrom4_4_65.882

NoScriptRendererTest

testRenderListOfComponents0.041
testRenderSingleComponent0.017

PlainTextRendererTest

testRenderInPreview0.11
testRender0.006

Failure Details

[Summary] [Package List] [Test Cases]


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