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

shouldNotContainAnsiEscapeCodes() — spring-boot Function Reference

Architecture documentation for the shouldNotContainAnsiEscapeCodes() function in JavaLoggingSystemTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  a1919739_0472_a0bb_80a9_3b0b6120ad7e["shouldNotContainAnsiEscapeCodes()"]
  bffa5cc2_2336_d219_9e81_a81a831f09b1["initialize()"]
  a1919739_0472_a0bb_80a9_3b0b6120ad7e -->|calls| bffa5cc2_2336_d219_9e81_a81a831f09b1
  7717cdc8_e256_829d_da23_be6602ac541c["getInitializationContext()"]
  a1919739_0472_a0bb_80a9_3b0b6120ad7e -->|calls| 7717cdc8_e256_829d_da23_be6602ac541c
  501f40c7_eea3_8197_664f_2a7d4a9c3264["beforeInitialize()"]
  a1919739_0472_a0bb_80a9_3b0b6120ad7e -->|calls| 501f40c7_eea3_8197_664f_2a7d4a9c3264
  style a1919739_0472_a0bb_80a9_3b0b6120ad7e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/logging/java/JavaLoggingSystemTests.java lines 194–200

	@Test
	void shouldNotContainAnsiEscapeCodes(CapturedOutput output) {
		this.loggingSystem.beforeInitialize();
		this.loggingSystem.initialize(getInitializationContext(), null, null);
		this.logger.info("Hello world");
		assertThat(output).doesNotContain("\033[");
	}

Domain

Subdomains

Frequently Asked Questions

What does shouldNotContainAnsiEscapeCodes() do?
shouldNotContainAnsiEscapeCodes() is a function in the spring-boot codebase.
What does shouldNotContainAnsiEscapeCodes() call?
shouldNotContainAnsiEscapeCodes() calls 3 function(s): beforeInitialize, getInitializationContext, initialize.

Analyze Your Own Codebase

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

Try Supermodel Free