Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
108 0 0 0 100% 1.295

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
org.apache.shiro.web.filter.authc 5 0 0 0 100% 0.02
org.apache.shiro.web.servlet 13 0 0 0 100% 0.044
org.apache.shiro.web.filter.mgt 32 0 0 0 100% 0.051
org.apache.shiro.web.filter.authz 7 0 0 0 100% 0.464
org.apache.shiro.web.session.mgt 17 0 0 0 100% 0.066
org.apache.shiro.web.filter.session 1 0 0 0 100% 0.014
org.apache.shiro.web.filter 2 0 0 0 100% 0.002
org.apache.shiro.web.mgt 18 0 0 0 100% 0.37
org.apache.shiro.web.config 12 0 0 0 100% 0.235
org.apache.shiro.web.env 1 0 0 0 100% 0.029

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.apache.shiro.web.filter.authc

Class Tests Errors Failures Skipped Success Rate Time
AnonymousFilterTest 1 0 0 0 100% 0.003
BasicHttpFilterAuthenticationTest 4 0 0 0 100% 0.017

org.apache.shiro.web.servlet

Class Tests Errors Failures Skipped Success Rate Time
AbstractShiroFilterTest 2 0 0 0 100% 0.015
IniShiroFilterTest 5 0 0 0 100% 0.022
OncePerRequestFilterTest 2 0 0 0 100% 0.001
ShiroFilterTest 1 0 0 0 100% 0.005
SimpleCookieTest 3 0 0 0 100% 0.001

org.apache.shiro.web.filter.mgt

Class Tests Errors Failures Skipped Success Rate Time
DefaultFilterChainManagerTest 19 0 0 0 100% 0.045
PathMatchingFilterChainResolverTest 8 0 0 0 100% 0.005
SimpleNamedFilterListTest 5 0 0 0 100% 0.001

org.apache.shiro.web.filter.authz

Class Tests Errors Failures Skipped Success Rate Time
AuthorizationFilterTest 2 0 0 0 100% 0.045
HostFilterTest 2 0 0 0 100% 0.417
HttpMethodPermissionFilterTest 1 0 0 0 100% 0.001
PortFilterTest 2 0 0 0 100% 0.001

org.apache.shiro.web.session.mgt

Class Tests Errors Failures Skipped Success Rate Time
DefaultWebSessionManagerTest 11 0 0 0 100% 0.052
ServletContainerSessionManagerTest 6 0 0 0 100% 0.014

org.apache.shiro.web.filter.session

Class Tests Errors Failures Skipped Success Rate Time
NoSessionCreationFilterTest 1 0 0 0 100% 0.014

org.apache.shiro.web.filter

Class Tests Errors Failures Skipped Success Rate Time
PathMatchingFilterTest 2 0 0 0 100% 0.002

org.apache.shiro.web.mgt

Class Tests Errors Failures Skipped Success Rate Time
CookieRememberMeManagerTest 5 0 0 0 100% 0.131
DefaultWebSecurityManagerTest 7 0 0 0 100% 0.223
DefaultWebSessionStorageEvaluatorTest 6 0 0 0 100% 0.016

org.apache.shiro.web.config

Class Tests Errors Failures Skipped Success Rate Time
IniFilterChainResolverFactoryTest 11 0 0 0 100% 0.185
WebIniSecurityManagerFactoryTest 1 0 0 0 100% 0.05

org.apache.shiro.web.env

Class Tests Errors Failures Skipped Success Rate Time
IniWebEnvironmentTest 1 0 0 0 100% 0.029

Test Cases

[Summary] [Package List] [Test Cases]

IniFilterChainResolverFactoryTest

testNewInstance 0.086
testGetInstanceNoIni 0.029
testNewInstanceWithIni 0.012
testGetFiltersWithNullOrEmptySection 0.001
testCreateChainsWithNullUrlsSection 0.001
testNewInstanceWithNonFilter 0.004
testNewInstanceWithFilterConfig 0.035
testGetFilters 0
testGetFiltersWithoutSectionWithDefaults 0.013
testGetFiltersWithSectionWithoutDefaults 0.001
testGetFiltersWithSectionAndDefaults 0.003

WebIniSecurityManagerFactoryTest

testDefaultFiltersPresent 0.05

IniWebEnvironmentTest

testObjectsAfterSecurityManagerCreation 0.029

AnonymousFilterTest

test 0

BasicHttpFilterAuthenticationTest

createTokenNoAuthorizationHeader 0.014
createTokenNoUsername 0.001
createTokenNoPassword 0.001
createTokenColonInPassword 0.001

AuthorizationFilterTest

