ConfigServicePropertySourceLocatorTests

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,936 of 1,9360%8 of 80%67674124126363
shouldPreserveOrder()1430%n/a11292911
customMediaType()900%n/a11141411
shouldUseMultipleURIs()860%n/a11191911
mockRequestResponse(ClientHttpRequestFactory, String, HttpStatus, MediaType)830%20%22171711
shouldNotUseNextUriWhenOneIsSuccessful()790%n/a11171711
sunnyDay()780%n/a11111111
shouldUseNextUriFor_NoExceptionNotOK_And_CONNECTION_TIMEOUT_ONLY_Strategy_FailFastIsFalse()690%n/a11151511
assertNextUriIsTried(ConfigClientProperties.MultipleUriStrategy, HttpStatus)680%n/a11151511
assertNextUriIsTriedOnTimeout(ConfigClientProperties.MultipleUriStrategy)670%n/a11151511
lambda$assertNextUriIsNotTried$9(boolean, ConfigClientProperties.MultipleUriStrategy, HttpStatus)660%n/a11151511
overrideProfile()580%n/a118811
mockUnreadableResponseFromFirstUri(ConfigClientProperties.MultipleUriStrategy)570%n/a11121211
lambda$failFastWhenBothPasswordAndAuthorizationPropertiesSet$4()540%n/a11121211
mockRequestTimedOut(ClientHttpRequestFactory, String)500%20%22111111
checkInterceptorHasNoAuthorizationHeaderPresent()470%20%22111111
lambda$sunnyDayWithNoSuchLabelAndFailFast$0()460%n/a118811
interceptorShouldAddHeadersWhenHeadersPropertySet()450%n/a119911
sunnyDayWithLabel()430%n/a116611
sunnyDayWithLabelThatContainsASlash()430%n/a116611
lambda$failFastWhenNotFound$2()400%n/a119911
lambda$failFast$1()400%n/a119911
mockRequestResponseWithLabel(ResponseEntity, String)350%n/a115511
shouldAddAuthorizationHeaderWhenAuthorizationSet()340%n/a118811
mockRequestResponseWithProfile(ResponseEntity, String)310%n/a114411
mockRequestResponseWithoutLabel(ResponseEntity)300%n/a115511
mockRequestTimedOut()300%n/a115511
lambda$failFastWhenRequestTimesOut$3()290%n/a117711
shouldAddAuthorizationHeaderWhenPasswordSet()280%n/a117711
lambda$shouldThrowExceptionWhenPasswordAndAuthorizationBothSet$5()280%n/a117711
ConfigServicePropertySourceLocatorTests()230%n/a114411
sunnyDayWithNoSuchLabel()220%n/a114411
assertNextUriIsNotTried(boolean, ConfigClientProperties.MultipleUriStrategy, HttpStatus, Class)220%20%225511
failsQuietly()200%n/a114411
originValue(String, String)160%n/a114411
shouldNotUseNextUriFor_UnreadableResponse_And_CONNECTION_TIMEOUT_ONLY_Strategy()150%n/a116611
lambda$shouldThrowExceptionWhenNegativeConnectTimeoutSet$7()150%n/a114411
lambda$shouldThrowExceptionWhenNegativeReadTimeoutSet$6()150%n/a114411
failFast()120%n/a115511
shouldUseNextUriFor_UnreadableResponse_And_ALWAYS_Strategy()120%n/a113311
sunnyDayWithNoSuchLabelAndFailFast()100%n/a114411
failFastWhenNotFound()100%n/a114411
failFastWhenRequestTimesOut()100%n/a113311
failFastWhenBothPasswordAndAuthorizationPropertiesSet()100%n/a114411
shouldThrowExceptionWhenPasswordAndAuthorizationBothSet()100%n/a114411
shouldThrowExceptionWhenNegativeReadTimeoutSet()100%n/a113311
shouldThrowExceptionWhenNegativeConnectTimeoutSet()100%n/a113311
factory(ConfigClientProperties)80%n/a111111
shouldUseNextUriFor_NoExceptionNotOK_And_CONNECTION_TIMEOUT_ONLY_Strategy_WithFailFastIsTrue()70%n/a112211
assertNextUriIsNotTried(ConfigClientProperties.MultipleUriStrategy, HttpStatus, Class)70%n/a112211
mockRequestResponse(ClientHttpRequestFactory, String, HttpStatus)70%n/a112211
lambda$shouldNotUseNextUriFor_UnreadableResponse_And_CONNECTION_TIMEOUT_ONLY_Strategy$8()70%n/a111111
assertNextUriIsNotTriedForClientError(ConfigClientProperties.MultipleUriStrategy, HttpStatus)60%n/a112211
assertNextUriIsNotTriedForNotFoundError(ConfigClientProperties.MultipleUriStrategy, HttpStatus)60%n/a112211
assertNextUriIsNotTriedForServerError(ConfigClientProperties.MultipleUriStrategy, HttpStatus)60%n/a112211
shouldNotUseNextUriFor_400_And_CONNECTION_TIMEOUT_ONLY_Strategy()50%n/a112211
shouldUseNextUriFor_400_And_ALWAYS_Strategy()50%n/a112211
shouldNotUseNextUriFor_404_And_CONNECTION_TIMEOUT_ONLY_Strategy()50%n/a112211
shouldUseNextUriFor_404_And_ALWAYS_Strategy()50%n/a112211
shouldNotUseNextUriFor_500_And_CONNECTION_TIMEOUT_ONLY_Strategy()50%n/a112211
shouldUseNextUriFor_500_And_ALWAYS_Strategy()50%n/a112211
shouldUseNextUriFor_NoExceptionNotOK_And_ALWAYS_Strategy()50%n/a112211
shouldUseNextUriFor_TimeOut_And_ALWAYS_Strategy()40%n/a112211
shouldUseNextUriFor_TimeOut_And_CONNECTION_TIMEOUT_ONLY_Strategy()40%n/a112211