Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.675
info.magnolia.templating.module.setup 1 0 0 0 100% 1.869
info.magnolia.templating.functions 151 0 0 0 100% 0.53
info.magnolia.templating.elements 64 0 0 4 93.75% 0.98
info.magnolia.templating.renderers 4 0 0 0 100% 0.028
info.magnolia.templating.inheritance 8 0 0 0 100% 0.321

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.024
AreaDirectiveTest 10 0 0 0 100% 0.524
ComponentDirectiveTest 2 0 0 0 100% 0.034
InitDirectiveTest 3 0 0 0 100% 0.048
ReadOnlyComponentDirectiveTest 1 0 0 0 100% 0.021
RenderableDefinitionModelTest 3 0 0 0 100% 0.024

info.magnolia.templating.module.setup

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

info.magnolia.templating.functions

Class Tests Errors Failures Skipped Success Rate Time
TemplatingFunctionsMetaDataTest 22 0 0 0 100% 0.004
TemplatingFunctionsTest 129 0 0 0 100% 0.526

info.magnolia.templating.elements

Class Tests Errors Failures Skipped Success Rate Time
AbstractContentTemplatingElementTest 3 0 0 0 100% 0.374
AbstractTemplateElementTest 8 0 0 2 75% 0.125
AreaElementCanRenderAreaTest 6 0 0 0 100% 0.081
AreaElementComponentsTest 5 0 0 0 100% 0.054
AreaElementTest 22 0 0 0 100% 0.234
ComponentElementTest 10 0 0 0 100% 0.065
InitElementTest 7 0 0 2 71.429% 0.046
MarkupHelperTest 3 0 0 0 100% 0.001

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.012

info.magnolia.templating.inheritance

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

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext 0.356
testSetAttributesInWebContext 0.009
testGetTargetContent 0.009

AbstractTemplateElementTest

testCurrentContent 0.015
testUsesDefaultBundleIfNotSpecified 0.05
testGetsCustomMessageCustomBundleWithPageTemplate 0.011
testUsesDefaultBundleIfNoMetadata 0.012
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph 0.011
testDefaultMessageFromCustomBundleWithPageTemplate 0.009
testUsesDefaultBundleIfNotRenderableDefinition 0.009
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph 0.008

AreaElementCanRenderAreaTest

test1 0.017
test2 0.018
test3 0.008
test4 0.008
test5 0.019
test6 0.011

AreaElementComponentsTest

testMaxComponentsNotSet 0.015
testShouldShowAddButtonTypeSingle 0.009
testMaxComponentsNotReached 0.012
testShouldShowAddButtonTypeNoComponent 0.008
testMaxComponentsReached 0.01

AreaElementTest

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

ComponentElementTest

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

InitElementTest

testOutputEndPart 0.006
testOutputContainsContent 0.006
testOutputContainsGwtLocaleMetaProperty 0.005
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.011

MarkupHelperTest

testNullContentAsEmptyString 0
testParam 0
testParamsKeepCamelCaseNotation 0.001

AbstractDirectiveTest

testInitContentComponent 0.008
testBodyCheck 0.016

AreaDirectiveTest

testShowAddButtonWhenMaxComponentsIsNotReached 0.337
testCreateAreaNodeIsNotSetFallbackToDefaultValueTrue 0.023
testCreateAreaNodeIsNotSetInDirectiveButIsSetInAreaDefinition 0.022
testRenderSimpleBarWithoutAreaNode 0.022
testRenderSimpleBar 0.019
testDontShowAddButtonWhenMaxComponentsIsReached 0.019
testCreateAreaNodeSetToFalse 0.019
testCreateAreaNodeSetToTrue 0.028
testDontShowBarWhenAreaIsHasNoComponentType 0.018
testRenderNoBar 0.017

ComponentDirectiveTest

testRenderSimpleBar 0.018
testRenderWithDialog 0.016

InitDirectiveTest

testRenderWithContent 0.018
testRenderWithContentAndDialog 0.015
testRenderSimpleBar 0.015

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment 0.021

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters 0.015
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties 0.005
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded 0.004

TemplatingFunctionsMetaDataTest

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

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision 0.145
testComponentInheritance 0.029
testPropertyInheritanceWithInheritanceDisabled 0.026
testDisabledPropertyInheritance 0.024
testMultiLevelPropertyInheritance 0.024
testDoesNothingOnTopLevelPage 0.025
testResourcesInheritance 0.022
testPropertyInheritance 0.026

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_6 1.869

NoScriptRendererTest

testRenderListOfComponents 0.01
testRenderSingleComponent 0.006

PlainTextRendererTest

testRenderInPreview 0.008
testRender 0.004

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