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

conditionReportWhenDoesNotMatch() — spring-boot Function Reference

Architecture documentation for the conditionReportWhenDoesNotMatch() function in ConditionalOnBooleanPropertyTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  6e3ca841_112a_9da7_f8c1_a20ecb4d2e6a["conditionReportWhenDoesNotMatch()"]
  bdbaeb8a_5326_2c5d_9dd5_b161413d3b29["load()"]
  6e3ca841_112a_9da7_f8c1_a20ecb4d2e6a -->|calls| bdbaeb8a_5326_2c5d_9dd5_b161413d3b29
  81ad36ab_2706_3651_bf7b_2adeb109bfbc["containsBean()"]
  6e3ca841_112a_9da7_f8c1_a20ecb4d2e6a -->|calls| 81ad36ab_2706_3651_bf7b_2adeb109bfbc
  3c0b05ec_c93b_5e73_e6fa_0c1a67a3f298["getConditionEvaluationReport()"]
  6e3ca841_112a_9da7_f8c1_a20ecb4d2e6a -->|calls| 3c0b05ec_c93b_5e73_e6fa_0c1a67a3f298
  style 6e3ca841_112a_9da7_f8c1_a20ecb4d2e6a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/condition/ConditionalOnBooleanPropertyTests.java lines 174–180

	@Test
	void conditionReportWhenDoesNotMatch() {
		load(Defaults.class, "test=false");
		assertThat(containsBean()).isFalse();
		assertThat(getConditionEvaluationReport())
			.contains("@ConditionalOnBooleanProperty (test=true) found different value in property 'test'");
	}

Domain

Subdomains

Frequently Asked Questions

What does conditionReportWhenDoesNotMatch() do?
conditionReportWhenDoesNotMatch() is a function in the spring-boot codebase.
What does conditionReportWhenDoesNotMatch() call?
conditionReportWhenDoesNotMatch() calls 3 function(s): containsBean, getConditionEvaluationReport, load.

Analyze Your Own Codebase

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

Try Supermodel Free