Home / Class/ ManifestListTests Class — spring-boot Architecture

ManifestListTests Class — spring-boot Architecture

Architecture documentation for the ManifestListTests class in ManifestListTests.java from the spring-boot codebase.

Entity Profile

Relationship Graph

Source Code

buildpack/spring-boot-buildpack-platform/src/test/java/org/springframework/boot/buildpack/platform/docker/type/ManifestListTests.java lines 30–45

class ManifestListTests extends AbstractJsonTests {

	@Test
	void loadJsonFromDistributionManifestList() {
		String content = getContentAsString("distribution-manifest-list.json");
		ManifestList manifestList = getManifestList(content);
		assertThat(manifestList.getSchemaVersion()).isEqualTo(2);
		assertThat(manifestList.getMediaType()).isEqualTo("application/vnd.docker.distribution.manifest.list.v2+json");
		assertThat(manifestList.getManifests()).hasSize(2);
	}

	private ManifestList getManifestList(String content) {
		return new ManifestList(getJsonMapper().readTree(content));
	}

}

Domain

Analyze Your Own Codebase

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

Try Supermodel Free