assertThatCleanedStackTraceMatches() — spring-boot Function Reference
Architecture documentation for the assertThatCleanedStackTraceMatches() function in StandardStackTracePrinterTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD fcd82e42_6ce9_8e2f_4c55_5dbec2e569e8["assertThatCleanedStackTraceMatches()"] 71e6f194_2b2f_3386_c54d_c5cad74095b8["rootLastPrintsStackTrace()"] 71e6f194_2b2f_3386_c54d_c5cad74095b8 -->|calls| fcd82e42_6ce9_8e2f_4c55_5dbec2e569e8 2145ee1f_edd1_ff25_aed2_180b61539d3b["rootLastPrintsStackTraceThatMatchesJvm()"] 2145ee1f_edd1_ff25_aed2_180b61539d3b -->|calls| fcd82e42_6ce9_8e2f_4c55_5dbec2e569e8 ffaf2338_da5e_1141_8b89_ad2c656ec98e["rootFirstPrintsStackTrace()"] ffaf2338_da5e_1141_8b89_ad2c656ec98e -->|calls| fcd82e42_6ce9_8e2f_4c55_5dbec2e569e8 494cb5c1_46f6_1241_2cae_bfac3ccf206f["withCommonFramesWhenRootLastPrintsAllFrames()"] 494cb5c1_46f6_1241_2cae_bfac3ccf206f -->|calls| fcd82e42_6ce9_8e2f_4c55_5dbec2e569e8 7887ff8a_c6d3_bb42_876f_7fbcc8e7b147["withCommonFramesWhenRootFirstPrintsAllFrames()"] 7887ff8a_c6d3_bb42_876f_7fbcc8e7b147 -->|calls| fcd82e42_6ce9_8e2f_4c55_5dbec2e569e8 174ec4d8_6b83_fafb_1719_769d06d421f1["withoutSuppressedHidesSuppressed()"] 174ec4d8_6b83_fafb_1719_769d06d421f1 -->|calls| fcd82e42_6ce9_8e2f_4c55_5dbec2e569e8 437389f3_e6fd_3436_a33d_0bba970ab6a5["withMaximumThrowableDepthFiltersElements()"] 437389f3_e6fd_3436_a33d_0bba970ab6a5 -->|calls| fcd82e42_6ce9_8e2f_4c55_5dbec2e569e8 b93bfcf2_0856_6764_3ccf_6af44df20db0["withMaximumThrowableDepthAndCommonFramesFiltersElements()"] b93bfcf2_0856_6764_3ccf_6af44df20db0 -->|calls| fcd82e42_6ce9_8e2f_4c55_5dbec2e569e8 d985ae85_6444_bff1_3f91_152ed0f5a227["withFrameFilter()"] d985ae85_6444_bff1_3f91_152ed0f5a227 -->|calls| fcd82e42_6ce9_8e2f_4c55_5dbec2e569e8 bfd898fc_30ee_dbc6_1396_154cd98f5f74["withLineSeparatorUsesLineSeparator()"] bfd898fc_30ee_dbc6_1396_154cd98f5f74 -->|calls| fcd82e42_6ce9_8e2f_4c55_5dbec2e569e8 8c25b9cd_8b89_95fa_4683_1714663b05e7["withFormatterFormatsThrowable()"] 8c25b9cd_8b89_95fa_4683_1714663b05e7 -->|calls| fcd82e42_6ce9_8e2f_4c55_5dbec2e569e8 style fcd82e42_6ce9_8e2f_4c55_5dbec2e569e8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/logging/StandardStackTracePrinterTests.java lines 386–390
private void assertThatCleanedStackTraceMatches(StandardStackTracePrinter printer, Throwable throwable,
String expected) {
String actual = printer.printStackTraceToString(throwable);
assertThat(TestException.withoutLineNumbers(actual)).isEqualToNormalizingNewlines(expected);
}
Domain
Subdomains
Called By
- rootFirstPrintsStackTrace()
- rootLastPrintsStackTrace()
- rootLastPrintsStackTraceThatMatchesJvm()
- withCommonFramesWhenRootFirstPrintsAllFrames()
- withCommonFramesWhenRootLastPrintsAllFrames()
- withFormatterFormatsThrowable()
- withFrameFilter()
- withLineSeparatorUsesLineSeparator()
- withMaximumThrowableDepthAndCommonFramesFiltersElements()
- withMaximumThrowableDepthFiltersElements()
- withoutSuppressedHidesSuppressed()
Source
Frequently Asked Questions
What does assertThatCleanedStackTraceMatches() do?
assertThatCleanedStackTraceMatches() is a function in the spring-boot codebase.
What calls assertThatCleanedStackTraceMatches()?
assertThatCleanedStackTraceMatches() is called by 11 function(s): rootFirstPrintsStackTrace, rootLastPrintsStackTrace, rootLastPrintsStackTraceThatMatchesJvm, withCommonFramesWhenRootFirstPrintsAllFrames, withCommonFramesWhenRootLastPrintsAllFrames, withFormatterFormatsThrowable, withFrameFilter, withLineSeparatorUsesLineSeparator, and 3 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free