Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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 37 0 0 0 100% 2.997
info.magnolia.templating.models.setup 1 0 0 0 100% 0.457
info.magnolia.templating.models.util 17 0 0 0 100% 1.309

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.489
SearchTemplatingFunctionsTest 6 0 0 0 100% 2.508

info.magnolia.templating.models.setup

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

info.magnolia.templating.models.util

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

Test Cases

[Summary] [Package List] [Test Cases]

NavigationTemplatingFunctionsTest

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

SearchTemplatingFunctionsTest

checkQueryStringIsNotBlank 1.162
checkWorkspaceIsNotBlank 0.264
checkLimitIsGreaterThanZero 0.212
searchContentOfRootNode 0.379
checkOffsetIsGreaterThanOrEqualsToZero 0.288
checkStartPathIsNotBlank 0.203

TemplatingEssentialsModelsModuleVersionHandlerTest

updateFrom10AddsNavFn 0.457

PaginationTest

getNumPagesSmallerThanMax 0.607
getBeginAndEndIndex 0.015
getNumPagesWithEmptyList 0
getPageLinkWithLinkAndWithQueryStringAndOtherParam 0.006
getPageLinkWithLinkAndWithQueryStringToSelf 0.001
getNumPagesWithMaxResultsSet 0.006
getPageLinkWithLinkAndWithoutQueryString 0
getPageLinkWithoutCurrentPage 0
testPageOffset 0
getPageItems 0.005
getNumPagesBiggerThanMax 0.668
testPageOffsetWithCurrentPage 0.001

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