Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
239 0 0 0 100% 75.726

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.exception.integration.servlet 1 0 0 0 100% 2.954
org.bremersee.exception 16 0 0 0 100% 0.104
org.bremersee.security.authentication.resourceserver.reactive 25 0 0 0 100% 26.202
org.bremersee.security.access 7 0 0 0 100% 0.183
org.bremersee.security.authentication 64 0 0 0 100% 2.999
org.bremersee.data.minio 1 0 0 0 100% 9.809
org.bremersee.web.reactive 8 0 0 0 100% 1.224
org.bremersee.converter 1 0 0 0 100% 0.277
org.bremersee.security.authentication.resourceserver.servlet 25 0 0 0 100% 22.339
org.bremersee.http.converter 2 0 0 0 100% 0.036
org.bremersee.web.servlet 3 0 0 0 100% 0.018
org.bremersee.exception.integration.reactive 1 0 0 0 100% 2.054
org.bremersee.thymeleaf 24 0 0 0 100% 0.213
org.bremersee.context 14 0 0 0 100% 0.121
org.bremersee.web 6 0 0 0 100% 0.022
org.bremersee.converter.integration.servlet 14 0 0 0 100% 2.313
org.bremersee.data.ldaptive 27 0 0 0 100% 4.858

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

org.bremersee.exception.integration.servlet

Class Tests Errors Failures Skipped Success Rate Time
ExceptionHandlingTest 1 0 0 0 100% 2.954

org.bremersee.exception

Class Tests Errors Failures Skipped Success Rate Time
RestApiExceptionMapperPropertiesTest 7 0 0 0 100% 0.056
RestApiExceptionParserAutoConfigurationTest 1 0 0 0 100% 0.024
RestApiExceptionMapperAutoConfigurationTest 1 0 0 0 100% 0.008
RestApiExceptionMapperImplTest 7 0 0 0 100% 0.016

org.bremersee.security.authentication.resourceserver.reactive

Class Tests Errors Failures Skipped Success Rate Time
ReactiveJwtWithRedisTest 5 0 0 0 100% 4.96
ReactiveNoneTest 3 0 0 0 100% 2.298
ReactiveJwtTest 5 0 0 0 100% 2.642
ReactiveInMemoryTest 4 0 0 0 100% 10.096
ReactiveLdaptiveTest 5 0 0 0 100% 3.565
ReactiveRedisAccessTokenCacheExceptionTest 3 0 0 0 100% 2.641

org.bremersee.security.access

Class Tests Errors Failures Skipped Success Rate Time
AccessControlAutoConfigurationTest 2 0 0 0 100% 0.154
AccessControlPropertiesTest 5 0 0 0 100% 0.029

org.bremersee.security.authentication

Class Tests Errors Failures Skipped Success Rate Time
ClientCredentialsFlowTest 3 0 0 0 100% 0.018
AccessExpressionUtilsTest 7 0 0 0 100% 0.084
ReactiveJwtSupportAutoConfigurationTest 3 0 0 0 100% 0.03
EurekaAccessPropertiesTest 7 0 0 0 100% 0.46
PasswordFlowTest 5 0 0 0 100% 0.03
PasswordFlowReactiveAuthenticationManagerTest 3 0 0 0 100% 1.388
JwtSupportAutoConfigurationTest 3 0 0 0 100% 0.215
SimpleUserTest 4 0 0 0 100% 0.015
PathMatcherPropertiesTest 8 0 0 0 100% 0.024
PasswordFlowAuthenticationManagerTest 3 0 0 0 100% 0.042
AuthPropertiesTest 18 0 0 0 100% 0.693

org.bremersee.data.minio

Class Tests Errors Failures Skipped Success Rate Time
MinioAutoConfigurationTest 1 0 0 0 100% 9.809

org.bremersee.web.reactive

Class Tests Errors Failures Skipped Success Rate Time
ApiExceptionHandlerAutoConfigurationTest 1 0 0 0 100% 0.233
BaseCommonConvertersAutoConfigurationTest 1 0 0 0 100% 0.147
CorsAutoConfigurationTest 1 0 0 0 100% 0.008
ApiExceptionHandlerTest 5 0 0 0 100% 0.836

