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

getLayerResolverWhenDocumentContainsLibraryLayerWithNoFilters() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  0e4c9d19_3e9c_57ee_3447_bffcc57105a9["getLayerResolverWhenDocumentContainsLibraryLayerWithNoFilters()"]
  3fb09c1b_bc63_bf29_df26_7f17634bc16e["getDocument()"]
  0e4c9d19_3e9c_57ee_3447_bffcc57105a9 -->|calls| 3fb09c1b_bc63_bf29_df26_7f17634bc16e
  dea708c0_0a35_54ae_6047_daec4864dd1f["mockLibrary()"]
  0e4c9d19_3e9c_57ee_3447_bffcc57105a9 -->|calls| dea708c0_0a35_54ae_6047_daec4864dd1f
  style 0e4c9d19_3e9c_57ee_3447_bffcc57105a9 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 80–87

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

Domain

Subdomains

Frequently Asked Questions

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