analysisWithKnownPropertyAndNoReason() — spring-boot Function Reference
Architecture documentation for the analysisWithKnownPropertyAndNoReason() function in InvalidConfigurationPropertyValueFailureAnalyzerTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 61b2662d_b939_5153_89df_768fe31eaa4c["analysisWithKnownPropertyAndNoReason()"] 76a8f351_0101_5e91_376b_b1b7132cfbc6["InvalidConfigurationPropertyValueException()"] 61b2662d_b939_5153_89df_768fe31eaa4c -->|calls| 76a8f351_0101_5e91_376b_b1b7132cfbc6 8de78192_a78d_83e4_9384_66ded02fff62["performAnalysis()"] 61b2662d_b939_5153_89df_768fe31eaa4c -->|calls| 8de78192_a78d_83e4_9384_66ded02fff62 1a4e5320_a2e2_8aa5_7d05_1e805db190f1["getAction()"] 61b2662d_b939_5153_89df_768fe31eaa4c -->|calls| 1a4e5320_a2e2_8aa5_7d05_1e805db190f1 ebc7cdd4_21bc_3491_686c_090da262ca48["getDescription()"] 61b2662d_b939_5153_89df_768fe31eaa4c -->|calls| ebc7cdd4_21bc_3491_686c_090da262ca48 style 61b2662d_b939_5153_89df_768fe31eaa4c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/diagnostics/analyzer/InvalidConfigurationPropertyValueFailureAnalyzerTests.java lines 93–104
@Test
void analysisWithKnownPropertyAndNoReason() {
MapPropertySource source = new MapPropertySource("test", Collections.singletonMap("test.property", "invalid"));
this.environment.getPropertySources().addFirst(OriginCapablePropertySource.get(source));
InvalidConfigurationPropertyValueException failure = new InvalidConfigurationPropertyValueException(
"test.property", "invalid", null);
FailureAnalysis analysis = performAnalysis(failure);
assertThat(analysis).isNotNull();
assertThat(analysis.getAction()).contains("Review the value of the property.");
assertThat(analysis.getDescription()).contains("No reason was provided.")
.doesNotContain("Additionally, this property is also set");
}
Domain
Subdomains
Source
Frequently Asked Questions
What does analysisWithKnownPropertyAndNoReason() do?
analysisWithKnownPropertyAndNoReason() is a function in the spring-boot codebase.
What does analysisWithKnownPropertyAndNoReason() call?
analysisWithKnownPropertyAndNoReason() calls 4 function(s): InvalidConfigurationPropertyValueException, getAction, getDescription, performAnalysis.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free