org.bremersee.converter

Class Tests Errors Failures Skipped Success Rate Time
ModelMapperAutoConfigurationTest 1 0 0 0 100% 0.277

org.bremersee.security.authentication.resourceserver.servlet

Class Tests Errors Failures Skipped Success Rate Time
NoneTest 3 0 0 0 100% 5.394
JwtWithRedisTest 5 0 0 0 100% 4.091
RedisAccessTokenCacheExceptionTest 3 0 0 0 100% 2.985
LdaptiveTest 5 0 0 0 100% 3.438
JwtTest 5 0 0 0 100% 2.569
InMemoryTest 4 0 0 0 100% 3.862

org.bremersee.http.converter

Class Tests Errors Failures Skipped Success Rate Time
ObjectMapperHelperTest 2 0 0 0 100% 0.036

org.bremersee.web.servlet

Class Tests Errors Failures Skipped Success Rate Time
CorsAutoConfigurationTest 1 0 0 0 100% 0.001
ApiExceptionResolverAutoConfigurationTest 1 0 0 0 100% 0.014
BaseCommonConvertersAutoConfigurationTest 1 0 0 0 100% 0.003

org.bremersee.exception.integration.reactive

Class Tests Errors Failures Skipped Success Rate Time
ReactiveExceptionHandlingTest 1 0 0 0 100% 2.054

org.bremersee.thymeleaf

Class Tests Errors Failures Skipped Success Rate Time
ThymeleafResolverPropertiesTest 22 0 0 0 100% 0.085
AdditionalThymeleafPropertiesTest 1 0 0 0 100% 0.109
AdditionalThymeleafAutoConfigurationTest 1 0 0 0 100% 0.019

org.bremersee.context

Class Tests Errors Failures Skipped Success Rate Time
MessageSourceAutoConfigurationTest 2 0 0 0 100% 0.005
MessageSourcePropertiesTest 12 0 0 0 100% 0.116

org.bremersee.web

Class Tests Errors Failures Skipped Success Rate Time
UploadPropertiesTest 2 0 0 0 100% 0.018
CorsPropertiesTest 4 0 0 0 100% 0.004

org.bremersee.converter.integration.servlet

Class Tests Errors Failures Skipped Success Rate Time
ConverterIntegrationTest 14 0 0 0 100% 2.313

org.bremersee.data.ldaptive

Class Tests Errors Failures Skipped Success Rate Time
LdaptivePropertiesTest 21 0 0 0 100% 0.485
LdaptiveConnectionConfigFactoryTest 1 0 0 0 100% 0.008
LdaptiveIntegrationTest 2 0 0 0 100% 3.75
LdaptiveAutoConfigurationTest 3 0 0 0 100% 0.615

Test Cases

[Summary] [Package List] [Test Cases]

AccessControlAutoConfigurationTest

aclModelMapperConfigAdapter 0.142
aclMapper 0.008

ThymeleafResolverPropertiesTest

resolvablePatterns 0.001
cssTemplateModePatterns 0.002
resolvablePatternsOrDefault 0.006
rawTemplateModePatterns 0.006
prefix 0.001
templateMode 0
suffix 0.022
cacheable 0
forceSuffix 0.001
name 0.002
cacheTtlms 0.002
cacheablePatterns 0.001
characterEncoding 0.004
checkExistence 0.001
textTemplateModePatterns 0.001
nonCacheablePatterns 0.001
useDecoupledLogic 0.002
forceTemplateMode 0.003
xmlTemplateModePatterns 0.006
templateAliases 0.001
javaScriptTemplateModePatterns 0.002
htmlTemplateModePatterns 0.001

ClientCredentialsFlowTest

getClientId 0.01
getTokenEndpoint 0
getClientSecret 0.005

AccessExpressionUtilsTest

buildPathMatcherPropertiesAccessExpression 0.02
hasIpAddressExpr 0.001
hasAnyAuthorityExpr 0.002
buildEurekaPropertiesAccessExpression 0.011
hasAuthorityOrIpAddressExpr 0.006
hasAuthorityExpr 0.003
hasIpAddressExprOfIpAddresses 0.001

CorsAutoConfigurationTest

addCorsMappings 0.001