testUserOnAccessDeniedWithResponseError 0.042
testUserOnAccessDeniedWithRedirect 0.003

HostFilterTest

testPrivateClassC 0.061
testPrivateClassB 0.356

HttpMethodPermissionFilterTest

testPermisisonMapping 0

PortFilterTest

testDefault 0.001
testConfiguredPort 0

DefaultFilterChainManagerTest

testNewInstanceWithFilterConfig 0.005
testToNameConfigPairNoBrackets 0.002
testToNameConfigPairWithEmptyBrackets 0
testToNameConfigPairWithPopulatedBrackets 0.001
testToNameConfigPairWithNestedQuotesInBrackets 0.001
testToNameConfigPairWithIndividualNestedQuotesInBrackets 0.001
testFilterChainConfigWithNestedCommas 0
testFilterChainConfigWithNestedQuotedCommas 0.002
testNewInstanceDefaultFilters 0.003
testCreateChain 0.015
testCreateChainWithQuotedInstanceConfig 0.001
testBeanMethods 0.001
testAddFilter 0.002
testAddFilterNoInit 0.002
testAddFilterNoFilterConfig 0
testAddToChain 0.001
testAddToChainNotPathProcessor 0.005
testProxy 0.002
testProxyNoChain 0.001

PathMatchingFilterChainResolverTest

testNewInstance 0.001
testNewInstanceWithFilterConfig 0
testSetters 0.001
testGetChainsWithoutChains 0
testGetChainsWithMatch 0.001
testPathTraversalWithDot 0.001
testPathTraversalWithDotDot 0.001
testGetChainsWithoutMatch 0

SimpleNamedFilterListTest

testNewInstance 0
testNewInstanceNameless 0
testNewInstanceBackingList 0
testNewInstanceNullBackingList 0
testListMethods 0

PathMatchingFilterTest

testDisabledBasedOnPath 0.002
testEnabled 0

NoSessionCreationFilterTest

testDefault 0.014

CookieRememberMeManagerTest

onSuccessfulLogin 0.119
getRememberedSerializedIdentityReturnsNullForDeletedCookie 0.002
getRememberedPrincipals 0.004
getRememberedPrincipalsDecryptionError 0.006
onLogout 0

DefaultWebSecurityManagerTest

checkSessionManagerDeterminesContainerSessionMode 0.002
shiroSessionModeInit 0
testLogin 0.007
testSessionTimeout 0.207
testGetSubjectByRequestResponsePair 0.002
testGetSubjectByRequestSessionId 0.003
testBuildNonWebSubjectWithDefaultServletContainerSessionManager 0.002

DefaultWebSessionStorageEvaluatorTest

testWithSession 0.008
testWithoutSessionAndNonWebSubject 0
testWithoutSessionAndGenerallyDisabled 0
testWebSubjectWithoutSessionAndGenerallyEnabled 0.006
testWebSubjectWithoutSessionAndGenerallyEnabledButRequestDisabled 0.001
testWebSubjectWithoutSessionAndGenerallyEnabledWithNonBooleanRequestAttribute 0.001

AbstractShiroFilterTest

testInit 0.011
testInitWithStaticReference 0.004

IniShiroFilterTest

testDefaultWebInfConfig 0.01
testResourceConfig 0.006
testResourceConfigWithoutResource 0.002
testDefaultClasspathConfig 0.002
testSimpleConfig 0.002

OncePerRequestFilterTest

testEnabled 0.001
testDisabled 0

ShiroFilterTest

testInit 0.005

SimpleCookieTest

testRemoveValue 0
testEmptyContextPath 0.001
testNullContextPath 0

DefaultWebSessionManagerTest

testOnStart 0.023
testOnStartWithSessionIdCookieDisabled 0.001
testGetSessionIdWithSessionIdCookieEnabled 0.013
testGetSessionIdWithSessionIdCookieDisabled 0.01
testGetSessionIdWithSessionIdCookieDisabledAndLowercaseRequestParam 0.003
testGetSessionIdFromRequestUriPathSegmentParam 0.001
testSessionIDRequestPathParameterWithNonHttpRequest 0.001
testSessionIDRequestPathParameterWithoutARequestURI 0
testSessionIDRequestPathParameterWithoutPathParameters 0
testSessionIDRequestPathParameterWithoutJSESSIONID 0
testSessionIDRequestPathParameter 0

ServletContainerSessionManagerTest

testStartWithNonWebSessionContext 0.003
testStartWithContextHostValue 0.006
testStartWithoutContextHostValue 0.001
testGetSessionWithNonWebSessionKey 0.001
testGetSessionWithExistingRequestSession 0.002
testGetSessionWithoutExistingRequestSession 0.001