totalProgress() — spring-boot Function Reference
Architecture documentation for the totalProgress() function in TotalProgressListenerTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 9a95873e_8544_b0fc_91f3_1092544886e2["totalProgress()"] 91b8c3c0_8ea0_5caf_52a3_ae828a419487["TestTotalProgressListener()"] 9a95873e_8544_b0fc_91f3_1092544886e2 -->|calls| 91b8c3c0_8ea0_5caf_52a3_ae828a419487 a9bb58ba_55a4_a87b_012d_a5c6093cb4b3["run()"] 9a95873e_8544_b0fc_91f3_1092544886e2 -->|calls| a9bb58ba_55a4_a87b_012d_a5c6093cb4b3 style 9a95873e_8544_b0fc_91f3_1092544886e2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buildpack/spring-boot-buildpack-platform/src/test/java/org/springframework/boot/buildpack/platform/docker/TotalProgressListenerTests.java lines 41–52
@Test
void totalProgress() throws Exception {
List<Integer> progress = new ArrayList<>();
TestTotalProgressListener listener = new TestTotalProgressListener((event) -> progress.add(event.getPercent()));
run(listener);
int last = 0;
for (Integer update : progress) {
assertThat(update).isGreaterThanOrEqualTo(last);
last = update;
}
assertThat(last).isEqualTo(100);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does totalProgress() do?
totalProgress() is a function in the spring-boot codebase.
What does totalProgress() call?
totalProgress() calls 2 function(s): TestTotalProgressListener, run.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free