Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
135 0 0 0 100% 7.463

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 22 0 0 0 100% 0.262
org.apache.shiro.web.filter.mgt 32 0 0 0 100% 0.078
org.apache.shiro.web.env 3 0 0 0 100% 0.124
org.apache.shiro.web.filter.session 1 0 0 0 100% 0.015
org.apache.shiro.web.filter.authc 16 0 0 0 100% 0.104
org.apache.shiro.web.util 3 0 0 0 100% 0.018
org.apache.shiro.web.mgt 19 0 0 0 100% 0.31
org.apache.shiro.web.config 12 0 0 0 100% 6.006
org.apache.shiro.web.filter 2 0 0 0 100% 0.003
org.apache.shiro.web.session 1 0 0 0 100% 0.002
org.apache.shiro.web.filter.authz 7 0 0 0 100% 0.468
org.apache.shiro.web.session.mgt 17 0 0 0 100% 0.073

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
AbstractShiroFilterTest 2 0 0 0 100% 0.018
IniShiroFilterTest 5 0 0 0 100% 0.028
OncePerRequestFilterTest 2 0 0 0 100% 0
ShiroFilterTest 1 0 0 0 100% 0.005
ShiroHttpServletResponseTest 6 0 0 0 100% 0.208
SimpleCookieTest 6 0 0 0 100% 0.003

org.apache.shiro.web.filter.mgt

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

org.apache.shiro.web.env

Class Tests Errors Failures Skipped Success Rate Time
EnvironmentLoaderTest 1 0 0 0 100% 0.063
IniWebEnvironmentTest 2 0 0 0 100% 0.061

org.apache.shiro.web.filter.session

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

org.apache.shiro.web.filter.authc

Class Tests Errors Failures Skipped Success Rate Time
AnonymousFilterTest 1 0 0 0 100% 0
BasicHttpFilterAuthenticationTest 12 0 0 0 100% 0.054
LogoutFilterTest 3 0 0 0 100% 0.05

org.apache.shiro.web.util

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

org.apache.shiro.web.mgt

Class Tests Errors Failures Skipped Success Rate Time
CookieRememberMeManagerTest 6 0 0 0 100% 0.052
DefaultWebSecurityManagerTest 7 0 0 0 100% 0.238
DefaultWebSessionStorageEvaluatorTest 6 0 0 0 100% 0.02

org.apache.shiro.web.config

Class Tests Errors Failures Skipped Success Rate Time
IniFilterChainResolverFactoryTest 11 0 0 0 100% 0.741
WebIniSecurityManagerFactoryTest 1 0 0 0 100% 5.265

org.apache.shiro.web.filter

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

org.apache.shiro.web.session

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

org.apache.shiro.web.filter.authz

Class Tests Errors Failures Skipped Success Rate Time
AuthorizationFilterTest 2 0 0 0 100% 0.013
HostFilterTest 2 0 0 0 100% 0.455
HttpMethodPermissionFilterTest 1 0 0 0 100% 0
PortFilterTest 2 0 0 0 100% 0

org.apache.shiro.web.session.mgt

Class Tests Errors Failures Skipped Success Rate Time
DefaultWebSessionManagerTest 11 0 0 0 100% 0.055
ServletContainerSessionManagerTest 6 0 0 0 100% 0.018

Test Cases

[Summary] [Package List] [Test Cases]

IniFilterChainResolverFactoryTest

testGetFiltersWithoutSectionWithDefaults 0.237
testGetFiltersWithSectionWithoutDefaults 0.023
testGetFilters 0
testGetFiltersWithSectionAndDefaults 0.006
testNewInstanceWithFilterConfig 0.079
testCreateChainsWithNullUrlsSection 0.001
testGetInstanceNoIni 0.002
testNewInstance 0
testNewInstanceWithNonFilter 0.007
testNewInstanceWithIni 0.002
testGetFiltersWithNullOrEmptySection 0

WebIniSecurityManagerFactoryTest

testDefaultFiltersPresent 5.235

EnvironmentLoaderTest

testCustomizeAndFinalizeEnvironment 0.059

IniWebEnvironmentTest

testFrameworkConfigAdded 0.052
testObjectsAfterSecurityManagerCreation 0.007

AnonymousFilterTest

test 0

BasicHttpFilterAuthenticationTest

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

LogoutFilterTest

