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