Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
157 0 0 0 100% 4.287

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.servlet 23 0 0 0 100% 0.226
org.apache.shiro.web.filter.mgt 36 0 0 0 100% 0.084
org.apache.shiro.web.env 6 0 0 0 100% 1.496
org.apache.shiro.web.filter.session 1 0 0 0 100% 0.006
org.apache.shiro.web.filter.authc 25 0 0 0 100% 0.112
org.apache.shiro.web.util 3 0 0 0 100% 0.033
org.apache.shiro.web.mgt 20 0 0 0 100% 0.695
org.apache.shiro.web.config 12 0 0 0 100% 0.104
org.apache.shiro.web.filter 6 0 0 0 100% 0.001
org.apache.shiro.web.session 1 0 0 0 100% 0
org.apache.shiro.web.filter.authz 7 0 0 0 100% 0.694
org.apache.shiro.web.session.mgt 17 0 0 0 100% 0.836

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

org.apache.shiro.web.servlet

Class Tests Errors Failures Skipped Success Rate Time
ShiroFilterTest 1 0 0 0 100% 0.009
ShiroHttpServletResponseTest 6 0 0 0 100% 0.127
IniShiroFilterTest 5 0 0 0 100% 0.056
SimpleCookieTest 6 0 0 0 100% 0.011
ShiroHttpServletRequestTest 1 0 0 0 100% 0
AbstractShiroFilterTest 2 0 0 0 100% 0.023
OncePerRequestFilterTest 2 0 0 0 100% 0

org.apache.shiro.web.filter.mgt

Class Tests Errors Failures Skipped Success Rate Time
SimpleNamedFilterListTest 5 0 0 0 100% 0.005
DefaultFilterChainManagerTest 19 0 0 0 100% 0.068
PathMatchingFilterChainResolverTest 12 0 0 0 100% 0.011

org.apache.shiro.web.env

Class Tests Errors Failures Skipped Success Rate Time
IniWebEnvironmentTest 2 0 0 0 100% 0.08
EnvironmentLoaderServiceTest 3 0 0 0 100% 1.369
EnvironmentLoaderTest 1 0 0 0 100% 0.047

org.apache.shiro.web.filter.session

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

org.apache.shiro.web.filter.authc

Class Tests Errors Failures Skipped Success Rate Time
LogoutFilterTest 3 0 0 0 100% 0.031
AnonymousFilterTest 1 0 0 0 100% 0
BearerHttpFilterAuthenticationTest 9 0 0 0 100% 0.074
BasicHttpFilterAuthenticationTest 12 0 0 0 100% 0.007

org.apache.shiro.web.util

Class Tests Errors Failures Skipped Success Rate Time
WebUtilsTest 3 0 0 0 100% 0.033

org.apache.shiro.web.mgt

Class Tests Errors Failures Skipped Success Rate Time
DefaultWebSecurityManagerTest 7 0 0 0 100% 0.364
CookieRememberMeManagerTest 6 0 0 0 100% 0.292
NonIniWebSecurityManagerTest 1 0 0 0 100% 0
DefaultWebSessionStorageEvaluatorTest 6 0 0 0 100% 0.039

org.apache.shiro.web.config

Class Tests Errors Failures Skipped Success Rate Time
IniFilterChainResolverFactoryTest 11 0 0 0 100% 0.096
WebIniSecurityManagerFactoryTest 1 0 0 0 100% 0.008

org.apache.shiro.web.filter

Class Tests Errors Failures Skipped Success Rate Time
PathMatchingFilterTest 6 0 0 0 100% 0.001

org.apache.shiro.web.session

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

org.apache.shiro.web.filter.authz

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

org.apache.shiro.web.session.mgt

Class Tests Errors Failures Skipped Success Rate Time
ServletContainerSessionManagerTest 6 0 0 0 100% 0.682
DefaultWebSessionManagerTest 11 0 0 0 100% 0.154

Test Cases

[Summary] [Package List] [Test Cases]

LogoutFilterTest

testLogoutViaGetMethodWhenPostOnlyEnabled 0.012
testLogoutViaGetMethod 0.009
testLogoutViaPostMethodWhenPostOnlyEnabled 0.006

