testSpringBootConfigLocation() — spring-boot Function Reference
Architecture documentation for the testSpringBootConfigLocation() function in Log4J2LoggingSystemTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 88e4b491_204a_20d7_6c31_4d906e88e2b3["testSpringBootConfigLocation()"] bffa5cc2_2336_d219_9e81_a81a831f09b1["initialize()"] 88e4b491_204a_20d7_6c31_4d906e88e2b3 -->|calls| bffa5cc2_2336_d219_9e81_a81a831f09b1 501f40c7_eea3_8197_664f_2a7d4a9c3264["beforeInitialize()"] 88e4b491_204a_20d7_6c31_4d906e88e2b3 -->|calls| 501f40c7_eea3_8197_664f_2a7d4a9c3264 5442b6c9_c948_65c9_3b32_df1993add6a2["getName()"] 88e4b491_204a_20d7_6c31_4d906e88e2b3 -->|calls| 5442b6c9_c948_65c9_3b32_df1993add6a2 style 88e4b491_204a_20d7_6c31_4d906e88e2b3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/logging/log4j2/Log4J2LoggingSystemTests.java lines 167–176
@Test
@WithSpringXmlResource
void testSpringBootConfigLocation() {
this.loggingSystem.disableSelfInitialization();
this.loggingSystem.beforeInitialize();
this.loggingSystem.initialize(this.initializationContext, null, null);
Configuration configuration = this.loggingSystem.getConfiguration();
assertThat(configuration.getName()).isEqualTo("SpringBoot");
assertThat(configuration.getConfigurationSource().getLocation()).endsWith("log4j2-test-spring.xml");
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testSpringBootConfigLocation() do?
testSpringBootConfigLocation() is a function in the spring-boot codebase.
What does testSpringBootConfigLocation() call?
testSpringBootConfigLocation() calls 3 function(s): beforeInitialize, getName, initialize.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free