ConfigServerConfigDataLoaderTests

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total2,653 of 2,6530%10 of 100%79794684687474
testProfileSpecificPropertySources()2740%n/a11444411
filterPropertySourcesWithDocuments()1420%n/a11232311
setupConfigServerConfigDataLoader(List, String, String[])1410%40%33242411
testProfileSpecificPropertySourcesWithDefaultProfile()1280%n/a11202011
nonProfileSpecific()1110%n/a11171711
init()1030%n/a11181811
mockRequestResponse(ClientHttpRequestFactory, String, HttpStatus, MediaType)1010%20%22151511
shouldUseMultipleURIs()900%n/a11181811
useDiscoveryUriIfEnabled()890%n/a11171711
shouldNotUseNextUriWhenOneIsSuccessful()830%n/a11161611
customMediaType()810%n/a11111111
sunnyDayWithoutLabel()780%n/a11101011
assertNextUriIsNotTried(boolean, ConfigClientProperties.MultipleUriStrategy, HttpStatus, Class)760%20%22181811
assertNextUriIsTried(ConfigClientProperties.MultipleUriStrategy, HttpStatus)720%n/a11141411
shouldUseNextUriFor_NoExceptionNotOK_And_CONNECTION_TIMEOUT_ONLY_Strategy_FailFastIsFalse()710%n/a11141411
assertNextUriIsTriedOnTimeout(ConfigClientProperties.MultipleUriStrategy)710%n/a11141411
returnPropertySourcesThatAreProfileSpecific()700%n/a11101011
mockRequestTimedOut(ClientHttpRequestFactory, String)680%20%229911
mockUnreadableResponseFromFirstUri(ConfigClientProperties.MultipleUriStrategy)590%n/a11111111
failFastWhenBothPasswordAndAuthorizationPropertiesSet()480%n/a11101011
sunnyDayWithLabelThatContainsASlash()460%n/a117711
interceptorShouldAddHeadersWhenHeadersPropertySet()450%n/a119911
sunnyDayWithLabel()440%n/a116611
filterPropertySourcesThatAreNotProfileSpecific()420%n/a115511
failFastWhenNotFound()400%n/a11101011
failFast()380%n/a11101011
mockRequestResponseWithLabel(ResponseEntity, String)350%n/a114411
mockRequestTimedOut()340%n/a114411
mockRequestResponseWithoutLabel(ResponseEntity)300%n/a114411
shouldAddAuthorizationHeaderWhenAuthorizationSet()280%n/a116611
shouldThrowExceptionWhenPasswordAndAuthorizationBothSet()270%n/a118811
shouldAddAuthorizationHeaderWhenPasswordSet()230%n/a116611
failFastWhenRequestTimesOut()170%n/a117711
shouldUseNextUriFor_UnreadableResponse_And_ALWAYS_Strategy()140%n/a113311
shouldThrowExceptionWhenNegativeReadTimeoutSet()130%n/a114411
shouldThrowExceptionWhenNegativeConnectTimeoutSet()130%n/a114411
shouldNotUseNextUriFor_UnreadableResponse_And_CONNECTION_TIMEOUT_ONLY_Strategy()120%n/a115511
lambda$assertNextUriIsNotTried$15()90%n/a111111
lambda$shouldNotUseNextUriFor_UnreadableResponse_And_CONNECTION_TIMEOUT_ONLY_Strategy$8()90%n/a111111
lambda$shouldThrowExceptionWhenPasswordAndAuthorizationBothSet$5(HttpHeaders, String, String)90%n/a111111
lambda$failFastWhenBothPasswordAndAuthorizationPropertiesSet$4()90%n/a111111
lambda$failFastWhenRequestTimesOut$3()90%n/a111111
lambda$failFastWhenNotFound$2()90%n/a111111
lambda$failFast$1()90%n/a111111
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$shouldThrowExceptionWhenNegativeConnectTimeoutSet$7()70%n/a111111
lambda$shouldThrowExceptionWhenNegativeReadTimeoutSet$6()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
lambda$setupConfigServerConfigDataLoader$13(Supplier)40%n/a111111
static {...}40%n/a111111
ConfigServerConfigDataLoaderTests()30%n/a111111
lambda$mockUnreadableResponseFromFirstUri$18(Supplier)0%n/a111111
lambda$assertNextUriIsTriedOnTimeout$17(Supplier)0%n/a111111
lambda$assertNextUriIsTried$16(Supplier)0%n/a111111
lambda$assertNextUriIsNotTried$14(Supplier)0%n/a111111
lambda$useDiscoveryUriIfEnabled$12(Supplier)0%n/a111111
lambda$shouldUseMultipleURIs$11(Supplier)0%n/a111111
lambda$shouldNotUseNextUriWhenOneIsSuccessful$10(Supplier)0%n/a111111
lambda$shouldUseNextUriFor_NoExceptionNotOK_And_CONNECTION_TIMEOUT_ONLY_Strategy_FailFastIsFalse$9(Supplier)0%n/a111111
lambda$init$0(Supplier)0%n/a111111