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