Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
249 0 0 4 98.394% 4.414

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
info.magnolia.templating.freemarker 21 0 0 0 100% 0.67
info.magnolia.templating.module.setup 1 0 0 0 100% 1.89
info.magnolia.templating.functions 151 0 0 0 100% 0.535
info.magnolia.templating.elements 64 0 0 4 93.75% 0.977
info.magnolia.templating.renderers 4 0 0 0 100% 0.03
info.magnolia.templating.inheritance 8 0 0 0 100% 0.312

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

info.magnolia.templating.freemarker

Class Tests Errors Failures Skipped Success Rate Time
AbstractDirectiveTest 2 0 0 0 100% 0.022
AreaDirectiveTest 10 0 0 0 100% 0.524
ComponentDirectiveTest 2 0 0 0 100% 0.034
InitDirectiveTest 3 0 0 0 100% 0.05
ReadOnlyComponentDirectiveTest 1 0 0 0 100% 0.018
RenderableDefinitionModelTest 3 0 0 0 100% 0.022

info.magnolia.templating.module.setup

Class Tests Errors Failures Skipped Success Rate Time
TemplatingModuleVersionHandlerTest 1 0 0 0 100% 1.89

info.magnolia.templating.functions

Class Tests Errors Failures Skipped Success Rate Time
TemplatingFunctionsMetaDataTest 22 0 0 0 100% 0.005
TemplatingFunctionsTest 129 0 0 0 100% 0.53

info.magnolia.templating.elements

Class Tests Errors Failures Skipped Success Rate Time
AbstractContentTemplatingElementTest 3 0 0 0 100% 0.386
AbstractTemplateElementTest 8 0 0 2 75% 0.133
AreaElementCanRenderAreaTest 6 0 0 0 100% 0.076
AreaElementComponentsTest 5 0 0 0 100% 0.054
AreaElementTest 22 0 0 0 100% 0.222
ComponentElementTest 10 0 0 0 100% 0.066
InitElementTest 7 0 0 2 71.429% 0.04
MarkupHelperTest 3 0 0 0 100% 0

info.magnolia.templating.renderers

Class Tests Errors Failures Skipped Success Rate Time
NoScriptRendererTest 2 0 0 0 100% 0.016
PlainTextRendererTest 2 0 0 0 100% 0.014

info.magnolia.templating.inheritance

Class Tests Errors Failures Skipped Success Rate Time
DefaultInheritanceContentDecoratorTest 8 0 0 0 100% 0.312

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext 0.369
testSetAttributesInWebContext 0.008
testGetTargetContent 0.009

AbstractTemplateElementTest

testCurrentContent 0.015
testUsesDefaultBundleIfNotSpecified 0.046
testGetsCustomMessageCustomBundleWithPageTemplate 0.014
testUsesDefaultBundleIfNoMetadata 0.015
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph 0.013
testDefaultMessageFromCustomBundleWithPageTemplate 0.01
testUsesDefaultBundleIfNotRenderableDefinition 0.01
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph 0.01

AreaElementCanRenderAreaTest

test1 0.017
test2 0.014
test3 0.009
test4 0.01
test5 0.017
test6 0.009

AreaElementComponentsTest

testMaxComponentsNotSet 0.016
testShouldShowAddButtonTypeSingle 0.008
testMaxComponentsNotReached 0.013
testShouldShowAddButtonTypeNoComponent 0.008
testMaxComponentsReached 0.009

AreaElementTest

testBeginWithConfFromTemplateDefinition 0.009
testBeginWithEditable 0.007
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch 0.007
testEndWithAllowedInheritButNullInheritConfig 0.007
testEndWithConfFromTemplateDefinition 0.008
testBeginCreateNodeArea 0.008
testDontRenderCmsCommentsInPreviewMode 0.006
testBeginSimple 0.007
testUseAreaI18nBaseNameIfPossible 0.01
testDoNotFailOnNPEDuringCanRenderAreaScript 0.059
testSingleAreaWithMoreComponentsShouldNotFail 0.008
testBeginWithInheritence 0.008
testResolveTemplateDefinitionConsidersVariation 0.009
testTryToCreateAreaNode 0.008
testUseParentI18nBaseNameIfAreaBaseNameIsNotSpecified 0.007
testBeginWithCreateAreaNodeAttribute 0.007
testAvailableComponentsForSuperuser 0.009
testRenderCmsCommentsWhenBeeingInEditMode 0.009
testBeginWithCreateAreaNodeAttributeIsNotSetFallbackToDefaultValueTrue 0.007
testListAndSingleTypeComponentsAreNotRenderedIfTheyHaventAnyChildComponentsAndRenderingOfTheseAreasIsDisabled 0.007
testBeginGetContentFromParent 0.008
testAvailableComponentsForEditor 0.007

ComponentElementTest

testRenderBeginAll 0.007
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch 0.006
testRenderBeginWithEditable 0.007
testDontRenderCmsCommentsInPreviewMode 0.006
testRenderWithoutComment 0.005
testResolvePermissionsFromTemplate 0.007
testRenderBeginOnlyContent 0.006
testResolvePermissionsFromTemplateAvailability 0.009
testRenderCmsCommentsWhenBeeingInEditMode 0.007
testPostRender 0.006

