assertExtractedLayers() — spring-boot Function Reference
Architecture documentation for the assertExtractedLayers() function in AbstractBootArchiveIntegrationTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD f135ea13_1496_d12c_baa5_7d8c5094e579["assertExtractedLayers()"] 1480e02e_7f37_b733_2059_24a17cfcd2ae["implicitLayers()"] 1480e02e_7f37_b733_2059_24a17cfcd2ae -->|calls| f135ea13_1496_d12c_baa5_7d8c5094e579 ac7f2c84_3074_d9f3_cf2a_3c3718897639["multiModuleImplicitLayers()"] ac7f2c84_3074_d9f3_cf2a_3c3718897639 -->|calls| f135ea13_1496_d12c_baa5_7d8c5094e579 65ec8caa_353b_1f02_52f6_cd4484a86a76["customLayers()"] 65ec8caa_353b_1f02_52f6_cd4484a86a76 -->|calls| f135ea13_1496_d12c_baa5_7d8c5094e579 bfc328c2_9a96_d1f1_d259_8f62ad8057fe["multiModuleCustomLayers()"] bfc328c2_9a96_d1f1_d259_8f62ad8057fe -->|calls| f135ea13_1496_d12c_baa5_7d8c5094e579 dfc1b4f2_ef4e_831c_7d8b_ef04150e6eab["readExtractedLayers()"] f135ea13_1496_d12c_baa5_7d8c5094e579 -->|calls| dfc1b4f2_ef4e_831c_7d8b_ef04150e6eab 63245716_b5fb_1a63_7f6f_f1b22ec08b74["isInIndex()"] f135ea13_1496_d12c_baa5_7d8c5094e579 -->|calls| 63245716_b5fb_1a63_7f6f_f1b22ec08b74 style f135ea13_1496_d12c_baa5_7d8c5094e579 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
build-plugin/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/tasks/bundling/AbstractBootArchiveIntegrationTests.java lines 774–789
private void assertExtractedLayers(List<String> layerNames, Map<String, List<String>> indexedLayers)
throws IOException {
Map<String, List<String>> extractedLayers = readExtractedLayers(this.gradleBuild.getProjectDir(), layerNames);
assertThat(extractedLayers.keySet()).isEqualTo(indexedLayers.keySet());
extractedLayers.forEach((name, contents) -> {
List<String> index = indexedLayers.get(name);
assertThat(index).isNotNull();
List<String> unexpected = new ArrayList<>();
for (String file : contents) {
if (!isInIndex(index, file)) {
unexpected.add(name);
}
}
assertThat(unexpected).isEmpty();
});
}
Domain
Subdomains
Calls
- isInIndex()
- readExtractedLayers()
Source
Frequently Asked Questions
What does assertExtractedLayers() do?
assertExtractedLayers() is a function in the spring-boot codebase.
What does assertExtractedLayers() call?
assertExtractedLayers() calls 2 function(s): isInIndex, readExtractedLayers.
What calls assertExtractedLayers()?
assertExtractedLayers() is called by 4 function(s): customLayers, implicitLayers, multiModuleCustomLayers, multiModuleImplicitLayers.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free