Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.3
info.magnolia.templating.functions 38 0 0 0 100% 2.136
info.magnolia.templating.models.setup 1 0 0 0 100% 1.817
info.magnolia.templating.models.util 17 0 0 0 100% 1.285

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

info.magnolia.templating.functions

Class Tests Errors Failures Skipped Success Rate Time
SearchTemplatingFunctionsTest 7 0 0 0 100% 1.956
NavigationTemplatingFunctionsTest 31 0 0 0 100% 0.18

info.magnolia.templating.models.setup

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

info.magnolia.templating.models.util

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

Test Cases

[Summary] [Package List] [Test Cases]

SearchTemplatingFunctionsTest

orderByJcrScoreDescSortsCorrectly 0.485
checkQueryStringIsNotBlank 0.33
checkWorkspaceIsNotBlank 0.24
checkLimitIsGreaterThanZero 0.245
searchContentOfRootNode 0.223
checkOffsetIsGreaterThanOrEqualsToZero 0.241
checkStartPathIsNotBlank 0.191

PaginationTest

getNumPagesSmallerThanMax 0.75
getBeginAndEndIndex 0.014
getNumPagesWithEmptyList 0
getPageLinkWithLinkAndWithQueryStringAndOtherParam 0.009
getPageLinkWithLinkAndWithQueryStringToSelf 0
getNumPagesWithMaxResultsSet 0.005
getPageLinkWithLinkAndWithoutQueryString 0
getPageLinkWithoutCurrentPage 0
testPageOffset 0
getPageItems 0.008
getNumPagesBiggerThanMax 0.496
testPageOffsetWithCurrentPage 0.001

TemplatingEssentialsModelsModuleVersionHandlerTest

updateFrom10AddsNavFn 1.817

PaginationXSSTest

testPaginationXSSRealLinkWithoutXSS 0
testPaginationXSSRealLinkWithouXSSDoubleQuerry 0
testPaginationXSSRealLinkWithXSSDoubleQuerry 0
testPaginationXSSRealLinkWithXSS 0
testPaginationOriginalLinkShouldRemainUnchanged 0

NavigationItemPredicateTest

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

NavigationTemplatingFunctionsTest

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