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

tomcatNopLoggingConfigDoesNotCauseAFailure() — spring-boot Function Reference

Architecture documentation for the tomcatNopLoggingConfigDoesNotCauseAFailure() function in LoggingApplicationListenerTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  559e67ac_60b4_c1d4_4c9a_74b3d749e1cf["tomcatNopLoggingConfigDoesNotCauseAFailure()"]
  e4941a37_d532_8edb_200f_24a620639c51["addPropertiesToEnvironment()"]
  559e67ac_60b4_c1d4_4c9a_74b3d749e1cf -->|calls| e4941a37_d532_8edb_200f_24a620639c51
  2708db62_8b10_9bf2_e348_171895b093f2["initialize()"]
  559e67ac_60b4_c1d4_4c9a_74b3d749e1cf -->|calls| 2708db62_8b10_9bf2_e348_171895b093f2
  a74a6404_ac0b_ef50_4554_48366dd90b97["getEnvironment()"]
  559e67ac_60b4_c1d4_4c9a_74b3d749e1cf -->|calls| a74a6404_ac0b_ef50_4554_48366dd90b97
  49a45454_f203_2fd5_2d77_322abb416244["getClassLoader()"]
  559e67ac_60b4_c1d4_4c9a_74b3d749e1cf -->|calls| 49a45454_f203_2fd5_2d77_322abb416244
  style 559e67ac_60b4_c1d4_4c9a_74b3d749e1cf fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/logging/LoggingApplicationListenerTests.java lines 216–223

	@Test
	void tomcatNopLoggingConfigDoesNotCauseAFailure() {
		addPropertiesToEnvironment(this.context, "LOGGING_CONFIG=-Dnop");
		this.listener.initialize(this.context.getEnvironment(), getClassLoader());
		this.logger.info("Hello world");
		assertThat(this.output).contains("Hello world").doesNotContain("???");
		assertThat(new File(this.tempDir.toFile(), "/spring.log")).doesNotExist();
	}

Domain

Subdomains

Frequently Asked Questions

What does tomcatNopLoggingConfigDoesNotCauseAFailure() do?
tomcatNopLoggingConfigDoesNotCauseAFailure() is a function in the spring-boot codebase.
What does tomcatNopLoggingConfigDoesNotCauseAFailure() call?
tomcatNopLoggingConfigDoesNotCauseAFailure() calls 4 function(s): addPropertiesToEnvironment, getClassLoader, getEnvironment, initialize.

Analyze Your Own Codebase

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

Try Supermodel Free