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

disabledViaApplicationProperties() — spring-boot Function Reference

Architecture documentation for the disabledViaApplicationProperties() function in AnsiOutputApplicationListenerTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  604cb1c9_5d08_2d5a_fd15_796242505337["disabledViaApplicationProperties()"]
  16b51c89_dde4_bfa7_4c6d_cd813dd33ba3["SpringApplication()"]
  604cb1c9_5d08_2d5a_fd15_796242505337 -->|calls| 16b51c89_dde4_bfa7_4c6d_cd813dd33ba3
  9fc735d3_f2de_a77c_c1a1_abf218992bd6["setWebApplicationType()"]
  604cb1c9_5d08_2d5a_fd15_796242505337 -->|calls| 9fc735d3_f2de_a77c_c1a1_abf218992bd6
  3dc349ea_ef9e_d930_1428_447e88bfd092["get()"]
  604cb1c9_5d08_2d5a_fd15_796242505337 -->|calls| 3dc349ea_ef9e_d930_1428_447e88bfd092
  89cfa04a_3922_680e_945d_5b4338252cc7["run()"]
  604cb1c9_5d08_2d5a_fd15_796242505337 -->|calls| 89cfa04a_3922_680e_945d_5b4338252cc7
  style 604cb1c9_5d08_2d5a_fd15_796242505337 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/support/AnsiOutputApplicationListenerTests.java lines 82–89

	@Test
	@WithResource(name = "application.properties", content = "spring.output.ansi.enabled=never")
	void disabledViaApplicationProperties() {
		SpringApplication application = new SpringApplication(Config.class);
		application.setWebApplicationType(WebApplicationType.NONE);
		this.context = application.run();
		assertThat(AnsiOutputEnabledValue.get()).isEqualTo(Enabled.NEVER);
	}

Domain

Subdomains

Frequently Asked Questions

What does disabledViaApplicationProperties() do?
disabledViaApplicationProperties() is a function in the spring-boot codebase.
What does disabledViaApplicationProperties() call?
disabledViaApplicationProperties() calls 4 function(s): SpringApplication, get, run, setWebApplicationType.

Analyze Your Own Codebase

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

Try Supermodel Free