Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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
info.magnolia.templating.functions 38 0 0 0 100% 3.661
info.magnolia.templating.models.setup 1 0 0 0 100% 0.361
info.magnolia.templating.models.util 17 0 0 0 100% 0.996

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

info.magnolia.templating.functions

Class Tests Errors Failures Skipped Success Rate Time
NavigationTemplatingFunctionsTest 31 0 0 0 100% 0.784
SearchTemplatingFunctionsTest 7 0 0 0 100% 2.877

info.magnolia.templating.models.setup

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

info.magnolia.templating.models.util

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

Test Cases

[Summary] [Package List] [Test Cases]

NavigationTemplatingFunctionsTest

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

SearchTemplatingFunctionsTest

orderByJcrScoreDescSortsCorrectly 1.437
checkQueryStringIsNotBlank 0.356
checkWorkspaceIsNotBlank 0.227
checkLimitIsGreaterThanZero 0.223
searchContentOfRootNode 0.232
checkOffsetIsGreaterThanOrEqualsToZero 0.2
checkStartPathIsNotBlank 0.202

TemplatingEssentialsModelsModuleVersionHandlerTest

updateFrom10AddsNavFn 0.361

PaginationTest

getNumPagesSmallerThanMax 0.475
getBeginAndEndIndex 0.012
getNumPagesWithEmptyList 0
getPageLinkWithLinkAndWithQueryStringAndOtherParam 0.006
getPageLinkWithLinkAndWithQueryStringToSelf 0
getNumPagesWithMaxResultsSet 0.005
getPageLinkWithLinkAndWithoutQueryString 0.001
getPageLinkWithoutCurrentPage 0
testPageOffset 0
getPageItems 0.006
getNumPagesBiggerThanMax 0.491
testPageOffsetWithCurrentPage 0

PaginationXSSTest

testPaginationXSSRealLinkWithoutXSS 0
testPaginationXSSRealLinkWithouXSSDoubleQuerry 0
testPaginationXSSRealLinkWithXSSDoubleQuerry 0
testPaginationXSSRealLinkWithXSS 0
testPaginationOriginalLinkShouldRemainUnchanged 0

NavigationItemPredicateTest

evaluateWithSpecificNodeTypeWithoutHideInNavProperty 0
evaluatePageNodeWithHideInNavPropertySetToTrue 0
evaluateWithPageNodeTypeWhichDoesNotMatch 0
evaluateWithSpecificNodeTypWithHideInNavPropertySetToTrue 0
evaluatePageNodeWithoutHideInNavProperty 0
evaluatePageNodeWithHideInNavPropertySetToFalse 0
evaluateWithSpecificNodeWhichDoesNotMatch 0
evaluateWithSpecificNodeTypWithHideInNavPropertySetToFalse 0