getImportOriginWhenBracketListReturnsOrigin() — spring-boot Function Reference
Architecture documentation for the getImportOriginWhenBracketListReturnsOrigin() function in ConfigDataPropertiesTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 16c93e75_fe3e_dff9_7da7_04fd3152a229["getImportOriginWhenBracketListReturnsOrigin()"] 6b13a440_b8c4_f4d4_0bc2_c932b8debc75["MapConfigurationPropertySource()"] 16c93e75_fe3e_dff9_7da7_04fd3152a229 -->|calls| 6b13a440_b8c4_f4d4_0bc2_c932b8debc75 4fef258c_a2a4_d498_7bd8_31a7595265f6["put()"] 16c93e75_fe3e_dff9_7da7_04fd3152a229 -->|calls| 4fef258c_a2a4_d498_7bd8_31a7595265f6 bdf1886c_19f9_9cc1_5bff_886f1b1e2835["Binder()"] 16c93e75_fe3e_dff9_7da7_04fd3152a229 -->|calls| bdf1886c_19f9_9cc1_5bff_886f1b1e2835 c90d60de_6e4d_b157_5121_acbc78d427f0["get()"] 16c93e75_fe3e_dff9_7da7_04fd3152a229 -->|calls| c90d60de_6e4d_b157_5121_acbc78d427f0 style 16c93e75_fe3e_dff9_7da7_04fd3152a229 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/config/ConfigDataPropertiesTests.java lines 230–241
@Test
void getImportOriginWhenBracketListReturnsOrigin() {
MapConfigurationPropertySource source = new MapConfigurationPropertySource();
source.put("spring.config.import[0]", "one");
source.put("spring.config.import[1]", "two");
source.put("spring.config.import[2]", "three");
Binder binder = new Binder(source);
ConfigDataProperties properties = ConfigDataProperties.get(binder);
assertThat(properties).isNotNull();
assertThat(properties.getImports().get(1).getOrigin())
.hasToString("\"spring.config.import[1]\" from property source \"source\"");
}
Domain
Subdomains
Source
Frequently Asked Questions
What does getImportOriginWhenBracketListReturnsOrigin() do?
getImportOriginWhenBracketListReturnsOrigin() is a function in the spring-boot codebase.
What does getImportOriginWhenBracketListReturnsOrigin() call?
getImportOriginWhenBracketListReturnsOrigin() calls 4 function(s): Binder, MapConfigurationPropertySource, get, put.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free