70 references to Path
Aspire.Hosting.Azure.Tests (8)
AzureAppServiceTests.cs (2)
332var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish, outputPath: tempDir.Path); 353Path.Combine(tempDir.Path, "aspire-manifest.json"),
AzureContainerAppsTests.cs (2)
1548var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish, outputPath: tempDir.Path); 1564await VerifyFile(Path.Combine(tempDir.Path, "aspire-manifest.json"));
AzureEnvironmentResourceTests.cs (4)
193outputPath: tempDir.Path); 207var mainBicepPath = Path.Combine(tempDir.Path, "main.bicep"); 212var includedStorageBicepPath = Path.Combine(tempDir.Path, "included-storage", "included-storage.bicep"); 216var excludedStorageBicepPath = Path.Combine(tempDir.Path, "excluded-storage", "excluded-storage.bicep");
Aspire.Hosting.Containers.Tests (4)
DockerSocketBindMountTests.cs (4)
23var dockerFilePath = Path.Combine(dir.Path, "Dockerfile"); 28appBuilder.AddDockerfile("docker-client", contextPath: dir.Path) 30.WithBindMount(outDir.Path, "/out"); 47var infoFile = Path.Combine(outDir.Path, "docker-info.txt");
Aspire.Hosting.Docker.Tests (31)
DockerComposePublisherTests.cs (29)
22var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish, publisher: "default", outputPath: tempDir.Path); 97var composePath = Path.Combine(tempDir.Path, "docker-compose.yaml"); 98var envPath = Path.Combine(tempDir.Path, ".env"); 112var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish, publisher: "default", outputPath: tempDir.Path); 130var composePath = Path.Combine(tempDir.Path, "docker-compose.yaml"); 131var envPath = Path.Combine(tempDir.Path, ".env"); 143using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish, publisher: "default", outputPath: tempDir.Path) 158var composePath = Path.Combine(tempDir.Path, "docker-compose.yaml"); 170using var builder = TestDistributedApplicationBuilder.Create(["--operation", "publish", "--publisher", "default", "--output-path", tempDir.Path]) 193var composePath = Path.Combine(tempDir.Path, "docker-compose.yaml"); 202var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish, "default", outputPath: tempDir.Path); 242var composePath = Path.Combine(tempDir.Path, "docker-compose.yaml"); 244var envPath = Path.Combine(tempDir.Path, ".env"); 255var envFilePath = Path.Combine(tempDir.Path, ".env"); 259var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish, publisher: "default", outputPath: tempDir.Path); 286var envFilePath = Path.Combine(tempDir.Path, ".env"); 290var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish, publisher: "default", outputPath: tempDir.Path); 327var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish, publisher: "default", outputPath: tempDir.Path); 341var composePath = Path.Combine(tempDir.Path, "docker-compose.yaml"); 354var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish, publisher: "default", outputPath: tempDir.Path); 367var composePath = Path.Combine(tempDir.Path, "docker-compose.yaml"); 380var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish, publisher: "default", outputPath: tempDir.Path); 393var composePath = Path.Combine(tempDir.Path, "docker-compose.yaml"); 406var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish, publisher: "default", outputPath: tempDir.Path); 421var composePath = Path.Combine(tempDir.Path, "docker-compose.yaml"); 434var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish, publisher: "default", outputPath: tempDir.Path); 453var composePath = Path.Combine(tempDir.Path, "docker-compose.yaml"); 466var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Run, outputPath: tempDir.Path); 478var composePath = Path.Combine(tempDir.Path, "docker-compose.yaml");
DockerComposeTests.cs (2)
125var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish, publisher: "default", outputPath: tempDir.Path); 142await VerifyDirectory(tempDir.Path);
Aspire.Hosting.Kubernetes.Tests (10)
KubernetesEnvironmentResourceTests.cs (2)
73var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish, publisher: "default", outputPath: tempDir.Path); 89await VerifyDirectory(tempDir.Path);
KubernetesPublisherTests.cs (8)
17var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish, "default", outputPath: tempDir.Path); 63var filePath = Path.Combine(tempDir.Path, expectedFile); 83var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish, publisher: "default", outputPath: tempDir.Path); 102var deploymentPath = Path.Combine(tempDir.Path, "templates/service/deployment.yaml"); 114var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish, "default", outputPath: tempDir.Path); 157var filePath = Path.Combine(tempDir.Path, expectedFile); 177var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish, "default", outputPath: tempDir.Path); 209var filePath = Path.Combine(tempDir.Path, expectedFile);
Aspire.Hosting.MySql.Tests (2)
AddMySqlTests.cs (1)
261builder.Configuration["Aspire:Store:Path"] = tempStore.Path;
MySqlFunctionalTests.cs (1)
558.WithTempAspireStore(aspireStore.Path)
Aspire.Hosting.PostgreSQL.Tests (3)
AddPostgresTests.cs (2)
455builder.Configuration["Aspire:Store:Path"] = tempStore.Path; 513builder.Configuration["Aspire:Store:Path"] = tempStore.Path;
PostgresFunctionalTests.cs (1)
549.WithTempAspireStore(aspireStore.Path)
Aspire.Hosting.Tests (12)
MSBuildTests.cs (5)
20CreateLibraryProject(tempDirectory.Path, "Library"); 22var appHostDirectory = Path.Combine(tempDirectory.Path, "AppHost"); 76CreateAppProject(tempDirectory.Path, "App"); 78var appHostDirectory = Path.Combine(tempDirectory.Path, "AppHost"); 128var temp = tempDirectory?.Path;
PublishAsDockerfileTests.cs (6)
18var path = tempDir.Path; 56var path = tempDir.Path; 109var path = tempDir.Path; 154var path = tempDir.Path; 216var path = tempDir.Path; 270File.WriteAllText(Path.Join(tempDir.Path, "Dockerfile"), "this does not matter");
tests\Shared\TempDirectory.cs (1)
12Directory.Delete(Path, recursive: true);