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

singleDependency() — spring-boot Function Reference

Architecture documentation for the singleDependency() function in ProjectGenerationRequestTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  85a87754_fa9f_cd4c_7c3c_c5af0d06b6f2["singleDependency()"]
  aa02f783_8747_85e5_2252_dc51144ce507["createDefaultMetadata()"]
  85a87754_fa9f_cd4c_7c3c_c5af0d06b6f2 -->|calls| aa02f783_8747_85e5_2252_dc51144ce507
  ab644003_5fc1_3a45_f769_27942bf43ca2["createDefaultUrl()"]
  85a87754_fa9f_cd4c_7c3c_c5af0d06b6f2 -->|calls| ab644003_5fc1_3a45_f769_27942bf43ca2
  style 85a87754_fa9f_cd4c_7c3c_c5af0d06b6f2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

cli/spring-boot-cli/src/test/java/org/springframework/boot/cli/command/init/ProjectGenerationRequestTests.java lines 71–76

	@Test
	void singleDependency() {
		this.request.getDependencies().add("web");
		assertThat(this.request.generateUrl(createDefaultMetadata()))
			.isEqualTo(createDefaultUrl("?dependencies=web&type=test-type"));
	}

Domain

Subdomains

Frequently Asked Questions

What does singleDependency() do?
singleDependency() is a function in the spring-boot codebase.
What does singleDependency() call?
singleDependency() calls 2 function(s): createDefaultMetadata, createDefaultUrl.

Analyze Your Own Codebase

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

Try Supermodel Free