assertExpectedConfig() — spring-boot Function Reference
Architecture documentation for the assertExpectedConfig() function in ImageArchiveTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD b7a265f4_665d_7fce_d822_bfe451ea6f05["assertExpectedConfig()"] 9541cc43_9c05_14f6_ef31_3ea500808315["fromImageWritesToValidArchiveTar()"] 9541cc43_9c05_14f6_ef31_3ea500808315 -->|calls| b7a265f4_665d_7fce_d822_bfe451ea6f05 d418b23d_753d_7479_2803_95836fe0b005["getContent()"] b7a265f4_665d_7fce_d822_bfe451ea6f05 -->|calls| d418b23d_753d_7479_2803_95836fe0b005 style b7a265f4_665d_7fce_d822_bfe451ea6f05 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/ImageArchiveTests.java lines 80–85
private void assertExpectedConfig(TarArchiveEntry entry, byte[] content) throws Exception {
assertThat(entry.getName()).isEqualTo("416c76dc7f691f91e80516ff039e056f32f996b59af4b1cb8114e6ae8171a374.json");
String actualJson = new String(content, StandardCharsets.UTF_8);
String expectedJson = StreamUtils.copyToString(getContent("image-archive-config.json"), StandardCharsets.UTF_8);
JSONAssert.assertEquals(expectedJson, actualJson, false);
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does assertExpectedConfig() do?
assertExpectedConfig() is a function in the spring-boot codebase.
What does assertExpectedConfig() call?
assertExpectedConfig() calls 1 function(s): getContent.
What calls assertExpectedConfig()?
assertExpectedConfig() is called by 1 function(s): fromImageWritesToValidArchiveTar.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free