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

getLayerResolverWhenDocumentContainsResourceLayerWithNoFilters() — spring-boot Function Reference

Architecture documentation for the getLayerResolverWhenDocumentContainsResourceLayerWithNoFilters() function in CustomLayersProviderTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  adb53426_f814_60f0_47a0_fd40d68ffdc7["getLayerResolverWhenDocumentContainsResourceLayerWithNoFilters()"]
  3fb09c1b_bc63_bf29_df26_7f17634bc16e["getDocument()"]
  adb53426_f814_60f0_47a0_fd40d68ffdc7 -->|calls| 3fb09c1b_bc63_bf29_df26_7f17634bc16e
  dea708c0_0a35_54ae_6047_daec4864dd1f["mockLibrary()"]
  adb53426_f814_60f0_47a0_fd40d68ffdc7 -->|calls| dea708c0_0a35_54ae_6047_daec4864dd1f
  style adb53426_f814_60f0_47a0_fd40d68ffdc7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

build-plugin/spring-boot-maven-plugin/src/test/java/org/springframework/boot/maven/CustomLayersProviderTests.java lines 89–96

	@Test
	void getLayerResolverWhenDocumentContainsResourceLayerWithNoFilters() throws Exception {
		CustomLayers layers = this.customLayersProvider.getLayers(getDocument("application-layer-no-filter.xml"));
		Library library = mockLibrary("my-library", "com.acme", null);
		assertThat(layers.getLayer("application.yml")).hasToString("my-layer");
		assertThatIllegalStateException().isThrownBy(() -> layers.getLayer(library))
			.withMessageContaining("match any layer");
	}

Domain

Subdomains

Frequently Asked Questions

What does getLayerResolverWhenDocumentContainsResourceLayerWithNoFilters() do?
getLayerResolverWhenDocumentContainsResourceLayerWithNoFilters() is a function in the spring-boot codebase.
What does getLayerResolverWhenDocumentContainsResourceLayerWithNoFilters() call?
getLayerResolverWhenDocumentContainsResourceLayerWithNoFilters() calls 2 function(s): getDocument, mockLibrary.

Analyze Your Own Codebase

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

Try Supermodel Free