InitElementTest

testOutputEndPart 0.006
testOutputContainsContent 0.005
testOutputContainsGwtLocaleMetaProperty 0.006
testOutputContainsContentAndDialog 0.006
testOutputContainsPageEditorStyles 0.006
See SCRUM-1239. Will most likely be removed in 5.0
testOutputContainsPageEditorJavascript 0.006
See SCRUM-1239. Will most likely be removed in 5.0
testOutputWithoutContent 0.005

MarkupHelperTest

testNullContentAsEmptyString 0
testParam 0
testParamsKeepCamelCaseNotation 0

AbstractDirectiveTest

testInitContentComponent 0.007
testBodyCheck 0.015

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached 0.336
testCreateAreaNodeIsNotSetFallbackToDefaultValueTrue 0.024
testCreateAreaNodeIsNotSetInDirectiveButIsSetInAreaDefinition 0.023
testRenderSimpleBarWithoutAreaNode 0.022
testRenderSimpleBar 0.019
testDontShowAddButtonWhenMaxComponentsIsReached 0.024
testCreateAreaNodeSetToFalse 0.021
testCreateAreaNodeSetToTrue 0.019
testDontShowBarWhenAreaIsHasNoComponentType 0.019
testRenderNoBar 0.017

ComponentDirectiveTest

testRenderSimpleBar 0.018
testRenderWithDialog 0.016

InitDirectiveTest

testRenderWithContent 0.016
testRenderWithContentAndDialog 0.02
testRenderSimpleBar 0.014

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment 0.018

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters 0.014
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties 0.004
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded 0.004

TemplatingFunctionsMetaDataTest

testDeprecatedActivatorId 0.001
testDeprecatedActivated 0
testDeprecatedLastAction 0.002
testDeprecatedTemplate 0
testLastModified 0
testTemplate 0.001
testDeprecatedTitle 0
testActivationStatus 0
testLastModifiedBy 0
testDeprecatedCreationDate 0
testLastActivated 0
testDeletedBy 0.001
testUnknownPropertyThrowsException 0
testCreated 0
testDeprecatedLastModified 0
testLastActivatedBy 0
testDeleted 0
testVersionableComment 0
testDeprecatedAuthorId 0
testCreatedBy 0
testDeletedComment 0
testDeprecatedTemplateType 0

TemplatingFunctionsTest

