Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
21400299.065%5.931

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.641
info.magnolia.templating.module.setup1000100%4.247
info.magnolia.templating.functions123000100%0.446
info.magnolia.templating.elements6100296.721%0.557
info.magnolia.templating.renderers4000100%0.027
info.magnolia.templating.inheritance8000100%0.013

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.01
ReadOnlyComponentDirectiveTest1000100%0.378
InitDirectiveTest3000100%0.059
AbstractDirectiveTest2000100%0.008
ComponentDirectiveTest2000100%0.05
AreaDirectiveTest6000100%0.136

info.magnolia.templating.module.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest1000100%4.247

info.magnolia.templating.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingFunctionsTest123000100%0.446

info.magnolia.templating.elements

ClassTestsErrors FailuresSkippedSuccess RateTime
AreaElementComponentsTest5000100%0.213
MarkupHelperTest3000100%0.001
AreaElementTest20000100%0.162
InitElementTest12000100%0.059
AbstractTemplateElementTest800275%0.055
ComponentElementTest10000100%0.054
AbstractContentTemplatingElementTest3000100%0.013

info.magnolia.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
PlainTextRendererTest2000100%0.012
NoScriptRendererTest2000100%0.015

info.magnolia.templating.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultInheritanceContentDecoratorTest8000100%0.013

Test Cases

[Summary] [Package List] [Test Cases]

AreaElementComponentsTest

testMaxComponentsNotSet0.178
testShouldShowAddButtonTypeSingle0.006
testMaxComponentsNotReached0.011
testShouldShowAddButtonTypeNoComponent0.006
testMaxComponentsReached0.012

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.006
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.002
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.002

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment0.378

InitDirectiveTest

testRenderWithContent0.021
testRenderWithContentAndDialog0.019
testRenderSimpleBar0.019

DefaultInheritanceContentDecoratorTest

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

TemplatingFunctionsTest

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

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_64.247

AbstractDirectiveTest

testInitContentComponent0.008
testBodyCheck0

MarkupHelperTest

testNullContentAsEmptyString0
testParam0
testParamsKeepCamelCaseNotation0

AreaElementTest

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

ComponentDirectiveTest

testRenderSimpleBar0.026
testRenderWithDialog0.024

InitElementTest

testOutputContainsSourcesCss0.011
testExcludeCalendarResources0.004
testOutputEndPart0.003
testOutputContainsContent0.003
testOutputContainsGwtLocaleMetaProperty0.004
testOutputContainsContentAndDialog0.004
testOutputContainsPageEditorStyles0.004
testOutputContainsPageEditorJavascript0.009
testPageBarIsRenderedWhenUserHasWritePermission0.004
testOutputWithoutContent0.004
testOutputContainsSourcesJavascript0.004
testPageBarIsNotRenderedWhenUserHasNoWritePermission0.005

AbstractTemplateElementTest

testCurrentContent0.013
testUsesDefaultBundleIfNotSpecified0.011
testGetsCustomMessageCustomBundleWithPageTemplate0.005
testUsesDefaultBundleIfNoMetadata0.006
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph0.005
testDefaultMessageFromCustomBundleWithPageTemplate0.005
testUsesDefaultBundleIfNotRenderableDefinition0.005
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph0.005

ComponentElementTest

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

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached0.025
testRenderSimpleBarWithoutAreaNode0.023
testRenderSimpleBar0.023
testDontShowAddButtonWhenMaxComponentsIsReached0.021
testDontShowBarWhenAreaIsHasNoComponentType0.026
testRenderNoBar0.018

PlainTextRendererTest

testRenderInPreview0.01
testRender0.002

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext0.005
testSetAttributesInWebContext0.004
testGetTargetContent0.004

NoScriptRendererTest

testRenderListOfComponents0.011
testRenderSingleComponent0.004

Failure Details

[Summary] [Package List] [Test Cases]


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