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

getImportOriginWhenCommaListReturnsOrigin() — spring-boot Function Reference

Architecture documentation for the getImportOriginWhenCommaListReturnsOrigin() function in ConfigDataPropertiesTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  c814088a_c659_996c_8450_e178c6d9c7ad["getImportOriginWhenCommaListReturnsOrigin()"]
  6b13a440_b8c4_f4d4_0bc2_c932b8debc75["MapConfigurationPropertySource()"]
  c814088a_c659_996c_8450_e178c6d9c7ad -->|calls| 6b13a440_b8c4_f4d4_0bc2_c932b8debc75
  4fef258c_a2a4_d498_7bd8_31a7595265f6["put()"]
  c814088a_c659_996c_8450_e178c6d9c7ad -->|calls| 4fef258c_a2a4_d498_7bd8_31a7595265f6
  bdf1886c_19f9_9cc1_5bff_886f1b1e2835["Binder()"]
  c814088a_c659_996c_8450_e178c6d9c7ad -->|calls| bdf1886c_19f9_9cc1_5bff_886f1b1e2835
  c90d60de_6e4d_b157_5121_acbc78d427f0["get()"]
  c814088a_c659_996c_8450_e178c6d9c7ad -->|calls| c90d60de_6e4d_b157_5121_acbc78d427f0
  style c814088a_c659_996c_8450_e178c6d9c7ad fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/config/ConfigDataPropertiesTests.java lines 219–228

	@Test
	void getImportOriginWhenCommaListReturnsOrigin() {
		MapConfigurationPropertySource source = new MapConfigurationPropertySource();
		source.put("spring.config.import", "one,two,three");
		Binder binder = new Binder(source);
		ConfigDataProperties properties = ConfigDataProperties.get(binder);
		assertThat(properties).isNotNull();
		assertThat(properties.getImports().get(1).getOrigin())
			.hasToString("\"spring.config.import\" from property source \"source\"");
	}

Domain

Subdomains

Frequently Asked Questions

What does getImportOriginWhenCommaListReturnsOrigin() do?
getImportOriginWhenCommaListReturnsOrigin() is a function in the spring-boot codebase.
What does getImportOriginWhenCommaListReturnsOrigin() call?
getImportOriginWhenCommaListReturnsOrigin() 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