Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
42 0 0 0 100% 3.539 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.096 s
org.bremersee.spring.security.core.mapping.group 5 0 0 0 100% 0.013 s
org.bremersee.spring.security.core.mapping.authority 5 0 0 0 100% 0.080 s
org.bremersee.spring.security.core 30 0 0 0 100% 2.350 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.096 s

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

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

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

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

org.bremersee.spring.security.core

- Class Tests Errors Failures Skipped Success Rate Time
NormalizedAuthenticationTest 9 0 0 0 100% 0.337 s
NormalizedUsernamePasswordAuthenticationTokenTest 4 0 0 0 100% 0.008 s
ReactiveAuthenticationTemplateTest 9 0 0 0 100% 1.677 s
AuthenticationTemplateTest 7 0 0 0 100% 0.316 s
NormalizedUserDetailsTest 1 0 0 0 100% 0.012 s

Test Cases

[Summary] [Package List] [Test Cases]

NormalizedAuthenticationTest

hasAnyGrantedAuthorityWithList 0.301 s
getGrantedAuthorityNames 0.017 s
getGroups 0.002 s
isInAnyGroupWithList 0.002 s
getGroupNames 0.002 s
isInGroup 0.002 s
isInAnyGroup 0.003 s
hasGrantedAuthority 0.001 s
hasAnyGrantedAuthority 0.001 s

NormalizedUsernamePasswordAuthenticationTokenTest

unauthenticated 0.004 s
getPrincipal 0.002 s
getGroups 0.001 s
authenticated 0.001 s

ReactiveAuthenticationTemplateTest

oneWithAuthentication 0.930 s
oneWithOptionalAuthenticationButAuthenticationIsAbsence 0.007 s
oneWithOptionalAuthentication 0.004 s
oneWithAuthenticationButAuthenticationIsAbsence 0.005 s
manyWithOptionalAuthenticationButAuthenticationIsAbsence 0.010 s
manyWithAuthenticationButAuthenticationIsAbsence 0.004 s
getAuthentication 0.004 s
manyWithOptionalAuthentication 0.005 s
manyWithAuthentication 0.005 s

AuthenticationTemplateTest

doWithOptionalAuthentication 0.212 s
doWithAuthenticationButAuthenticationIsAbsence 0.011 s
responseWithOptionalAuthentication 0.044 s
getAuthentication 0.002 s
responseWithAuthentication 0.001 s
doWithAuthentication 0.001 s
doWithOptionalAuthenticationButAuthenticationIsAbsence 0.002 s

JsonPathJwtConverterTest

convertWithScopes(SoftAssertions) 1.090 s
convertWithRoles(SoftAssertions) 0.003 s

NormalizedGrantedAuthoritiesMapperTest

getDefaultPrefix 0.002 s
createTarget 0.001 s
mapAuthorities(String)[1] 0.013 s
mapAuthorities(String)[2] 0.001 s
getStringValue 0.001 s

NormalizedUserDetailsTest

empty 0.010 s

NormalizedGroupsMapperTest

getDefaultPrefix 0.001 s
mapGroups(String)[1] 0.003 s
mapGroups(String)[2] 0.001 s
createTarget 0.001 s
getStringValue 0 s