testDateformatPatternPropertyDirect() — spring-boot Function Reference
Architecture documentation for the testDateformatPatternPropertyDirect() function in LogbackLoggingSystemTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD c3393e44_d1e3_cc6d_b64e_cb4319355f0c["testDateformatPatternPropertyDirect()"] 67c73d2a_3c49_cb13_cad8_ad1d094d73d9["LoggingSystemProperties()"] c3393e44_d1e3_cc6d_b64e_cb4319355f0c -->|calls| 67c73d2a_3c49_cb13_cad8_ad1d094d73d9 ce3696cf_77dd_9520_e3ee_8873df6cb400["apply()"] c3393e44_d1e3_cc6d_b64e_cb4319355f0c -->|calls| ce3696cf_77dd_9520_e3ee_8873df6cb400 1c70a669_b986_1d08_11e5_0f5b58ad7e27["LoggingInitializationContext()"] c3393e44_d1e3_cc6d_b64e_cb4319355f0c -->|calls| 1c70a669_b986_1d08_11e5_0f5b58ad7e27 58d8d837_b5a1_09c5_cdb4_ff02e18c8c38["initialize()"] c3393e44_d1e3_cc6d_b64e_cb4319355f0c -->|calls| 58d8d837_b5a1_09c5_cdb4_ff02e18c8c38 599de821_15df_43cf_ef7e_1637f660f37b["getLineWithText()"] c3393e44_d1e3_cc6d_b64e_cb4319355f0c -->|calls| 599de821_15df_43cf_ef7e_1637f660f37b style c3393e44_d1e3_cc6d_b64e_cb4319355f0c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/logging/logback/LogbackLoggingSystemTests.java lines 630–639
@Test // gh-24835
void testDateformatPatternPropertyDirect(CapturedOutput output) {
this.environment.setProperty("logging.pattern.dateformat", "yyyy");
new LoggingSystemProperties(this.environment).apply();
this.environment.setProperty("logging.pattern.dateformat", "dd-MM-yyyy");
LoggingInitializationContext loggingInitializationContext = new LoggingInitializationContext(this.environment);
initialize(loggingInitializationContext, null, null);
this.logger.info("Hello world");
assertThat(getLineWithText(output, "Hello world")).containsPattern("\\d{2}-\\d{2}-\\d{4}\\s");
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testDateformatPatternPropertyDirect() do?
testDateformatPatternPropertyDirect() is a function in the spring-boot codebase.
What does testDateformatPatternPropertyDirect() call?
testDateformatPatternPropertyDirect() calls 5 function(s): LoggingInitializationContext, LoggingSystemProperties, apply, getLineWithText, initialize.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free