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

noFile() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  3f91f79d_2a87_c677_6c0d_736a85a41c25["noFile()"]
  58d8d837_b5a1_09c5_cdb4_ff02e18c8c38["initialize()"]
  3f91f79d_2a87_c677_6c0d_736a85a41c25 -->|calls| 58d8d837_b5a1_09c5_cdb4_ff02e18c8c38
  599de821_15df_43cf_ef7e_1637f660f37b["getLineWithText()"]
  3f91f79d_2a87_c677_6c0d_736a85a41c25 -->|calls| 599de821_15df_43cf_ef7e_1637f660f37b
  13cca41d_e6d4_6c55_4166_597017d5c02e["tmpDir()"]
  3f91f79d_2a87_c677_6c0d_736a85a41c25 -->|calls| 13cca41d_e6d4_6c55_4166_597017d5c02e
  501f40c7_eea3_8197_664f_2a7d4a9c3264["beforeInitialize()"]
  3f91f79d_2a87_c677_6c0d_736a85a41c25 -->|calls| 501f40c7_eea3_8197_664f_2a7d4a9c3264
  style 3f91f79d_2a87_c677_6c0d_736a85a41c25 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

	@Test
	void noFile(CapturedOutput output) {
		this.loggingSystem.beforeInitialize();
		this.logger.info("Hidden");
		initialize(this.initializationContext, null, null);
		this.logger.info("Hello world");
		assertThat(output).contains("Hello world").doesNotContain("Hidden");
		assertThat(getLineWithText(output, "Hello world")).contains("INFO");
		assertThat(new File(tmpDir() + "/spring.log")).doesNotExist();
	}

Domain

Subdomains

Frequently Asked Questions

What does noFile() do?
noFile() is a function in the spring-boot codebase.
What does noFile() call?
noFile() calls 4 function(s): beforeInitialize, getLineWithText, initialize, tmpDir.

Analyze Your Own Codebase

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

Try Supermodel Free