ShiroFilterTest

testInit 0.007

ServletContainerSessionManagerTest

testGetSessionWithExistingRequestSession 0.32
testStartWithContextHostValue 0.012
testStartWithNonWebSessionContext 0.005
testGetSessionWithoutExistingRequestSession 0.002
testGetSessionWithNonWebSessionKey 0.003
testStartWithoutContextHostValue 0.002

PortFilterTest

testConfiguredPort 0
testDefault 0

AnonymousFilterTest

test 0

DefaultWebSecurityManagerTest

testGetSubjectByRequestSessionId 0.031
testLogin 0.004
testGetSubjectByRequestResponsePair 0.003
testSessionTimeout 0.211
checkSessionManagerDeterminesContainerSessionMode 0.007
testBuildNonWebSubjectWithDefaultServletContainerSessionManager 0.1
shiroSessionModeInit 0.006

PathMatchingFilterTest

testEnabled 0
testPathMatchEEnabled 0.001
testPathMatchEndWithMultiUrlSeparatorEnabled 0
testPathMatchEqualUrlSeparatorEnabled 0
testDisabledBasedOnPath 0
testPathMatchEndWithUrlSeparatorEnabled 0

ShiroHttpServletResponseTest

testEncodeURLNoSessionId 0.116
testEncodeURLSessionIdInURL 0.005
testEncodeURLSessionIdInWhenRewriteInvalid 0
testEncodeURLSessionIdInCookie 0.001
testEncodeURLSessionIdInWhenRewriteDisabled 0.002
testEncodeURLSessionIdInWhenRewriteInvalidAndNull 0.001

IniShiroFilterTest

testResourceConfig 0.015
testResourceConfigWithoutResource 0.024
testSimpleConfig 0.001
testDefaultWebInfConfig 0.007
testDefaultClasspathConfig 0.006

BearerHttpFilterAuthenticationTest

httpMethodDoesNotRequireAuthentication 0.009
createTokenNoValue 0.031
permissiveEnabledTest 0.002
createTokenNoAuthorizationHeader 0.002
createTokenJustSpaces 0.001
permissiveEnabledWithLoginTest 0.017
createTokenWithValue 0.001
httpMethodRequiresAuthentication 0.003
httpMethodRequiresAuthenticationWithPermissive 0.002

CookieRememberMeManagerTest

getRememberedSerializedIdentityReturnsNullForDeletedCookie 0.235
getRememberedPrincipalsDecryptionError 0.014
getRememberedPrincipals 0.019
onSuccessfulLogin 0.018
getRememberedPrincipalsNoMoreDefaultCipher 0.003
onLogout 0.001

IniWebEnvironmentTest

testFrameworkConfigAdded 0.071
testObjectsAfterSecurityManagerCreation 0.006

EnvironmentLoaderServiceTest

singleServiceTest 0.792
multipleServiceTest 0.04
loadFromInitParamTest 0.018

WebUtilsTest

testGetContextPath 0.015
testGetPathWithinApplication 0.013
testGetContextPathIncludes 0.002

SimpleCookieTest

testRemoveValue 0.002
testEmptyContextPath 0
testNullContextPath 0
testReadValuePrefixPath 0.001
testReadValueInvalidPrefixPath 0.001
testReadValueInvalidPath 0.001

IniFilterChainResolverFactoryTest

testGetFiltersWithoutSectionWithDefaults 0.048
testGetFiltersWithSectionWithoutDefaults 0.012
testGetFilters 0
testGetFiltersWithSectionAndDefaults 0.01
testNewInstanceWithFilterConfig 0.017
testCreateChainsWithNullUrlsSection 0
testGetInstanceNoIni 0.001
testNewInstance 0
testNewInstanceWithNonFilter 0.003
testNewInstanceWithIni 0
testGetFiltersWithNullOrEmptySection 0.001

HttpMethodPermissionFilterTest

testPermisisonMapping 0

ShiroHttpServletRequestTest

testRegetSession 0

HttpServletSessionTest

testLongTimeout 0

NonIniWebSecurityManagerTest

testLoginNonWebSubject 0

