51 references to Write
Aspire.Hosting.Java.Tests (51)
AddJavaAppPublishTests.cs (14)
111tempDir.Write("pom.xml", "<project/>"); 1438workspace.Write("target/quarkus-app/quarkus-run.jar", "runner"); 1439workspace.Write("target/quarkus-app/lib/dependency.jar", "dependency"); 1442workspace.Write("target/inventory-1.0.0-SNAPSHOT.jar", "thin"); 1443workspace.Write("target/quarkus-artifact.properties", "type=jar\npath=quarkus-app/quarkus-run.jar\n"); 1446workspace.Write("target/inventory-1.0.0-SNAPSHOT-runner.jar", "runner"); 1447workspace.Write("target/lib/dependency.jar", "dependency"); 1448workspace.Write("target/inventory-1.0.0-SNAPSHOT.jar", "thin"); 1449workspace.Write("target/quarkus-artifact.properties", "type=jar\npath=inventory-1.0.0-SNAPSHOT-runner.jar\n"); 1452workspace.Write("target/inventory-1.0.0-SNAPSHOT-runner.jar", "runner"); 1453workspace.Write("target/quarkus-artifact.properties", "type=jar\npath=inventory-1.0.0-SNAPSHOT-runner.jar\n"); 1458workspace.Write("target/quarkus-app/quarkus-run.jar", "runner"); 1459workspace.Write("target/quarkus-app/lib/dependency.jar", "dependency"); 1460workspace.Write("target/inventory-1.0.0-SNAPSHOT.jar", "thin");
AddJavaAppTests.cs (4)
1218tempDir.Write("pom.xml", "<project><artifactId>api</artifactId></project>"); 1248tempDir.Write("pom.xml", ""); 1375tempDir.Write(marker, ""); 1395tempDir.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");