Home / Function/ testDateformatPatternDefault() — spring-boot Function Reference

testDateformatPatternDefault() — spring-boot Function Reference

Architecture documentation for the testDateformatPatternDefault() function in LogbackLoggingSystemTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  b50b9b6e_9161_26b0_abb1_aa171b291fbb["testDateformatPatternDefault()"]
  1c70a669_b986_1d08_11e5_0f5b58ad7e27["LoggingInitializationContext()"]
  b50b9b6e_9161_26b0_abb1_aa171b291fbb -->|calls| 1c70a669_b986_1d08_11e5_0f5b58ad7e27
  58d8d837_b5a1_09c5_cdb4_ff02e18c8c38["initialize()"]
  b50b9b6e_9161_26b0_abb1_aa171b291fbb -->|calls| 58d8d837_b5a1_09c5_cdb4_ff02e18c8c38
  599de821_15df_43cf_ef7e_1637f660f37b["getLineWithText()"]
  b50b9b6e_9161_26b0_abb1_aa171b291fbb -->|calls| 599de821_15df_43cf_ef7e_1637f660f37b
  style b50b9b6e_9161_26b0_abb1_aa171b291fbb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/logging/logback/LogbackLoggingSystemTests.java lines 611–618

	@Test
	void testDateformatPatternDefault(CapturedOutput output) {
		LoggingInitializationContext loggingInitializationContext = new LoggingInitializationContext(this.environment);
		initialize(loggingInitializationContext, null, null);
		this.logger.info("Hello world");
		assertThat(getLineWithText(output, "Hello world"))
			.containsPattern("\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}([-+]\\d{2}:\\d{2}|Z)");
	}

Domain

Subdomains

Frequently Asked Questions

What does testDateformatPatternDefault() do?
testDateformatPatternDefault() is a function in the spring-boot codebase.
What does testDateformatPatternDefault() call?
testDateformatPatternDefault() calls 3 function(s): LoggingInitializationContext, getLineWithText, initialize.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free