Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
18 0 0 0 100% 2.988 s

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.bremersee.spring.security.oauth2.server.resource.authentication 2 0 0 0 100% 1.496 s
org.bremersee.spring.security.core.mapping.group 5 0 0 0 100% 0.025 s
org.bremersee.spring.security.core.mapping.authority 5 0 0 0 100% 0.154 s
org.bremersee.spring.security.core 6 0 0 0 100% 1.313 s

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

org.bremersee.spring.security.oauth2.server.resource.authentication

- Class Tests Errors Failures Skipped Success Rate Time
JsonPathJwtConverterTest 2 0 0 0 100% 1.496 s

org.bremersee.spring.security.core.mapping.group

- Class Tests Errors Failures Skipped Success Rate Time
NormalizedGroupsMapperTest 5 0 0 0 100% 0.025 s

org.bremersee.spring.security.core.mapping.authority

- Class Tests Errors Failures Skipped Success Rate Time
NormalizedGrantedAuthoritiesMapperTest 5 0 0 0 100% 0.154 s

org.bremersee.spring.security.core

- Class Tests Errors Failures Skipped Success Rate Time
NormalizedUsernamePasswordAuthenticationTokenTest 4 0 0 0 100% 0.022 s
EmailToUsernameResolverTest 2 0 0 0 100% 1.291 s

Test Cases

[Summary] [Package List] [Test Cases]

NormalizedUsernamePasswordAuthenticationTokenTest

unauthenticated 0.011 s
getPrincipal 0.004 s
getGroups 0.001 s
authenticated 0 s

EmailToUsernameResolverTest

isNotValidEmail 0.180 s
isValidEmail 0.006 s

JsonPathJwtConverterTest

convertWithScopes(SoftAssertions) 1.485 s
convertWithRoles(SoftAssertions) 0.005 s

NormalizedGrantedAuthoritiesMapperTest

getDefaultPrefix 0.016 s
createTarget 0.008 s
mapAuthorities(String)[1] 0.031 s
mapAuthorities(String)[2] 0.002 s
getStringValue 0.002 s

NormalizedGroupsMapperTest

getDefaultPrefix 0.002 s
mapGroups(String)[1] 0.006 s
mapGroups(String)[2] 0.002 s
createTarget 0.001 s
getStringValue 0.001 s