ReactiveJwtSupportAutoConfigurationTest

passwordFlowReactiveAuthenticationManager 0.019
jsonPathReactiveJwtConverter 0
webClientAccessTokenRetriever 0.004

RestApiExceptionMapperPropertiesTest

findExceptionMapping 0.005
getApiPaths 0.001
getDefaultExceptionMapping 0.001
getDefaultExceptionMappingConfig 0.002
findExceptionMappingConfig 0.033
getExceptionMappingConfigs 0.001
getExceptionMappings 0.001

ModelMapperAutoConfigurationTest

modelMapper 0.269

NoneTest

postProtected 0.542
getProtected 0.059
getPublic 0.119

ReactiveJwtWithRedisTest

postProtected 0.35
writeAndReadRedisValue 0.768
getProtected 0.05
getProtectedAndExpectForbidden 0.028
getPublic 0.024

ApiExceptionHandlerAutoConfigurationTest

apiExceptionHandler 0.229

ReactiveNoneTest

postProtected 0.114
getProtected 0.066
getPublic 0.059

ReactiveJwtTest

postProtected 0.093
getProtected 0.041
authenticationManagerPresent 0.004
getProtectedAndExpectForbidden 0.03
getPublic 0.017

ApiExceptionResolverAutoConfigurationTest

extendHandlerExceptionResolvers 0.006

RestApiExceptionParserAutoConfigurationTest

restApiExceptionParser 0.024

JwtWithRedisTest

postProtected 0.073
writeAndReadRedisValue 0.152
getProtected 0.031
getProtectedAndExpectForbidden 0.035
getPublic 0.027

AdditionalThymeleafPropertiesTest

getResolvers 0.104

LdaptivePropertiesTest

getPrunePeriod 0.023
isValidateOnCheckIn 0.414
getResponseTimeout 0.001
getValidatePeriod 0.002
getConnectTimeout 0.001
getAuthenticationKey 0.001
isPooled 0.001
getBindCredential 0.001
getTrustCertificates 0.001
getBindDn 0.001
getSearchValidator 0.001
getLdapUrl 0.001
getAuthenticationCertificate 0
isUseStartTls 0
isValidateOnCheckOut 0
getMinPoolSize 0.001
getBlockWaitTime 0.002
isValidatePeriodically 0.001
getMaxPoolSize 0.002
isEnabled 0.008
getIdleTime 0.002

BaseCommonConvertersAutoConfigurationTest

addFormatters 0.002

ReactiveInMemoryTest

postProtected 2.676
getProtected 0.315
getProtectedAndExpectForbidden 0.311
getPublic 0.034

RedisAccessTokenCacheExceptionTest

notNull 0.01
returnEmptyBecauseOfException 0.065
doesNotThrowAnException 0.044

LdaptiveTest

postProtected 0.256
findUserDetails 0.074
getProtected 0.145
getPublic 0.058
getProtectedAndExpectUnauthorized 0.189

ExceptionHandlingTest

exceptionWithRestTemplate 0.224

JwtTest

postProtected 0.132
getProtected 0.018
authenticationManagerPresent 0.003
getProtectedAndExpectForbidden 0.007
getPublic 0.018

UploadPropertiesTest

getTmpDir 0.008
equalsAndToString 0

BaseCommonConvertersAutoConfigurationTest

addFormatters 0.136

MessageSourceAutoConfigurationTest

messageSource 0.003
init 0.001

EurekaAccessPropertiesTest

getPassword 0.003
getRole 0.004
role 0.019
buildBasicAuthUserDetails 0.423
buildAccessExpression 0.001
getUsername 0
getIpAddresses 0

PasswordFlowTest

getSystemUsername 0.011
getClientId 0.001
getSystemPassword 0.009
getTokenEndpoint 0
getClientSecret 0.003

MessageSourcePropertiesTest

getBaseNames 0.054
isFallbackToSystemLocale 0.001
getDefaultEncoding 0.005
getDefaultLocale 0.001
getFileEncodings 0.007
isUseCodeAsDefaultMessage 0
defaultTimeZone 0.009
isUseReloadableMessageSource 0.009
isAlwaysUseMessageFormat 0.001
isConcurrentRefresh 0.001
defaultLocale 0.014
getCacheSeconds 0.001