testExternalLinkFromNodeNoProtocol 0.007
testNonExistingInheritedRelPathShouldReturnNull 0.009
testAncestorsFromContentMapDepth1 0.004
testPageFromComponentNodeDepth2 0.003
testPageFromComponentNodeDepth3 0.006
testGetNodeByPath 0.005
testIsAuthorInstanceTrue 0.003
testConfiguredInheritance 0.003
testRootPageFromPageContentMapDepth1 0.003
testRootPageFromPageContentMapDepth2 0.004
testRootPageFromPageContentMapDepth3 0.004
testGetNodeById 0.004
testLinkForIdentifierFromNodeDepth1 0.003
testLinkForIdentifierFromNodeDepth2 0.003
testParentComponentFromPageNode 0.004
testAsContentMapList 0.005
testLinkFromContentMapDepth1 0.01
testLinkFromContentMapDepth2 0.004
testAncestorPagesFromComponentNodeDepth4 0.006
testPageContentMapHavingNoParentPageShouldBeNull 0.004
testEncodeNode 0.007
testPageFromNodeDepth1 0.005
testPageFromNodeDepth2 0.005
testGetQueryStringAndFragmentOnlyQuery 0.004
testIsEditModeAuthorAndPreview 0.003
testPageFromRootShouldBeNull 0.004
testAncestorsFromNodeDepth1 0.004
testExternalLinkTitleFromContentMapWithTitle 0.003
testAncestorsFromComponentNodeDepth2 0.003
testAncestorPagesFromComponentContentMapDepth4 0.004
testLanguage 0.004
testParentFromRootNodeShouldBeNull 0.003
testGetQueryStringAndFragmentSimpleOnlyFragment 0.003
testEncodeContent 0.006
testIsEditModeAuthorAndNotPreview 0.003
testAsContentMapfromNode 0.004
testRootPageFromPageNodeDepth1 0.004
testRootPageFromPageNodeDepth2 0.003
testRootPageFromPageNodeDepth3 0.006
testChildrenFromNode 0.009
testSiblingsContentMap 0.007
testPageContentMapFromRootShouldBeNull 0.005
testIsAuthorInstanceFalse 0.003
testLinkForPropertyFromNodeDepth1 0.004
testLinkForPropertyFromNodeDepth2 0.004
testAncestorsFromComponentContentMapDepth2 0.004
testGetQueryStringAndFragmentSimple 0.004
testGetContentByPathWithQuerystring 0.005
testIsEditModeNotAuthorAndNotPreview 0.003
testAncestorPagesFromSubComponentNodeDepth5 0.004
testRootFromPageContentMapDepth1 0.004
testRootFromPageContentMapDepth2 0.004
testRootFromPageContentMapDepth3 0.004
testChildrenFromNodeAndTypePage 0.004
testExternalLinkTitleFromNodeNoTitleSet 0.004
testRootFromComponentNodeDepth1 0.004
testRootFromComponentNodeDepth2 0.003
testAncestorPagesFromSubComponentConentMapDepth5 0.004
testGetContentByIdentifier 0.004
testNodeIsInherited 0.006
testCreateHtmlAttributeNoValue 0.006
testInheritFromContentMapOnlyContentMap 0.005
testPageHavingNoParentPageShouldBeNull 0.005
testParentPageFromPageContentMap 0.003
testChildrenFromContentMapAndTypeComponent 0.005
testExternalLinkTitleFromNodeWithTitle 0.004
testAncestorsFromSubComponentConentMapDepth5 0.004
testRootPageFromComponentNodeDepth1 0.004
testRootPageFromComponentNodeDepth2 0.004
testParentComponentFromPageContentMap 0.004
testParentPageFromPageNode 0.003
testRootPageFromComponentContentMapDepth1 0.004
testRootPageFromComponentContentMapDepth2 0.005
testAncestorPagesFromNodeDepth1 0.003
testGetQueryStringAndFragmentBoth 0.004
testAncestorPagesFromContentMapDepth1 0.004
testParentFromRootContentMapShouldBeNull 0.004
testParentPageFromComponentNodeDepth1 0.004
testParentPageFromComponentNodeDepth2 0.004
testParentPageFromComponentNodeDepth3 0.004
testRootFromPageNodeDepth1 0.004
testRootFromPageNodeDepth2 0.003
testRootFromPageNodeDepth3 0.004
testGetNodeByPathWithQuerystring 0.003
testExternalLinkTitleFromContentMapNoTitleSet 0.004
testSiblings 0.004
testInheritFromNode 0.004
testInheritFromContentMap 0.004
testContentMapIsInherited 0.003
testIsEditModeNotAuthorAndPreview 0.003
testInheritFromNodeOnlyContent 0.004
testAncestorsFromSubComponentNodeDepth5 0.005
testChildrenFromContentMapAndTypePage 0.004
testParentFromNodeDepth1 0.003
testParentFromNodeDepth2 0.003
testParentPageFromContentMapDepth1 0.004
testAsNodeList 0.004
testParentPageFromComponentContentMapDepth1 0.004
testParentPageFromComponentContentMapDepth2 0.004
testParentPageFromComponentContentMapDepth3 0.004
testInheritedNodeIsUnwrapped 0.003
testCreateHtmlAttribute 0.003
testContentMapIsFromCurrentPage 0.004
testGetContentByPath 0.004
testPageFromComponentContentMapDepth2 0.003
testPageFromComponentContentMapDepth3 0.003
testPageFromContentMapDepth1 0.005
testPageFromContentMapDepth2 0.004
testParentFromContentMapDepth1 0.004
testParentFromContentMapDepth2 0.004
testIsPublicInstanceTrue 0.003
testAsJCRNodeFromContentMap 0.004
testExternalLinkFromContentMapNoProtocol 0.004
testChildrenFromNodeAndTypeComponent 0.004
testNonExistingInheritedPropertyShouldReturnNull 0.003
testExternalLinkFromNodeWithProtocol 0.004
testInheritFromNodeNoContent 0.004
testExternalLinkFromContentMapWithProtocol 0.004
testIsPreviewModeTrue 0.003
testRootFromComponentContentMapDepth1 0.004
testRootFromComponentContentMapDepth2 0.004
testLinkFromNodeDepth1 0.005
testLinkFromNodeDepth2 0.004
testChildrenFromContentMap 0.003
testIsPreviewModeFalse 0.003
testIsPublicInstanceFalse 0.004
testGetContentById 0.003
testParentPageFromNodeDepth1 0.003
testNodeIsFromCurrentPage 0.004

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision 0.135
testComponentInheritance 0.029
testPropertyInheritanceWithInheritanceDisabled 0.026
testDisabledPropertyInheritance 0.025
testMultiLevelPropertyInheritance 0.025
testDoesNothingOnTopLevelPage 0.023
testResourcesInheritance 0.024
testPropertyInheritance 0.025

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_6 1.89

NoScriptRendererTest

testRenderListOfComponents 0.01
testRenderSingleComponent 0.006

PlainTextRendererTest

testRenderInPreview 0.009
testRender 0.005

Failure Details

[Summary] [Package List] [Test Cases]


testUsesDefaultBundleIfNoMetadata
skipped: TODO: check expectation here
testUsesDefaultBundleIfNotRenderableDefinition
skipped: TODO: check expectation here
testOutputContainsPageEditorStyles
skipped: See SCRUM-1239. Will most likely be removed in 5.0
testOutputContainsPageEditorJavascript
skipped: See SCRUM-1239. Will most likely be removed in 5.0