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

analysisWithUnknownKey() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  45a8e94b_0613_b490_0f87_26e63b105093["analysisWithUnknownKey()"]
  76a8f351_0101_5e91_376b_b1b7132cfbc6["InvalidConfigurationPropertyValueException()"]
  45a8e94b_0613_b490_0f87_26e63b105093 -->|calls| 76a8f351_0101_5e91_376b_b1b7132cfbc6
  8de78192_a78d_83e4_9384_66ded02fff62["performAnalysis()"]
  45a8e94b_0613_b490_0f87_26e63b105093 -->|calls| 8de78192_a78d_83e4_9384_66ded02fff62
  ebc7cdd4_21bc_3491_686c_090da262ca48["getDescription()"]
  45a8e94b_0613_b490_0f87_26e63b105093 -->|calls| ebc7cdd4_21bc_3491_686c_090da262ca48
  style 45a8e94b_0613_b490_0f87_26e63b105093 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

	@Test
	void analysisWithUnknownKey() {
		InvalidConfigurationPropertyValueException failure = new InvalidConfigurationPropertyValueException(
				"test.key.not.defined", "invalid", "This is not valid.");
		FailureAnalysis analysis = performAnalysis(failure);
		assertThat(analysis).isNotNull();
		assertThat(analysis.getDescription())
			.contains("Invalid value 'invalid' for configuration property 'test.key.not.defined'.");
	}

Domain

Subdomains

Frequently Asked Questions

What does analysisWithUnknownKey() do?
analysisWithUnknownKey() is a function in the spring-boot codebase.
What does analysisWithUnknownKey() call?
analysisWithUnknownKey() calls 3 function(s): InvalidConfigurationPropertyValueException, getDescription, performAnalysis.

Analyze Your Own Codebase

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

Try Supermodel Free