testDateformatPatternProperty() — spring-boot Function Reference
Architecture documentation for the testDateformatPatternProperty() function in LogbackLoggingSystemTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD aab1a19d_4da1_431b_814a_8bcc5056a6ea["testDateformatPatternProperty()"] 67c73d2a_3c49_cb13_cad8_ad1d094d73d9["LoggingSystemProperties()"] aab1a19d_4da1_431b_814a_8bcc5056a6ea -->|calls| 67c73d2a_3c49_cb13_cad8_ad1d094d73d9 ce3696cf_77dd_9520_e3ee_8873df6cb400["apply()"] aab1a19d_4da1_431b_814a_8bcc5056a6ea -->|calls| ce3696cf_77dd_9520_e3ee_8873df6cb400 1c70a669_b986_1d08_11e5_0f5b58ad7e27["LoggingInitializationContext()"] aab1a19d_4da1_431b_814a_8bcc5056a6ea -->|calls| 1c70a669_b986_1d08_11e5_0f5b58ad7e27 58d8d837_b5a1_09c5_cdb4_ff02e18c8c38["initialize()"] aab1a19d_4da1_431b_814a_8bcc5056a6ea -->|calls| 58d8d837_b5a1_09c5_cdb4_ff02e18c8c38 599de821_15df_43cf_ef7e_1637f660f37b["getLineWithText()"] aab1a19d_4da1_431b_814a_8bcc5056a6ea -->|calls| 599de821_15df_43cf_ef7e_1637f660f37b style aab1a19d_4da1_431b_814a_8bcc5056a6ea fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/logging/logback/LogbackLoggingSystemTests.java lines 620–628
@Test
void testDateformatPatternProperty(CapturedOutput output) {
this.environment.setProperty("logging.pattern.dateformat", "dd-MM-yyyy");
new LoggingSystemProperties(this.environment).apply();
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 testDateformatPatternProperty() do?
testDateformatPatternProperty() is a function in the spring-boot codebase.
What does testDateformatPatternProperty() call?
testDateformatPatternProperty() 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