Home / Function/ readValueWhenFullDeserializesJson() — spring-boot Function Reference

readValueWhenFullDeserializesJson() — spring-boot Function Reference

Architecture documentation for the readValueWhenFullDeserializesJson() function in PullUpdateEventTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  99630402_0a9f_a312_214f_93fb56d99bd9["readValueWhenFullDeserializesJson()"]
  77c004fc_6c07_e754_40f2_1a6110f6e2de["getJsonMapper()"]
  99630402_0a9f_a312_214f_93fb56d99bd9 -->|calls| 77c004fc_6c07_e754_40f2_1a6110f6e2de
  d418b23d_753d_7479_2803_95836fe0b005["getContent()"]
  99630402_0a9f_a312_214f_93fb56d99bd9 -->|calls| d418b23d_753d_7479_2803_95836fe0b005
  style 99630402_0a9f_a312_214f_93fb56d99bd9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buildpack/spring-boot-buildpack-platform/src/test/java/org/springframework/boot/buildpack/platform/docker/PullUpdateEventTests.java lines 33–44

	@Test
	@SuppressWarnings("removal")
	void readValueWhenFullDeserializesJson() throws Exception {
		PullImageUpdateEvent event = getJsonMapper().readValue(getContent("pull-update-full.json"),
				PullImageUpdateEvent.class);
		assertThat(event.getId()).isEqualTo("4f4fb700ef54");
		assertThat(event.getStatus()).isEqualTo("Extracting");
		ProgressDetail progressDetail = event.getProgressDetail();
		assertThat(progressDetail).isNotNull();
		assertThat(progressDetail.asPercentage()).isEqualTo(50);
		assertThat(event.getProgress()).isEqualTo("[==================================================>]      32B/32B");
	}

Domain

Subdomains

Frequently Asked Questions

What does readValueWhenFullDeserializesJson() do?
readValueWhenFullDeserializesJson() is a function in the spring-boot codebase.
What does readValueWhenFullDeserializesJson() call?
readValueWhenFullDeserializesJson() calls 2 function(s): getContent, getJsonMapper.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free