testLogoutViaGetMethodWhenPostOnlyEnabled 0.017
testLogoutViaGetMethod 0.025
testLogoutViaPostMethodWhenPostOnlyEnabled 0.007

AuthorizationFilterTest

testUserOnAccessDeniedWithResponseError 0.011
testUserOnAccessDeniedWithRedirect 0.002

HostFilterTest

testPrivateClassB 0.427
testPrivateClassC 0.028

HttpMethodPermissionFilterTest

testPermisisonMapping 0

PortFilterTest

testConfiguredPort 0
testDefault 0

DefaultFilterChainManagerTest

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

PathMatchingFilterChainResolverTest

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

SimpleNamedFilterListTest

testNewInstanceBackingList 0
testNewInstanceNameless 0
testListMethods 0
testNewInstance 0
testNewInstanceNullBackingList 0

PathMatchingFilterTest

testEnabled 0.003
testDisabledBasedOnPath 0

NoSessionCreationFilterTest

testDefault 0.013

CookieRememberMeManagerTest

getRememberedSerializedIdentityReturnsNullForDeletedCookie 0.002
getRememberedPrincipalsDecryptionError 0.005
getRememberedPrincipals 0.021
onSuccessfulLogin 0.022
getRememberedPrincipalsNoMoreDefaultCipher 0.002
onLogout 0

DefaultWebSecurityManagerTest

testGetSubjectByRequestSessionId 0.011
testLogin 0.01
testGetSubjectByRequestResponsePair 0.002
testSessionTimeout 0.209
checkSessionManagerDeterminesContainerSessionMode 0.001
testBuildNonWebSubjectWithDefaultServletContainerSessionManager 0.004
shiroSessionModeInit 0

DefaultWebSessionStorageEvaluatorTest

testWebSubjectWithoutSessionAndGenerallyEnabledWithNonBooleanRequestAttribute 0.011
testWebSubjectWithoutSessionAndGenerallyEnabledButRequestDisabled 0.001
testWithoutSessionAndGenerallyDisabled 0.001
testWebSubjectWithoutSessionAndGenerallyEnabled 0.001
testWithoutSessionAndNonWebSubject 0
testWithSession 0.003

AbstractShiroFilterTest

testInit 0.012
testInitWithStaticReference 0.003

IniShiroFilterTest

testResourceConfig 0.01
testResourceConfigWithoutResource 0.002
testSimpleConfig 0.005
testDefaultWebInfConfig 0.005
testDefaultClasspathConfig 0.003

OncePerRequestFilterTest

testEnabled 0
testDisabled 0

ShiroFilterTest

testInit 0.004

ShiroHttpServletResponseTest

testEncodeURLNoSessionId 0.193
testEncodeURLSessionIdInURL 0.008
testEncodeURLSessionIdInWhenRewriteInvalid 0.001
testEncodeURLSessionIdInCookie 0
testEncodeURLSessionIdInWhenRewriteDisabled 0.002
testEncodeURLSessionIdInWhenRewriteInvalidAndNull 0.002

SimpleCookieTest

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

HttpServletSessionTest

testLongTimeout 0.002

DefaultWebSessionManagerTest

testOnStart 0.027
testSessionIDRequestPathParameterWithoutARequestURI 0.002
testGetSessionIdFromRequestUriPathSegmentParam 0.013
testGetSessionIdWithSessionIdCookieDisabled 0.001
testGetSessionIdWithSessionIdCookieDisabledAndLowercaseRequestParam 0.002
testSessionIDRequestPathParameterWithoutPathParameters 0
testOnStartWithSessionIdCookieDisabled 0.001
testSessionIDRequestPathParameterWithoutJSESSIONID 0
testGetSessionIdWithSessionIdCookieEnabled 0.004
testSessionIDRequestPathParameter 0.001
testSessionIDRequestPathParameterWithNonHttpRequest 0

ServletContainerSessionManagerTest

testGetSessionWithExistingRequestSession 0.01
testStartWithContextHostValue 0.001
testStartWithNonWebSessionContext 0.002
testGetSessionWithoutExistingRequestSession 0
testGetSessionWithNonWebSessionKey 0.001
testStartWithoutContextHostValue 0.001

WebUtilsTest

testGetContextPath 0.01
testGetPathWithinApplication 0.006
testGetContextPathIncludes 0.002