WebIniSecurityManagerFactoryTest

testDefaultFiltersPresent 0.008

SimpleNamedFilterListTest

testNewInstanceBackingList 0
testNewInstanceNameless 0
testListMethods 0.003
testNewInstance 0
testNewInstanceNullBackingList 0

AbstractShiroFilterTest

testInit 0.015
testInitWithStaticReference 0.006

DefaultWebSessionManagerTest

testOnStart 0.067
testSessionIDRequestPathParameterWithoutARequestURI 0.002
testGetSessionIdFromRequestUriPathSegmentParam 0.047
testGetSessionIdWithSessionIdCookieDisabled 0.002
testGetSessionIdWithSessionIdCookieDisabledAndLowercaseRequestParam 0.009
testSessionIDRequestPathParameterWithoutPathParameters 0.001
testOnStartWithSessionIdCookieDisabled 0.001
testSessionIDRequestPathParameterWithoutJSESSIONID 0
testGetSessionIdWithSessionIdCookieEnabled 0.003
testSessionIDRequestPathParameter 0.005
testSessionIDRequestPathParameterWithNonHttpRequest 0.004

AuthorizationFilterTest

testUserOnAccessDeniedWithResponseError 0.005
testUserOnAccessDeniedWithRedirect 0.01

NoSessionCreationFilterTest

testDefault 0.004

OncePerRequestFilterTest

testEnabled 0
testDisabled 0

DefaultFilterChainManagerTest

testBeanMethods 0.004
testToNameConfigPairWithIndividualNestedQuotesInBrackets 0.002
testProxy 0.001
testCreateChain 0.028
testFilterChainConfigWithNestedCommas 0.001
testToNameConfigPairWithNestedQuotesInBrackets 0
testAddFilterNoInit 0.005
testCreateChainWithQuotedInstanceConfig 0.002
testAddToChainNotPathProcessor 0.008
testFilterChainConfigWithNestedQuotedCommas 0.001
testAddToChain 0.002
testToNameConfigPairNoBrackets 0.006
testAddFilter 0
testNewInstanceWithFilterConfig 0
testToNameConfigPairWithPopulatedBrackets 0
testToNameConfigPairWithEmptyBrackets 0.001
testProxyNoChain 0.001
testNewInstanceDefaultFilters 0
testAddFilterNoFilterConfig 0

HostFilterTest

testPrivateClassB 0.627
testPrivateClassC 0.04

PathMatchingFilterChainResolverTest

testPathTraversalWithDotDot 0.001
testGetChain 0.001
testGetChainEndWithUrlSeparator 0.001
testGetChainEndWithMultiUrlSeparator 0.002
testGetChainsWithMatch 0.001
testGetChainsWithoutChains 0
testGetChainsWithoutMatch 0.001
testPathTraversalWithDot 0
testNewInstanceWithFilterConfig 0.001
testNewInstance 0
testGetChainEqualUrlSeparator 0.002
testSetters 0

BasicHttpFilterAuthenticationTest

httpMethodDoesNotRequireAuthentication 0
permissiveEnabledTest 0
createTokenNoAuthorizationHeader 0.004
allHttpMethodsRequireAuthenticationIfNoneConfigured 0
allHttpMethodsRequireAuthenticationIfNullConfig 0
createTokenNoUsername 0
permissiveEnabledWithLoginTest 0
httpMethodRequiresAuthentication 0
httpMethodsAreCaseInsensitive 0
createTokenColonInPassword 0.001
createTokenNoPassword 0
httpMethodRequiresAuthenticationWithPermissive 0.001

EnvironmentLoaderTest

testCustomizeAndFinalizeEnvironment 0.044

DefaultWebSessionStorageEvaluatorTest

testWebSubjectWithoutSessionAndGenerallyEnabledWithNonBooleanRequestAttribute 0.028
testWebSubjectWithoutSessionAndGenerallyEnabledButRequestDisabled 0.002
testWithoutSessionAndGenerallyDisabled 0.004
testWebSubjectWithoutSessionAndGenerallyEnabled 0.001
testWithoutSessionAndNonWebSubject 0
testWithSession 0.002