getLayersReturnsLayers() — spring-boot Function Reference
Architecture documentation for the getLayersReturnsLayers() function in ImageArchiveManifestTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 008aaee1_a31a_37fe_4a56_a2534411e2d5["getLayersReturnsLayers()"] dd8ce24d_ae54_bc94_c431_a08f0e2df55a["getContentAsString()"] 008aaee1_a31a_37fe_4a56_a2534411e2d5 -->|calls| dd8ce24d_ae54_bc94_c431_a08f0e2df55a ebfbaee9_178b_8623_50b9_5c0c657e8ef5["getManifest()"] 008aaee1_a31a_37fe_4a56_a2534411e2d5 -->|calls| ebfbaee9_178b_8623_50b9_5c0c657e8ef5 style 008aaee1_a31a_37fe_4a56_a2534411e2d5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buildpack/spring-boot-buildpack-platform/src/test/java/org/springframework/boot/buildpack/platform/docker/type/ImageArchiveManifestTests.java lines 36–48
@Test
void getLayersReturnsLayers() {
String content = getContentAsString("image-archive-manifest.json");
ImageArchiveManifest manifest = getManifest(content);
List<String> expectedLayers = new ArrayList<>();
for (int blankLayersCount = 0; blankLayersCount < 46; blankLayersCount++) {
expectedLayers.add("blank_" + blankLayersCount);
}
expectedLayers.add("bb09e17fd1bd2ee47155f1349645fcd9fff31e1247c7ed99cad469f1c16a4216.tar");
assertThat(manifest.getEntries()).hasSize(1);
assertThat(manifest.getEntries().get(0).getLayers()).hasSize(47);
assertThat(manifest.getEntries().get(0).getLayers()).isEqualTo(expectedLayers);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does getLayersReturnsLayers() do?
getLayersReturnsLayers() is a function in the spring-boot codebase.
What does getLayersReturnsLayers() call?
getLayersReturnsLayers() calls 2 function(s): getContentAsString, getManifest.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free