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