Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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% 1.471

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
ExceptionMapperTest 1 0 0 0 100% 1.324
ShiroSecurityContextTest 8 0 0 0 100% 0.13
SubjectPrincipalRequestFilterTest 1 0 0 0 100% 0.017

Test Cases

[Summary] [Package List] [Test Cases]

ExceptionMapperTest

testUnauthorizedException 0.61

ShiroSecurityContextTest

testGetUserPrincipalNoPrincipal 0.077
testUserInRoleTrue 0.005
testGetUserPrincipalPrincipalObject 0.02
testPrincipalEquals 0.007
testUserInRoleFalse 0.003
testGetUserPrincipalWithString 0.007
testIsSecure 0.003
testGetAuthenticationScheme 0.003

SubjectPrincipalRequestFilterTest

testWrapContext 0.017