assertThatBannerModeIs() — spring-boot Function Reference
Architecture documentation for the assertThatBannerModeIs() function in SpringApplicationTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 80bbeb4f_07d3_23ea_ae4d_979a03eb9b21["assertThatBannerModeIs()"] 875af62e_cb29_dc6e_2044_c1afc594eab3["enableBannerInLogViaProperty()"] 875af62e_cb29_dc6e_2044_c1afc594eab3 -->|calls| 80bbeb4f_07d3_23ea_ae4d_979a03eb9b21 22c8339f_9a47_6f43_8ca6_2a129f57fa93["triggersConfigFileApplicationListenerBeforeBinding()"] 22c8339f_9a47_6f43_8ca6_2a129f57fa93 -->|calls| 80bbeb4f_07d3_23ea_ae4d_979a03eb9b21 499a8c0e_7c12_ca9a_ca96_0da4e43ba826["bindsSystemPropertyToSpringApplication()"] 499a8c0e_7c12_ca9a_ca96_0da4e43ba826 -->|calls| 80bbeb4f_07d3_23ea_ae4d_979a03eb9b21 fc1d44a1_708c_7354_6dc2_c5fbca97c9e0["bindsYamlStyleBannerModeToSpringApplication()"] fc1d44a1_708c_7354_6dc2_c5fbca97c9e0 -->|calls| 80bbeb4f_07d3_23ea_ae4d_979a03eb9b21 d6b5dc43_8e91_aae9_7036_e57bec2a29f3["bindsBooleanAsStringBannerModeToSpringApplication()"] d6b5dc43_8e91_aae9_7036_e57bec2a29f3 -->|calls| 80bbeb4f_07d3_23ea_ae4d_979a03eb9b21 style 80bbeb4f_07d3_23ea_ae4d_979a03eb9b21 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/SpringApplicationTests.java lines 1539–1542
private void assertThatBannerModeIs(SpringApplication application, Mode mode) {
Object properties = ReflectionTestUtils.getField(application, "properties");
assertThat(properties).hasFieldOrPropertyWithValue("bannerMode", mode);
}
Domain
Subdomains
Called By
- bindsBooleanAsStringBannerModeToSpringApplication()
- bindsSystemPropertyToSpringApplication()
- bindsYamlStyleBannerModeToSpringApplication()
- enableBannerInLogViaProperty()
- triggersConfigFileApplicationListenerBeforeBinding()
Source
Frequently Asked Questions
What does assertThatBannerModeIs() do?
assertThatBannerModeIs() is a function in the spring-boot codebase.
What calls assertThatBannerModeIs()?
assertThatBannerModeIs() is called by 5 function(s): bindsBooleanAsStringBannerModeToSpringApplication, bindsSystemPropertyToSpringApplication, bindsYamlStyleBannerModeToSpringApplication, enableBannerInLogViaProperty, triggersConfigFileApplicationListenerBeforeBinding.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free