pushWithErrorInStreamThrowsException() — spring-boot Function Reference
Architecture documentation for the pushWithErrorInStreamThrowsException() function in DockerApiTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 35782b17_f7f8_a877_36b7_b349bf6d107d["pushWithErrorInStreamThrowsException()"] ffedf588_7c32_be87_49b5_6f0bec311aa1["http()"] 35782b17_f7f8_a877_36b7_b349bf6d107d -->|calls| ffedf588_7c32_be87_49b5_6f0bec311aa1 88e4c755_21cd_03d2_7b78_c0a678363843["responseOf()"] 35782b17_f7f8_a877_36b7_b349bf6d107d -->|calls| 88e4c755_21cd_03d2_7b78_c0a678363843 style 35782b17_f7f8_a877_36b7_b349bf6d107d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buildpack/spring-boot-buildpack-platform/src/test/java/org/springframework/boot/buildpack/platform/docker/DockerApiTests.java lines 345–353
@Test
void pushWithErrorInStreamThrowsException() throws Exception {
ImageReference reference = ImageReference.of("localhost:5000/ubuntu");
URI pushUri = new URI(IMAGES_URL + "/localhost:5000/ubuntu/push");
given(http().post(pushUri, "auth token")).willReturn(responseOf("push-stream-with-error.json"));
assertThatIllegalStateException()
.isThrownBy(() -> this.api.push(reference, this.pushListener, "auth token"))
.withMessageContaining("test message");
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does pushWithErrorInStreamThrowsException() do?
pushWithErrorInStreamThrowsException() is a function in the spring-boot codebase.
What does pushWithErrorInStreamThrowsException() call?
pushWithErrorInStreamThrowsException() calls 2 function(s): http, responseOf.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free