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

copyApplication() — spring-boot Function Reference

Architecture documentation for the copyApplication() function in BootTestRunIntegrationTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  57b33ade_6439_5443_d7bd_6cee52ee1d4c["copyApplication()"]
  ee554c17_a6e0_f406_875b_0fbddb22b9cb["failsGracefullyWhenNoTestMainMethodIsFound()"]
  ee554c17_a6e0_f406_875b_0fbddb22b9cb -->|calls| 57b33ade_6439_5443_d7bd_6cee52ee1d4c
  0e6a6806_8dbb_7f18_60bc_f29eeb2dfaf0["copyClasspathApplication()"]
  0e6a6806_8dbb_7f18_60bc_f29eeb2dfaf0 -->|calls| 57b33ade_6439_5443_d7bd_6cee52ee1d4c
  a4217210_f020_2458_15d2_315b0cd26501["copyJvmArgsApplication()"]
  a4217210_f020_2458_15d2_315b0cd26501 -->|calls| 57b33ade_6439_5443_d7bd_6cee52ee1d4c
  style 57b33ade_6439_5443_d7bd_6cee52ee1d4c 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/BootTestRunIntegrationTests.java lines 162–166

	private void copyApplication(String name) throws IOException {
		File output = new File(this.gradleBuild.getProjectDir(), "src/test/java/com/example/boottestrun/" + name);
		output.mkdirs();
		FileSystemUtils.copyRecursively(new File("src/test/resources/com/example/boottestrun/" + name), output);
	}

Domain

Subdomains

Frequently Asked Questions

What does copyApplication() do?
copyApplication() is a function in the spring-boot codebase.
What calls copyApplication()?
copyApplication() is called by 3 function(s): copyClasspathApplication, copyJvmArgsApplication, failsGracefullyWhenNoTestMainMethodIsFound.

Analyze Your Own Codebase

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

Try Supermodel Free