52 references to Write
Aspire.Hosting.Java.Tests (52)
AddJavaAppPublishTests.cs (14)
111tempDir.Write("pom.xml", "<project/>"); 1831workspace.Write("target/quarkus-app/quarkus-run.jar", "runner"); 1832workspace.Write("target/quarkus-app/lib/dependency.jar", "dependency"); 1835workspace.Write("target/inventory-1.0.0-SNAPSHOT.jar", "thin"); 1836workspace.Write("target/quarkus-artifact.properties", "type=jar\npath=quarkus-app/quarkus-run.jar\n"); 1839workspace.Write("target/inventory-1.0.0-SNAPSHOT-runner.jar", "runner"); 1840workspace.Write("target/lib/dependency.jar", "dependency"); 1841workspace.Write("target/inventory-1.0.0-SNAPSHOT.jar", "thin"); 1842workspace.Write("target/quarkus-artifact.properties", "type=jar\npath=inventory-1.0.0-SNAPSHOT-runner.jar\n"); 1845workspace.Write("target/inventory-1.0.0-SNAPSHOT-runner.jar", "runner"); 1846workspace.Write("target/quarkus-artifact.properties", "type=jar\npath=inventory-1.0.0-SNAPSHOT-runner.jar\n"); 1851workspace.Write("target/quarkus-app/quarkus-run.jar", "runner"); 1852workspace.Write("target/quarkus-app/lib/dependency.jar", "dependency"); 1853workspace.Write("target/inventory-1.0.0-SNAPSHOT.jar", "thin");
AddJavaAppTests.cs (5)
1218tempDir.Write("pom.xml", "<project><artifactId>api</artifactId></project>"); 1248tempDir.Write("pom.xml", ""); 1469tempDir.Write("pom.xml", ""); 1486tempDir.Write(marker, ""); 1506tempDir.Write(buildFile, "");
AddQuarkusAppTests.cs (15)
25tempDir.Write(buildFile, ""); 46tempDir.Write("pom.xml", ""); 62tempDir.Write("pom.xml", ""); 92tempDir.Write("pom.xml", "<project/>"); 109tempDir.Write("build.gradle", "plugins { id 'io.quarkus' }"); 128tempDir.Write(buildFile, ""); 140tempDir.Write("pom.xml", "<project/>"); 157tempDir.Write("build.gradle", "plugins { id 'io.quarkus' }"); 172tempDir.Write("pom.xml", "<project/>"); 190tempDir.Write("pom.xml", "<project/>"); 207tempDir.Write("pom.xml", "<project/>"); 226tempDir.Write("pom.xml", "<project/>"); 250tempDir.Write("pom.xml", "<project/>"); 268tempDir.Write("pom.xml", "<project/>"); 300tempDir.Write("pom.xml", "<project/>");
AddSpringBootAppTests.cs (17)
17tempDir.Write("pom.xml", "<project/>"); 34tempDir.Write("build.gradle", "plugins { id 'org.springframework.boot' }"); 51tempDir.Write("build.gradle.kts", "plugins { id(\"org.springframework.boot\") }"); 70tempDir.Write(marker, ""); 95tempDir.Write(buildFile, ""); 107tempDir.Write("pom.xml", "<project/>"); 130tempDir.Write("pom.xml", "<project/>"); 152tempDir.Write("pom.xml", "<project/>"); 172tempDir.Write("pom.xml", "<project/>"); 203tempDir.Write("pom.xml", "<project/>"); 204tempDir.Write("build.gradle", ""); 233tempDir.Write(buildFile, ""); 259tempDir.Write(buildFile, ""); 292tempDir.Write(buildFile, ""); 318tempDir.Write("pom.xml", ""); 353tempDir.Write("pom.xml", "<project/>"); 379tempDir.Write("pom.xml", "<project/>");
TempJavaAppDirectory.cs (1)
56var fullPath = Write(fileName, "#!/bin/sh\nexit 0\n");