Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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

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.027
ShiroSecurityContextTest 8 0 0 0 100% 0.065
ExceptionMapperTest 1 0 0 0 100% 0.836

Test Cases

[Summary] [Package List] [Test Cases]

SubjectPrincipalRequestFilterTest

testWrapContext 0.025

ShiroSecurityContextTest

testGetUserPrincipalNoPrincipal 0.03
testUserInRoleTrue 0.004
testGetUserPrincipalPrincipalObject 0.01
testPrincipalEquals 0.005
testUserInRoleFalse 0.003
testGetUserPrincipalWithString 0.004
testIsSecure 0.001
testGetAuthenticationScheme 0.002

ExceptionMapperTest

testUnauthorizedException 0.427