Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.437

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.018
ShiroSecurityContextTest 8 0 0 0 100% 0.035
ExceptionMapperTest 1 0 0 0 100% 0.384

Test Cases

[Summary] [Package List] [Test Cases]

SubjectPrincipalRequestFilterTest

testWrapContext 0.016

ShiroSecurityContextTest

testGetUserPrincipalNoPrincipal 0.016
testUserInRoleTrue 0.002
testGetUserPrincipalPrincipalObject 0.006
testPrincipalEquals 0.002
testUserInRoleFalse 0.002
testGetUserPrincipalWithString 0.003
testIsSecure 0
testGetAuthenticationScheme 0

ExceptionMapperTest

testUnauthorizedException 0.189