Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
10 0 0 0 100% 0.464

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.jaxrs 10 0 0 0 100% 0.464

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

org.apache.shiro.web.jaxrs

Class Tests Errors Failures Skipped Success Rate Time
SubjectPrincipalRequestFilterTest 1 0 0 0 100% 0.023
ShiroSecurityContextTest 8 0 0 0 100% 0.05
ExceptionMapperTest 1 0 0 0 100% 0.391

Test Cases

[Summary] [Package List] [Test Cases]

SubjectPrincipalRequestFilterTest

testWrapContext 0.021

ShiroSecurityContextTest

testGetUserPrincipalNoPrincipal 0.02
testUserInRoleTrue 0.001
testGetUserPrincipalPrincipalObject 0.009
testPrincipalEquals 0.011
testUserInRoleFalse 0.002
testGetUserPrincipalWithString 0.003
testIsSecure 0
testGetAuthenticationScheme 0.001

ExceptionMapperTest

testUnauthorizedException 0.204