Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
63 0 0 0 100% 10.956

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.predicates 8 0 0 0 100% 0.011
info.magnolia.templating.functions 37 0 0 0 100% 4.131
info.magnolia.templating.models.setup 1 0 0 0 100% 3.821
info.magnolia.templating.models.util 17 0 0 0 100% 2.993

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

info.magnolia.templating.predicates

Class Tests Errors Failures Skipped Success Rate Time
NavigationItemPredicateTest 8 0 0 0 100% 0.011

info.magnolia.templating.functions

Class Tests Errors Failures Skipped Success Rate Time
SearchTemplatingFunctionsTest 6 0 0 0 100% 3.776
NavigationTemplatingFunctionsTest 31 0 0 0 100% 0.355

info.magnolia.templating.models.setup

Class Tests Errors Failures Skipped Success Rate Time
TemplatingEssentialsModelsModuleVersionHandlerTest 1 0 0 0 100% 3.821

info.magnolia.templating.models.util

Class Tests Errors Failures Skipped Success Rate Time
PaginationTest 12 0 0 0 100% 2.974
PaginationXSSTest 5 0 0 0 100% 0.019

Test Cases

[Summary] [Package List] [Test Cases]

SearchTemplatingFunctionsTest

checkQueryStringIsNotBlank 0.72
checkWorkspaceIsNotBlank 0.755
checkLimitIsGreaterThanZero 0.563
searchContentOfRootNode 0.815
checkOffsetIsGreaterThanOrEqualsToZero 0.468
checkStartPathIsNotBlank 0.455

PaginationTest

getNumPagesSmallerThanMax 1.39
getBeginAndEndIndex 0.066
getNumPagesWithEmptyList 0.001
getPageLinkWithLinkAndWithQueryStringAndOtherParam 0.003
getPageLinkWithLinkAndWithQueryStringToSelf 0
getNumPagesWithMaxResultsSet 0.014
getPageLinkWithLinkAndWithoutQueryString 0
getPageLinkWithoutCurrentPage 0.001
testPageOffset 0
getPageItems 0.02
getNumPagesBiggerThanMax 1.478
testPageOffsetWithCurrentPage 0.001

NavigationItemPredicateTest

evaluateWithSpecificNodeTypeWithoutHideInNavProperty 0
evaluatePageNodeWithHideInNavPropertySetToTrue 0.003
evaluateWithPageNodeTypeWhichDoesNotMatch 0.001
evaluateWithSpecificNodeTypWithHideInNavPropertySetToTrue 0
evaluatePageNodeWithoutHideInNavProperty 0
evaluatePageNodeWithHideInNavPropertySetToFalse 0
evaluateWithSpecificNodeWhichDoesNotMatch 0.007
evaluateWithSpecificNodeTypWithHideInNavPropertySetToFalse 0

PaginationXSSTest

testPaginationXSSRealLinkWithoutXSS 0
testPaginationXSSRealLinkWithouXSSDoubleQuerry 0.017
testPaginationXSSRealLinkWithXSSDoubleQuerry 0.001
testPaginationXSSRealLinkWithXSS 0
testPaginationOriginalLinkShouldRemainUnchanged 0.001

NavigationTemplatingFunctionsTest

isTrueWhenPropertySetToFalse 0.037
linkWithSelector 0.027
isHiddenInNavWhenPropertyExistAndIsSetToTrue 0.006
hasTemplateSubTypeDoNotMatchWithTemplateType 0.008
isOpen 0.006
isTrue 0.005
isNotHiddenInNavWhenPropertyExistAndIsSetToTrue 0.006
hasTemplateSubType 0.008
hasNotTemplate 0.007
isNotOpenWhenOnActivePage 0.007
isActive 0.006
linkWithSpecificParameterNameAndExtension 0.006
hasNotTemplateType 0.016
rootPage 0.007
linkWithParameterAndExtension 0.003
linkWithSpecificParameterName 0.009
link 0.009
hasTemplateType 0.007
linkWithSelectorAndExtension 0.008
ancestorPageAtLevel 0.008
isHiddenInNavWhenPropertyExistAndIsSetToFalse 0.008
navItemsFromApp 0.01
isHiddenInNavWhenPropertyDoesNotExist 0.007
isNotOpen 0.007
hasTemplate 0.007
hasNotTemplateSubtype 0.008
isActiveWhenOnComponent 0.006
linkWithParameter 0.087
isNotActive 0.005
navItems 0.007
isNotHiddenInNavWhenPropertyExistAndIsSetToFalse 0.007

TemplatingEssentialsModelsModuleVersionHandlerTest

updateFrom10AddsNavFn 3.821