LdaptiveConnectionConfigFactoryTest

createConnectionConfig 0.006

AdditionalThymeleafAutoConfigurationTest

registerTemplateResolver 0.012

CorsAutoConfigurationTest

addCorsMappings 0.004

InMemoryTest

postProtected 0.569
getProtected 0.124
getProtectedAndExpectForbidden 0.244
getPublic 0.038

PasswordFlowReactiveAuthenticationManagerTest

authenticateFails 1.179
authenticateWithJwtConverter 0.17
authenticate 0.024

ObjectMapperHelperTest

getXmlMapper 0.02
getJsonMapper 0.007

JwtSupportAutoConfigurationTest

passwordFlowAuthenticationManager 0.167
restTemplateAccessTokenRetriever 0.039
jsonPathJwtConverter 0.001

SimpleUserTest

getPassword 0
getName 0.001
getAuthorities 0.002
buildAuthorities 0.002

ReactiveExceptionHandlingTest

exception 0.467

CorsPropertiesTest

toStringAndEquals 0.001
allowAllConfiguration 0.001
configs 0
allowAll 0.001

PathMatcherPropertiesTest

getAccessMode 0.001
roles 0.001
accessExpression 0
getHttpMethod 0.001
httpMethod 0.002
getRoles 0
getIpAddresses 0
getAntPattern 0

AccessControlPropertiesTest

getDefaultAdminRoles 0.019
getDefaultPermissions 0.001
isReturnNull 0.003
getAdminRoles 0
isSwitchAdminAccess 0.001

MinioAutoConfigurationTest

minioOperations 1.022

LdaptiveIntegrationTest

findExistingGroups 1.299
findExistingPersons 0.213

RestApiExceptionMapperAutoConfigurationTest

restApiExceptionMapper 0.003

ConverterIntegrationTest

testGetApiPaths 0.049
testJavaLocale 0.059
testBuildWithDefaultExceptionMapping 0.008
testTimeZone 0.045
testMongo 0.016
testBuildWithDefaultExceptionMappingAndIllegalArgumentException 0.01
testThreeLetterCountry 0.026
testBuild409 0.004
testBuild500 0.006
testTwoLetterLanguage 0.018
testTwoLetterCountry 0.011
testMessageSource 0.007
testThreeLetterLanguage 0.024
testLocale 0.018

LdaptiveAutoConfigurationTest

ldaptiveTemplate 0.597
init 0.002
connectionFactory 0.007

PasswordFlowAuthenticationManagerTest

authenticateFails 0.021
supports 0.006
authenticate 0.01

ReactiveLdaptiveTest

postProtected 0.532
findUserDetails 0.086
getProtected 0.249
getPublic 0.117
getProtectedAndExpectUnauthorized 0.28

ApiExceptionHandlerTest

testRenderErrorResponseAsXml 0.579
testRenderErrorResponseAsJson 0.003
testGetRouterFunction 0
testResponsibleExceptionHandler 0
testRenderErrorResponseAsSomethingElse 0.031

RestApiExceptionMapperImplTest

testBuildWithConfiguredExceptionMapping 0.007
testGetApiPaths 0.001
testBuildWithDefaultExceptionMapping 0
testBuildWithDefaultExceptionMappingAndIllegalArgumentException 0
testBuild409 0
testBuild500 0.001
testBuildWithCause 0.002

AuthPropertiesTest

getPasswordFlow 0.001
getRoleDefinitions 0.001
getBasicAuthUsers 0.076
getRolesJsonPath 0
getResourceServerOrder 0.002
isRolesValueList 0.003
pathMatchers 0.002
getResourceServer 0.001
getAnyAccessMode 0
getIpDefinitions 0.001
ensureRolePrefix 0.001
buildBasicAuthUserDetails 0.567
getEureka 0
getClientCredentialFlow 0
getNameJsonPath 0.001
getPathMatchers 0
getRolePrefix 0.001
getRolesValueSeparator 0

ReactiveRedisAccessTokenCacheExceptionTest

notNull 0.017
returnEmptyBecauseOfException 0.394
returnAccessTokenBesidesOfAnException 0.258