Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
72 0 0 0 100% 20.207

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.freemarker 59 0 0 0 100% 2.319
info.magnolia.freemarker.setup 5 0 0 0 100% 17.706
info.magnolia.freemarker.models 8 0 0 0 100% 0.182

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

info.magnolia.freemarker

Class Tests Errors Failures Skipped Success Rate Time
FreemarkerHelperTest 55 0 0 0 100% 1.958
ModeDependentTemplateExceptionHandlerTest 3 0 0 0 100% 0.18
FreemarkerConfigTest 1 0 0 0 100% 0.181

info.magnolia.freemarker.setup

Class Tests Errors Failures Skipped Success Rate Time
FreemarkerSupportModuleVersionHandlerTest 5 0 0 0 100% 17.706

info.magnolia.freemarker.models

Class Tests Errors Failures Skipped Success Rate Time
ContentModelTest 1 0 0 0 100% 0.097
UserModelTest 1 0 0 0 100% 0.033
MagnoliaObjectWrapperTest 5 0 0 0 100% 0.039
BinaryNodeDataModelTest 1 0 0 0 100% 0.013

Test Cases

[Summary] [Package List] [Test Cases]

FreemarkerHelperTest

canAccessStaticMethodsOfSharedVariables 1.689
contextVariablesOverloadSharedVariables 0
contextPathIsAlsoAvailableThroughMagnoliaContext 0.001
datePropertiesAreHandledProperly 0
nodeNameCanBeRenderedImplicitly 0
weCanUseAnyObjectTypeAsOurRoot 0
canLoopThroughNodesNestedInBean 0
outputsI18NKeyIfTranslationIsNotFound 0
i18nAuthorObject 0
canUseDotSyntaxToGetASimpleI18NMessage 0
testSimpleI18NMessageCanBeUsedInTemplates 0
userUnsupportedExceptionFallback 0
canUseBracketSyntaxToGetASimpleI18NMessage 0
evalCanAlsoBeUsedForNestedExpressions 0
enumCanBeComparedWith 0
canPassBundleNameFromTemplateWithMethodCallSyntaxToGetSimple18NMessage 0
simpleNodeReferenceOutputsItsName 0
interpretCanBeUsedForDynamicNodeProperties 0
addDefaultDataWrapsAggregationStateAndContextTemplateObjectsIfCurrentMgnlContextIsWebContextAndConfigurationIsSetToEscapeHTML 0
canUseSharedVariables 0
renderedWithCurrentLocale 0
useCombinationOfPadSubStringAndTrimForSafeSubstring 0
referenceProperties 0
subNodesAreReachable 0
mustUseMethodCallSyntaxToGetAParameterizedI18NMessage 0
urlBuiltin 0
uuidLinksAreTransformedToRelativeLinksInWebContext 0
canLoopThroughPropertiesUsingTheValuesBuiltIn 0
booleanPropertiesAreHandledProperly 0
magnoliaContextAttributesAreAvailableWithMapSyntax 0
magnoliaContextIsExposed 0
uuidLinksAreTransformedToAbsoluteLinksInWebContextWithoutAggregationState 0
supportsI18NMessagesWithMultipleParameters 0
givenLocaleTakesOverAnyContextLocale 0
numberProperties 0
addDefaultDataDoesNotWrapAggregationStateAndContextTemplateObjectsByDefault 0
enumMembersCanBeUsedInTemplates 0
canReachParentWithBuiltIn 0
interpretCanBeUsedEvenIfPropertyHasNoFreemarkerStuff 0
nodeNameCanBeRenderedExplicitly 0
evalCanEvaluateDynamicNodeProperties 0
i18NMessageParametersCanComeFromData 0
canPassBundleNameFromTemplateWithMethodCallSyntaxToGetAParameterizedI18NMessage 0
enumCanBeListed 0
missingAndDefaultValueOperatorsActsAsIExceptThemTo 0
subSubNode 0
contextPathIsAddedWithWebContext 0.007
uuidLinksAreTransformedToFullUrlLinksInNonWebContext 0.023
canAccessEnumPropertiesOfVariables 0.018
canLoopThroughPropertiesUsingTheKeysBuiltIn 0.025
canPassBundleNameFromTemplateAndSupportsI18NMessagesWithMultipleParameters 0.023
canLoopThroughNodes 0.021
simpleI18NMessageFallsBackToEnglishIfNotSpecifiedGivenLanguage 0.012
contextPathIsNotAddedWithNotWebContext 0.139
userPropertiesAreAvailable 0

ContentModelTest

testCanBeUnwrappedByDeepUnWrap 0.097

UserModelTest

testCanBeUnwrappedByDeepUnWrap 0.033

ModeDependentTemplateExceptionHandlerTest

handleTemplateExceptionThrowsTemplateExceptionInAdminMode 0.161
handleTemplateExceptionThrowsTemplateExceptionInAdminPreviewMode 0.01
handleTemplateExceptionThrowsTemplateExceptionInPublicMode 0.009

FreemarkerSupportModuleVersionHandlerTest

updateFrom53WithDefaultLoadersButCustomProps 10.949
updateFrom53WithDefaultConfigNoInplace 2.709
fullInstall 1.561
updateFrom53WithAdditionalLoader 1.275
updateFrom53WithDefaultConfigWithInplaceTemplate 1.212

FreemarkerConfigTest

testSharedVariablesArePopulated 0.181

MagnoliaObjectWrapperTest

wrapsContextWithMapModel 0.019
modelFactoryHasPrecedence 0.007
wrapsBeanAsBeanModel 0.003
wrapsContentMapWithContentMapModel 0.01
wrapsMapAsDefaultMapAdapter 0

BinaryNodeDataModelTest

testCanBeUnwrappedByDeepUnWrap 0.013