Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
64 0 0 0 100% 8.123

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.411
info.magnolia.templating.functions 38 0 0 0 100% 3.2
info.magnolia.templating.models.setup 1 0 0 0 100% 2.503
info.magnolia.templating.models.util 17 0 0 0 100% 2.009

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

info.magnolia.templating.functions

Class Tests Errors Failures Skipped Success Rate Time
SearchTemplatingFunctionsTest 7 0 0 0 100% 2.851
NavigationTemplatingFunctionsTest 31 0 0 0 100% 0.349

info.magnolia.templating.models.setup

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

info.magnolia.templating.models.util

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

Test Cases

[Summary] [Package List] [Test Cases]

SearchTemplatingFunctionsTest

orderByJcrScoreDescSortsCorrectly 0.713
checkQueryStringIsNotBlank 0.429
checkWorkspaceIsNotBlank 0.651
checkLimitIsGreaterThanZero 0.33
searchContentOfRootNode 0.228
checkOffsetIsGreaterThanOrEqualsToZero 0.247
checkStartPathIsNotBlank 0.247

PaginationTest

getNumPagesSmallerThanMax 1.226
getBeginAndEndIndex 0.117
getNumPagesWithEmptyList 0.001
getPageLinkWithLinkAndWithQueryStringAndOtherParam 0.016
getPageLinkWithLinkAndWithQueryStringToSelf 0.001
getNumPagesWithMaxResultsSet 0.006
getPageLinkWithLinkAndWithoutQueryString 0
getPageLinkWithoutCurrentPage 0
testPageOffset 0
getPageItems 0.013
getNumPagesBiggerThanMax 0.618
testPageOffsetWithCurrentPage 0.001

TemplatingEssentialsModelsModuleVersionHandlerTest

updateFrom10AddsNavFn 2.495

PaginationXSSTest

testPaginationXSSRealLinkWithoutXSS 0
testPaginationXSSRealLinkWithouXSSDoubleQuerry 0
testPaginationXSSRealLinkWithXSSDoubleQuerry 0
testPaginationXSSRealLinkWithXSS 0
testPaginationOriginalLinkShouldRemainUnchanged 0

NavigationItemPredicateTest

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

NavigationTemplatingFunctionsTest

isTrueWhenPropertySetToFalse 0.056
linkWithSelector 0.091
isHiddenInNavWhenPropertyExistAndIsSetToTrue 0.006
hasTemplateSubTypeDoNotMatchWithTemplateType 0.008
isOpen 0.004
isTrue 0.006
isNotHiddenInNavWhenPropertyExistAndIsSetToTrue 0.005
hasTemplateSubType 0.004
hasNotTemplate 0.004
isNotOpenWhenOnActivePage 0.007
isActive 0.004
linkWithSpecificParameterNameAndExtension 0.004
hasNotTemplateType 0.015
rootPage 0.007
linkWithParameterAndExtension 0.006
linkWithSpecificParameterName 0.006
link 0.006
hasTemplateType 0.004
linkWithSelectorAndExtension 0.006
ancestorPageAtLevel 0.008
isHiddenInNavWhenPropertyExistAndIsSetToFalse 0.005
navItemsFromApp 0.01
isHiddenInNavWhenPropertyDoesNotExist 0.006
isNotOpen 0.006
hasTemplate 0.007
hasNotTemplateSubtype 0.006
isActiveWhenOnComponent 0.011
linkWithParameter 0.005
isNotActive 0.005
navItems 0.007
isNotHiddenInNavWhenPropertyExistAndIsSetToFalse 0.007