Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
62 0 0 0 100% 7.09

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.001
info.magnolia.templating.functions 36 0 0 0 100% 0.891
info.magnolia.templating.models.setup 1 0 0 0 100% 3.188
info.magnolia.templating.models.util 17 0 0 0 100% 3.01

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

info.magnolia.templating.functions

Class Tests Errors Failures Skipped Success Rate Time
NavigationTemplatingFunctionsTest 31 0 0 0 100% 0.873
SearchTemplatingFunctionsTest 5 0 0 0 100% 0.018

info.magnolia.templating.models.setup

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

info.magnolia.templating.models.util

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

Test Cases

[Summary] [Package List] [Test Cases]

NavigationTemplatingFunctionsTest

isTrueWhenPropertySetToFalse 0.534
linkWithSelector 0.028
isHiddenInNavWhenPropertyExistAndIsSetToTrue 0.007
hasTemplateSubTypeDoNotMatchWithTemplateType 0.023
isOpen 0.01
isTrue 0.008
isNotHiddenInNavWhenPropertyExistAndIsSetToTrue 0.018
hasTemplateSubType 0.01
hasNotTemplate 0.008
isNotOpenWhenOnActivePage 0.007
isActive 0.009
linkWithSpecificParameterNameAndExtension 0.008
hasNotTemplateType 0.016
rootPage 0.011
linkWithParameterAndExtension 0.007
linkWithSpecificParameterName 0.018
link 0.013
hasTemplateType 0.011
linkWithSelectorAndExtension 0.015
ancestorPageAtLevel 0.011
isHiddenInNavWhenPropertyExistAndIsSetToFalse 0.007
navItemsFromApp 0.014
isHiddenInNavWhenPropertyDoesNotExist 0.01
isNotOpen 0.008
hasTemplate 0.009
hasNotTemplateSubtype 0.011
isActiveWhenOnComponent 0.008
linkWithParameter 0.007
isNotActive 0.006
navItems 0.007
isNotHiddenInNavWhenPropertyExistAndIsSetToFalse 0.014

SearchTemplatingFunctionsTest

checkQueryStringIsNotBlank 0.015
checkWorkspaceIsNotBlank 0.001
checkLimitIsGreaterThanZero 0.001
checkOffsetIsGreaterThanOrEqualsToZero 0
checkStartPathIsNotBlank 0.001

TemplatingEssentialsModelsModuleVersionHandlerTest

updateFrom10AddsNavFn 3.188

PaginationTest

getNumPagesSmallerThanMax 1.33
getBeginAndEndIndex 0.021
getNumPagesWithEmptyList 0
getPageLinkWithLinkAndWithQueryStringAndOtherParam 0.017
getPageLinkWithLinkAndWithQueryStringToSelf 0.001
getNumPagesWithMaxResultsSet 0.012
getPageLinkWithLinkAndWithoutQueryString 0
getPageLinkWithoutCurrentPage 0
testPageOffset 0.001
getPageItems 0.013
getNumPagesBiggerThanMax 1.613
testPageOffsetWithCurrentPage 0

PaginationXSSTest

testPaginationXSSRealLinkWithoutXSS 0.001
testPaginationXSSRealLinkWithouXSSDoubleQuerry 0
testPaginationXSSRealLinkWithXSSDoubleQuerry 0
testPaginationXSSRealLinkWithXSS 0.001
testPaginationOriginalLinkShouldRemainUnchanged 0

NavigationItemPredicateTest

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