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

basicExecution() — spring-boot Function Reference

Architecture documentation for the basicExecution() function in BootRunIntegrationTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  780f2663_d4f0_9fc0_44a3_7acb8e53c2fe["basicExecution()"]
  b0962c18_0cd6_ab0b_40fc_652f0c4df7c6["copyClasspathApplication()"]
  780f2663_d4f0_9fc0_44a3_7acb8e53c2fe -->|calls| b0962c18_0cd6_ab0b_40fc_652f0c4df7c6
  c6803ebb_0278_3f04_79f3_f37d40703984["canonicalPathOf()"]
  780f2663_d4f0_9fc0_44a3_7acb8e53c2fe -->|calls| c6803ebb_0278_3f04_79f3_f37d40703984
  style 780f2663_d4f0_9fc0_44a3_7acb8e53c2fe fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

build-plugin/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/tasks/run/BootRunIntegrationTests.java lines 51–62

	@TestTemplate
	void basicExecution() throws IOException {
		copyClasspathApplication();
		new File(this.gradleBuild.getProjectDir(), "src/main/resources").mkdirs();
		BuildResult result = this.gradleBuild.build("bootRun");
		BuildTask task = result.task(":bootRun");
		assertThat(task).isNotNull();
		assertThat(task.getOutcome()).isEqualTo(TaskOutcome.SUCCESS);
		assertThat(result.getOutput()).contains("1. " + canonicalPathOf("build/classes/java/main"));
		assertThat(result.getOutput()).contains("2. " + canonicalPathOf("build/resources/main"));
		assertThat(result.getOutput()).doesNotContain(canonicalPathOf("src/main/resources"));
	}

Domain

Subdomains

Frequently Asked Questions

What does basicExecution() do?
basicExecution() is a function in the spring-boot codebase.
What does basicExecution() call?
basicExecution() calls 2 function(s): canonicalPathOf, copyClasspathApplication.

Analyze Your Own Codebase

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

Try Supermodel Free