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

assertCommonParts() — spring-boot Function Reference

Architecture documentation for the assertCommonParts() function in InvalidConfigurationPropertyValueFailureAnalyzerTests.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 2 called by 2

Entity Profile

Dependency Diagram

graph TD
  e95240b7_eaac_7e35_9b33_3b328bfdd0bb["assertCommonParts()"]
  48837bde_d1c5_b5c8_612c_2fc00539c2fa["analysisWithKnownProperty()"]
  48837bde_d1c5_b5c8_612c_2fc00539c2fa -->|calls| e95240b7_eaac_7e35_9b33_3b328bfdd0bb
  ddb4ccc2_4e15_199b_e57f_94e38e24cb66["analysisWithKnownPropertyAndOtherCandidates()"]
  ddb4ccc2_4e15_199b_e57f_94e38e24cb66 -->|calls| e95240b7_eaac_7e35_9b33_3b328bfdd0bb
  ebc7cdd4_21bc_3491_686c_090da262ca48["getDescription()"]
  e95240b7_eaac_7e35_9b33_3b328bfdd0bb -->|calls| ebc7cdd4_21bc_3491_686c_090da262ca48
  f68a547a_0d93_764b_7125_80c78705be6b["getCause()"]
  e95240b7_eaac_7e35_9b33_3b328bfdd0bb -->|calls| f68a547a_0d93_764b_7125_80c78705be6b
  style e95240b7_eaac_7e35_9b33_3b328bfdd0bb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/diagnostics/analyzer/InvalidConfigurationPropertyValueFailureAnalyzerTests.java lines 140–145

	private void assertCommonParts(InvalidConfigurationPropertyValueException failure, FailureAnalysis analysis) {
		assertThat(analysis.getDescription()).contains("test.property")
			.contains("invalid")
			.contains("TestOrigin test.property");
		assertThat(analysis.getCause()).isSameAs(failure);
	}

Domain

Subdomains

Frequently Asked Questions

What does assertCommonParts() do?
assertCommonParts() is a function in the spring-boot codebase.
What does assertCommonParts() call?
assertCommonParts() calls 2 function(s): getCause, getDescription.
What calls assertCommonParts()?
assertCommonParts() is called by 2 function(s): analysisWithKnownProperty, analysisWithKnownPropertyAndOtherCandidates.

Analyze Your Own Codebase

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

Try Supermodel Free