Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
33 0 0 0 100% 8.781 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.exception 33 0 0 0 100% 8.781 s

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

org.bremersee.exception

- Class Tests Errors Failures Skipped Success Rate Time
RestApiExceptionParserTest 1 0 0 0 100% 0.056 s
RestApiExceptionMapperPropertiesTest 6 0 0 0 100% 4.023 s
RestApiResponseErrorHandlerTest 3 0 0 0 100% 1.561 s
RestApiExceptionParserImplTest 6 0 0 0 100% 1.638 s
RestApiExceptionMapperForWebTest 9 0 0 0 100% 1.085 s
RestApiResponseTypeTest 8 0 0 0 100% 0.418 s

Test Cases

[Summary] [Package List] [Test Cases]

RestApiExceptionParserTest

parseException(SoftAssertions) 0.051 s

RestApiExceptionMapperPropertiesTest

findExceptionMapping(SoftAssertions) 2.202 s
getDefaultExceptionMapping(SoftAssertions) 1.212 s
getDefaultExceptionMappingConfig(SoftAssertions) 0.248 s
findExceptionMappingConfig(SoftAssertions) 0.254 s
getExceptionMappingConfigs 0.025 s
getExceptionMappings 0.002 s

RestApiResponseErrorHandlerTest

defaultConstructor 1.190 s
hasError(SoftAssertions) 0.272 s
handleError 0.064 s

RestApiExceptionParserImplTest

parseErrorTimestamp(SoftAssertions) 0.276 s
getContentTypeCharset(SoftAssertions) 0.005 s
getDefaultCharset 0.002 s
parseException(SoftAssertions) 0.302 s
getObjectMapper(SoftAssertions) 0.222 s
getRestApiExceptionFromHeaders(SoftAssertions) 0.003 s

RestApiExceptionMapperForWebTest

fromStatus 0.006 s
buildWithRestApiResponseException(SoftAssertions) 1.000 s
buildWithConfiguredRuntimeException(SoftAssertions) 0.013 s
buildWithServiceExceptionAndCause(SoftAssertions) 0.021 s
buildWithRuntimeExceptionAndMethodAnnotation(SoftAssertions) 0.007 s
detectHttpStatus 0.002 s
buildWithRuntimeExceptionAndClassAnnotation(SoftAssertions) 0.007 s
buildWithAnnotatedRuntimeException(SoftAssertions) 0.007 s
getError(SoftAssertions) 0.004 s

RestApiResponseTypeTest

detectXmlByContentType(SoftAssertions) 0.361 s
detectHeaderByAccepted(SoftAssertions) 0.004 s
getContentType(SoftAssertions) 0.002 s
detectJsonByAccepted(SoftAssertions) 0.025 s
detectJsonByContentType(SoftAssertions) 0.002 s
detectHeaderByContentType(SoftAssertions) 0.001 s
detectXmlByAccepted(SoftAssertions) 0.003 s
getContentTypeValue(SoftAssertions) 0.002 s