Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
252 0 0 4 98.413% 4.636

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 23 0 0 0 100% 0.707
info.magnolia.templating.module.setup 1 0 0 0 100% 2.03
info.magnolia.templating.functions 152 0 0 0 100% 0.577
info.magnolia.templating.elements 64 0 0 4 93.75% 0.972
info.magnolia.templating.renderers 4 0 0 0 100% 0.031
info.magnolia.templating.inheritance 8 0 0 0 100% 0.319

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 12 0 0 0 100% 0.561
ComponentDirectiveTest 2 0 0 0 100% 0.033
InitDirectiveTest 3 0 0 0 100% 0.05
ReadOnlyComponentDirectiveTest 1 0 0 0 100% 0.015
RenderableDefinitionModelTest 3 0 0 0 100% 0.026

info.magnolia.templating.module.setup

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

info.magnolia.templating.functions

Class Tests Errors Failures Skipped Success Rate Time
TemplatingFunctionsMetaDataTest 23 0 0 0 100% 0.005
TemplatingFunctionsTest 129 0 0 0 100% 0.572

info.magnolia.templating.elements

Class Tests Errors Failures Skipped Success Rate Time
AbstractContentTemplatingElementTest 3 0 0 0 100% 0.378
AbstractTemplateElementTest 8 0 0 2 75% 0.108
AreaElementCanRenderAreaTest 6 0 0 0 100% 0.083
AreaElementComponentsTest 5 0 0 0 100% 0.055
AreaElementTest 22 0 0 0 100% 0.239
ComponentElementTest 10 0 0 0 100% 0.077
InitElementTest 7 0 0 2 71.429% 0.032
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.015

info.magnolia.templating.inheritance

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

Test Cases

[Summary] [Package List] [Test Cases]

AbstractContentTemplatingElementTest

testRestoreAttributesInWebContext 0.359
testSetAttributesInWebContext 0.009
testGetTargetContent 0.01

AbstractTemplateElementTest

testCurrentContent 0.021
testUsesDefaultBundleIfNotSpecified 0.046
testGetsCustomMessageCustomBundleWithPageTemplate 0.011
testUsesDefaultBundleIfNoMetadata 0
TODO: check expectation here
testGetsCustomMessageCustomBundleWithParagraph 0.01
testDefaultMessageFromCustomBundleWithPageTemplate 0.01
testUsesDefaultBundleIfNotRenderableDefinition 0
TODO: check expectation here
testDefaultMessageFromCustomBundleWithParagraph 0.01

AreaElementCanRenderAreaTest

test1 0.018
test2 0.015
test3 0.008
test4 0.009
test5 0.023
test6 0.01

AreaElementComponentsTest

testMaxComponentsNotSet 0.014
testShouldShowAddButtonTypeSingle 0.011
testMaxComponentsNotReached 0.01
testShouldShowAddButtonTypeNoComponent 0.009
testMaxComponentsReached 0.011

AreaElementTest

testBeginWithConfFromTemplateDefinition 0.01
testBeginWithEditable 0.009
testConditionsForOpeningAndClosingCommentsHaveToBeInSynch 0.008
testEndWithAllowedInheritButNullInheritConfig 0.008
testEndWithConfFromTemplateDefinition 0.008
testBeginCreateNodeArea 0.017
testDontRenderCmsCommentsInPreviewMode 0.007
testBeginSimple 0.007
testUseAreaI18nBaseNameIfPossible 0.012
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.007
testBeginWithCreateAreaNodeAttributeIsNotSetFallbackToDefaultValueTrue 0.008
testListAndSingleTypeComponentsAreNotRenderedIfTheyHaventAnyChildComponentsAndRenderingOfTheseAreasIsDisabled 0.008
testBeginGetContentFromParent 0.008
testAvailableComponentsForEditor 0.007

ComponentElementTest

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

InitElementTest

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

MarkupHelperTest

testNullContentAsEmptyString 0
testParam 0
testParamsKeepCamelCaseNotation 0

AbstractDirectiveTest

testInitContentComponent 0.007
testBodyCheck 0.015

AreaDirectiveTest

testDontShowAddButtonWhenMaxComponentsInParameterIsReached 0.334
testShowAddButtonWhenMaxComponentsIsNotReached 0.023
testCreateAreaNodeIsNotSetFallbackToDefaultValueTrue 0.031
testCreateAreaNodeIsNotSetInDirectiveButIsSetInAreaDefinition 0.023
testRenderSimpleBarWithoutAreaNode 0.021
testShowAddButtonWhenMaxComponentsInParameterIsNotReached 0.02
testRenderSimpleBar 0.02
testDontShowAddButtonWhenMaxComponentsIsReached 0.019
testCreateAreaNodeSetToFalse 0.019
testCreateAreaNodeSetToTrue 0.018
testDontShowBarWhenAreaIsHasNoComponentType 0.018
testRenderNoBar 0.015

ComponentDirectiveTest

testRenderSimpleBar 0.016
testRenderWithDialog 0.017

InitDirectiveTest

testRenderWithContent 0.016
testRenderWithContentAndDialog 0.019
testRenderSimpleBar 0.015

ReadOnlyComponentDirectiveTest

testRenderComponentWithoutComment 0.015

RenderableDefinitionModelTest

testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters 0.016
testRenderableDefinitionParametersAreAvailableAsTopLevelProperties 0.005
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded 0.005

TemplatingFunctionsMetaDataTest

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

TemplatingFunctionsTest

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

DefaultInheritanceContentDecoratorTest

testMultiLevelPropertyInheritanceCollision 0.141
testComponentInheritance 0.03
testPropertyInheritanceWithInheritanceDisabled 0.027
testDisabledPropertyInheritance 0.027
testMultiLevelPropertyInheritance 0.023
testDoesNothingOnTopLevelPage 0.023
testResourcesInheritance 0.023
testPropertyInheritance 0.025

TemplatingModuleVersionHandlerTest

testInstallFrom4_4_6 2.03

NoScriptRendererTest

testRenderListOfComponents 0.01
testRenderSingleComponent 0.006

PlainTextRendererTest

testRenderInPreview 0.01
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