240 references to Path
Infrastructure.Tests (240)
CreateFailingTestIssue\CreateFailingTestIssueToolTests.cs (2)
691var fixtureDirectory = Path.Combine(_workspace.Path, Guid.NewGuid().ToString("N", CultureInfo.InvariantCulture)); 832var fixtureDirectory = Path.Combine(_workspace.Path, Guid.NewGuid().ToString("N", CultureInfo.InvariantCulture));
DownloadFailingJobLogs\DownloadFailingJobLogsToolTests.cs (5)
45var fixtureDirectory = Path.Combine(_workspace.Path, "fixtures-success"); 61var logPath = Path.Combine(_workspace.Path, "failed_job_0_Tests___Linux___Sample__Sample____Sample__linux-latest_.log"); 65var extractedTrx = Path.Combine(_workspace.Path, "artifact_0_Sample_linux-latest", "testresults", "Sample_net10.0.trx"); 72var fixtureDirectory = Path.Combine(_workspace.Path, "fixtures-missing-artifact"); 94WorkingDirectory = _workspace.Path
ExtractTestPartitions\ExtractTestPartitionsTests.cs (22)
31var assemblyPath = Path.Combine(_workspace.Path, "TestAssembly.dll"); 37var outputFile = Path.Combine(_workspace.Path, "partitions.txt"); 56var assemblyPath = Path.Combine(_workspace.Path, "TestAssembly.dll"); 62var outputFile = Path.Combine(_workspace.Path, "partitions.txt"); 77var assemblyPath = Path.Combine(_workspace.Path, "TestAssembly.dll"); 83var outputFile = Path.Combine(_workspace.Path, "partitions.txt"); 101var assemblyPath = Path.Combine(_workspace.Path, "TestAssembly.dll"); 104var outputFile = Path.Combine(_workspace.Path, "partitions.txt"); 119var assemblyPath = Path.Combine(_workspace.Path, "TestAssembly.dll"); 126var outputFile = Path.Combine(_workspace.Path, "partitions.txt"); 144var assemblyPath = Path.Combine(_workspace.Path, "TestAssembly.dll"); 151var outputFile = Path.Combine(_workspace.Path, "partitions.txt"); 167var nonExistentPath = Path.Combine(_workspace.Path, "DoesNotExist.dll"); 168var outputFile = Path.Combine(_workspace.Path, "partitions.txt"); 193var assemblyPath = Path.Combine(_workspace.Path, "TestAssembly.dll"); 199var outputFile = Path.Combine(_workspace.Path, "nested", "dir", "partitions.txt"); 213var assemblyPath = Path.Combine(_workspace.Path, "TestAssembly.dll"); 218var outputFile = Path.Combine(_workspace.Path, "partitions.txt"); 235var assemblyPath = Path.Combine(_workspace.Path, "TestAssembly.dll"); 242var outputFile = Path.Combine(_workspace.Path, "partitions.txt"); 260var assemblyPath = Path.Combine(_workspace.Path, "TestAssembly.dll"); 267var outputFile = Path.Combine(_workspace.Path, "partitions.txt");
GenerateTestSummary\GenerateTestSummaryToolTests.cs (15)
31var trxPath = Path.Combine(_workspace.Path, "sample.trx"); 53var trxPath = Path.Combine(_workspace.Path, "mixed.trx"); 60var jsonPath = Path.Combine(_workspace.Path, "failed.json"); 81var trxPath = Path.Combine(_workspace.Path, "aborted.trx"); 87var jsonPath = Path.Combine(_workspace.Path, "failed.json"); 104var trxPath = Path.Combine(_workspace.Path, "allpass.trx"); 110var jsonPath = Path.Combine(_workspace.Path, "failed.json"); 133var trxDir = Path.Combine(_workspace.Path, "corrupt"); 137var jsonPath = Path.Combine(_workspace.Path, "failed.json"); 160var trxDir = Path.Combine(_workspace.Path, "partial"); 167var jsonPath = Path.Combine(_workspace.Path, "failed.json"); 187var trxDir = Path.Combine(_workspace.Path, "partial-with-failure"); 194var jsonPath = Path.Combine(_workspace.Path, "failed.json"); 216var trxPath = Path.Combine(_workspace.Path, "timestamped.trx"); 225var jsonPath = Path.Combine(_workspace.Path, "failed.json");
Pipelines\ExtensionE2eRecorderStepTests.cs (3)
69var scriptPath = Path.Combine(workspace.Path, "step.ps1"); 152invocationLog = Path.Combine(workspace.Path, "invocations.log"); 153var attemptCounter = Path.Combine(workspace.Path, "install-attempts");
Pipelines\NixCliPackageTests.cs (5)
73var outputPath = Path.Combine(_workspace.Path, "versions.json"); 74var fakeBinPath = Path.Combine(_workspace.Path, "bin"); 118var outputPath = Path.Combine(_workspace.Path, "versions.json"); 119var fakeBinPath = Path.Combine(_workspace.Path, "bin"); 180var outputPath = Path.Combine(_workspace.Path, "versions.json");
Pipelines\NpmCliPackageTests.cs (4)
180var testScriptPath = Path.Combine(_workspace.Path, $"{Path.GetRandomFileName()}.js"); 220var testScriptPath = Path.Combine(_workspace.Path, $"{Path.GetRandomFileName()}.js"); 506var testRoot = Path.Combine(_workspace.Path, Path.GetRandomFileName()); 571var testRoot = Path.Combine(_workspace.Path, Path.GetRandomFileName());
PowerShellScripts\AspireSkillsBundleHashTests.cs (2)
54var inputPath = Path.Combine(_workspace.Path, $"input-{lineEndings}.bin"); 150var path = Path.Combine(_workspace.Path, fileName);
PowerShellScripts\BuildTestMatrixTests.cs (40)
33var artifactsDir = Path.Combine(_workspace.Path, "artifacts"); 42var outputFile = Path.Combine(_workspace.Path, "matrix.json"); 63var artifactsDir = Path.Combine(_workspace.Path, "artifacts"); 76var outputFile = Path.Combine(_workspace.Path, "matrix.json"); 95var artifactsDir = Path.Combine(_workspace.Path, "artifacts"); 108var outputFile = Path.Combine(_workspace.Path, "matrix.json"); 136var artifactsDir = Path.Combine(_workspace.Path, "artifacts"); 149var outputFile = Path.Combine(_workspace.Path, "matrix.json"); 172var artifactsDir = Path.Combine(_workspace.Path, "artifacts"); 181var outputFile = Path.Combine(_workspace.Path, "matrix.json"); 199var artifactsDir = Path.Combine(_workspace.Path, "artifacts"); 208var outputFile = Path.Combine(_workspace.Path, "matrix.json"); 226var artifactsDir = Path.Combine(_workspace.Path, "artifacts"); 241var outputFile = Path.Combine(_workspace.Path, "matrix.json"); 260var artifactsDir = Path.Combine(_workspace.Path, "artifacts"); 272var outputFile = Path.Combine(_workspace.Path, "matrix.json"); 290var emptyArtifactsDir = Path.Combine(_workspace.Path, "empty-artifacts"); 293var outputFile = Path.Combine(_workspace.Path, "matrix.json"); 310var artifactsDir = Path.Combine(_workspace.Path, "artifacts"); 325var outputFile = Path.Combine(_workspace.Path, "matrix.json"); 351var artifactsDir = Path.Combine(_workspace.Path, "artifacts"); 360var outputFile = Path.Combine(_workspace.Path, "matrix.json"); 378var artifactsDir = Path.Combine(_workspace.Path, "artifacts"); 387var outputFile = Path.Combine(_workspace.Path, "matrix.json"); 406var artifactsDir = Path.Combine(_workspace.Path, "artifacts"); 420var outputFile = Path.Combine(_workspace.Path, "matrix.json"); 443var artifactsDir = Path.Combine(_workspace.Path, "artifacts"); 452var outputFile = Path.Combine(_workspace.Path, "matrix.json"); 472var artifactsDir = Path.Combine(_workspace.Path, "artifacts"); 480var outputFile = Path.Combine(_workspace.Path, "matrix.json"); 498var artifactsDir = Path.Combine(_workspace.Path, "artifacts"); 512var outputFile = Path.Combine(_workspace.Path, "matrix.json"); 534var artifactsDir = Path.Combine(_workspace.Path, "artifacts"); 552var outputFile = Path.Combine(_workspace.Path, "matrix.json"); 577var artifactsDir = Path.Combine(_workspace.Path, "artifacts"); 585var outputFile = Path.Combine(_workspace.Path, "matrix.json"); 612var artifactsDir = Path.Combine(_workspace.Path, "artifacts"); 631var outputFile = Path.Combine(_workspace.Path, "matrix.json"); 699var artifactsDir = Path.Combine(_workspace.Path, "artifacts"); 713var outputFile = Path.Combine(_workspace.Path, "matrix.json");
PowerShellScripts\DownloadNativeArchivesTests.cs (3)
197File.Exists(Path.Combine(_workspace.Path, "escaped", "aspire-cli-linux-x64-13.4.0.tar.gz")), 425var archives = Path.Combine(_workspace.Path, unique, "archives"); 426var nupkgs = Path.Combine(_workspace.Path, unique, "nupkgs");
PowerShellScripts\ExpandTestMatrixGitHubTests.cs (38)
39var canonicalMatrix = Path.Combine(_workspace.Path, "canonical.json"); 42var outputFile = Path.Combine(_workspace.Path, "expanded.json"); 66var canonicalMatrix = Path.Combine(_workspace.Path, "canonical.json"); 69var outputFile = Path.Combine(_workspace.Path, "expanded.json"); 92var canonicalMatrix = Path.Combine(_workspace.Path, "canonical.json"); 95var outputFile = Path.Combine(_workspace.Path, "expanded.json"); 116var canonicalMatrix = Path.Combine(_workspace.Path, "canonical.json"); 119var outputFile = Path.Combine(_workspace.Path, "expanded.json"); 142var canonicalMatrix = Path.Combine(_workspace.Path, "canonical.json"); 145var outputFile = Path.Combine(_workspace.Path, "expanded.json"); 169var canonicalMatrix = Path.Combine(_workspace.Path, "canonical.json"); 172var outputFile = Path.Combine(_workspace.Path, "expanded.json"); 200var canonicalMatrix = Path.Combine(_workspace.Path, "canonical.json"); 203var outputFile = Path.Combine(_workspace.Path, "expanded.json"); 238var canonicalMatrix = Path.Combine(_workspace.Path, "canonical.json"); 241var outputFile = Path.Combine(_workspace.Path, "expanded.json"); 265var canonicalMatrix = Path.Combine(_workspace.Path, "canonical.json"); 268var outputFile = Path.Combine(_workspace.Path, "expanded.json"); 282var nonExistentFile = Path.Combine(_workspace.Path, "does-not-exist.json"); 283var outputFile = Path.Combine(_workspace.Path, "expanded.json"); 301var canonicalMatrix = Path.Combine(_workspace.Path, "canonical.json"); 304var outputFile = Path.Combine(_workspace.Path, "expanded.json"); 327var canonicalMatrix = Path.Combine(_workspace.Path, "canonical.json"); 330var outputFile = Path.Combine(_workspace.Path, "expanded.json"); 353var canonicalMatrix = Path.Combine(_workspace.Path, "canonical.json"); 356var outputFile = Path.Combine(_workspace.Path, "expanded.json"); 386var canonicalMatrix = Path.Combine(_workspace.Path, "canonical.json"); 389var outputFile = Path.Combine(_workspace.Path, "expanded.json"); 413var canonicalMatrix = Path.Combine(_workspace.Path, "canonical.json"); 416var outputFile = Path.Combine(_workspace.Path, "expanded.json"); 452var canonicalMatrix = Path.Combine(_workspace.Path, "canonical.json"); 455var outputFile = Path.Combine(_workspace.Path, "expanded.json"); 486var canonicalMatrix = Path.Combine(_workspace.Path, "canonical.json"); 489var outputFile = Path.Combine(_workspace.Path, "expanded.json"); 509var artifactsDir = Path.Combine(_workspace.Path, "artifacts"); 548var canonicalFile = Path.Combine(_workspace.Path, "canonical.json"); 558var expandedFile = Path.Combine(_workspace.Path, "expanded.json"); 564var githubOutputFile = Path.Combine(_workspace.Path, "github_output.txt");
PowerShellScripts\SplitTestMatrixByDepsTests.cs (4)
25_githubOutputFile = Path.Combine(_workspace.Path, "github_output.txt"); 206var matrixFile = Path.Combine(_workspace.Path, "matrix.json"); 235var nonExistentFile = Path.Combine(_workspace.Path, "nonexistent.json"); 262var tempMatrixFile = Path.Combine(_workspace.Path, $"matrix_input_{Guid.NewGuid():N}.json");
PowerShellScripts\SplitTestProjectsTests.cs (10)
42var assemblyPath = Path.Combine(_workspace.Path, "TestAssembly.dll"); 48var outputFile = Path.Combine(_workspace.Path, "partitions.json"); 72var assemblyPath = Path.Combine(_workspace.Path, "TestAssembly.dll"); 77var outputFile = Path.Combine(_workspace.Path, "partitions.json"); 100var assemblyPath = Path.Combine(_workspace.Path, "TestAssembly.dll"); 106var outputFile = Path.Combine(_workspace.Path, "partitions.json"); 131var assemblyPath = Path.Combine(_workspace.Path, "TestAssembly.dll"); 138var outputFile = Path.Combine(_workspace.Path, "partitions.json"); 166var nonExistentPath = Path.Combine(_workspace.Path, "DoesNotExist.dll"); 167var outputFile = Path.Combine(_workspace.Path, "partitions.json");
PowerShellScripts\StageNativeCliToolPackagesTests.cs (2)
303var path = Path.Combine(_workspace.Path, Path.GetRandomFileName(), "download"); 310return Path.Combine(_workspace.Path, Path.GetRandomFileName(), "shipping");
PowerShellScripts\ValidateNpmPackageSignaturesTests.cs (3)
37var missing = Path.Combine(_workspace.Path, "does-not-exist"); 54var filePath = Path.Combine(_workspace.Path, "not-a-directory.txt"); 214var path = Path.Combine(_workspace.Path, unique, "Shipping");
PowerShellScripts\WriteClassModeTestPropsTests.cs (6)
28var artifactsDir = Path.Combine(_workspace.Path, "artifacts"); 50var outputPropsPath = Path.Combine(_workspace.Path, "ClassModeProjects.props"); 67var artifactsDir = Path.Combine(_workspace.Path, "artifacts"); 79var outputPropsPath = Path.Combine(_workspace.Path, "ClassModeProjects.props"); 94var artifactsDir = Path.Combine(_workspace.Path, "artifacts"); 106var outputPropsPath = Path.Combine(_workspace.Path, "ClassModeProjects.props");
tests\Shared\TemporaryWorkspace.cs (1)
238var aspireDir = IOPath.Combine(workspace.Path, ".aspire");
TestTriggerMap\GraphAffectedProjectsTests.cs (12)
282var changedFilesPath = System.IO.Path.Combine(_workspace.Path, "changed.txt"); 284return GraphAffectedProjects.Compute(_workspace.Path, System.IO.Path.Combine(_workspace.Path, "Aspire.slnx"), from: null, to: null, changedFilesPath: changedFilesPath).AffectedProjects; 289var changedFilesPath = System.IO.Path.Combine(_workspace.Path, "changed.txt"); 291return GraphAffectedProjects.Compute(_workspace.Path, System.IO.Path.Combine(_workspace.Path, "Aspire.slnx"), from: null, to: null, changedFilesPath: changedFilesPath); 296var fullPath = System.IO.Path.Combine(_workspace.Path, relativePath.Replace('\\', System.IO.Path.DirectorySeparatorChar)); 387var newFull = System.IO.Path.Combine(_workspace.Path, newRelativePath.Replace('/', System.IO.Path.DirectorySeparatorChar)); 392return GraphAffectedProjects.Compute(_workspace.Path, System.IO.Path.Combine(_workspace.Path, "Aspire.slnx"), from: baseSha, to: "HEAD", changedFilesPath: null).AffectedProjects; 397var fullPath = System.IO.Path.Combine(_workspace.Path, relativePath.Replace('\\', System.IO.Path.DirectorySeparatorChar)); 422private string Git(params string[] args) => GitCli.Run(_workspace.Path, args);
TestTriggerMap\SelectTestsAcceptanceTests.cs (1)
115return workspace.Path;
TestTriggerMap\SelectTestsLayer1IntegrationTests.cs (6)
245public string Path => _workspace.Path; 320var changed = System.IO.Path.Combine(_workspace.Path, "changed.txt"); 341public string Git(params string[] args) => GitCli.Run(_workspace.Path, args); 351var outputPath = System.IO.Path.Combine(_workspace.Path, "output"); 353Environment.SetEnvironmentVariable("GITHUB_STEP_SUMMARY", System.IO.Path.Combine(_workspace.Path, "summary")); 384var fullPath = System.IO.Path.Combine(_workspace.Path, relativePath.Replace('\\', System.IO.Path.DirectorySeparatorChar));
TypeScriptApiCompat\TypeScriptApiCompatTests.cs (18)
126var baselineRoot = Path.Combine(workspace.Path, "baseline"); 127var currentRoot = Path.Combine(workspace.Path, "current"); 197var suppressionPath = Path.Combine(workspace.Path, "Pkg.tscompat.suppression.txt"); 210var suppressions = ApiCompatSuppressionLoader.Load(workspace.Path); 227var currentSuppressionPath = Path.Combine(workspace.Path, "current", "Pkg.tscompat.suppression.txt"); 228var baselineSuppressionPath = Path.Combine(workspace.Path, "baseline", "Pkg.tscompat.suppression.txt"); 240var currentSuppressions = ApiCompatSuppressionLoader.Load(Path.Combine(workspace.Path, "current")); 241var baselineSuppressions = ApiCompatSuppressionLoader.Load(Path.Combine(workspace.Path, "baseline")); 253var baselineRoot = Path.Combine(workspace.Path, "baseline"); 254var currentRoot = Path.Combine(workspace.Path, "current"); 255var reportPath = Path.Combine(workspace.Path, "report.md"); 273workspace.Path, 289var baselineRoot = Path.Combine(workspace.Path, "baseline"); 290var currentRoot = Path.Combine(workspace.Path, "current"); 291var reportPath = Path.Combine(workspace.Path, "report.md"); 292var excludedPackagesPath = Path.Combine(workspace.Path, "excluded-packages.txt"); 293var suppressionPath = Path.Combine(workspace.Path, "Excluded.tscompat.suppression.txt"); 312workspace.Path,
WorkflowScripts\AutoRerunTransientCiFailuresTests.cs (1)
2221string inputPath = Path.Combine(_workspace.Path, $"{Guid.NewGuid():N}.json");
WorkflowScripts\CreateFailingTestIssueWorkflowTests.cs (1)
270var requestPath = Path.Combine(_workspace.Path, $"{Guid.NewGuid():N}.json");
WorkflowScripts\ExtensionChangelogFinalizedWorkflowTests.cs (23)
304var changelogPath = Path.Combine(_workspace.Path, "extension", "CHANGELOG.md"); 311=> await RunGateScriptAsync(_workspace.Path, environment); 349await InitializeGitRepositoryAsync(_workspace.Path); 351await WritePackageJsonAsync(_workspace.Path, "1.98.0"); 352await WriteChangelogAsync(_workspace.Path, """ 358await WriteWorkspaceFileAsync(_workspace.Path, Path.Combine("extension", "src", "baseline.txt"), "baseline"); 359await CommitAllAsync(_workspace.Path, "Create baseline changelog"); 363_workspace.Path, 375await CommitAllAsync(_workspace.Path, "Finalize prior release changelog"); 377await WriteWorkspaceFileAsync(_workspace.Path, Path.Combine("extension", "src", "feature.txt"), "feature-one"); 378await CommitAllAsync(_workspace.Path, "Add extension feature"); 381await RunGitAsync(_workspace.Path, "checkout", "-b", "extension-release/v1.99.0"); 383await WritePackageJsonAsync(_workspace.Path, "1.99.0"); 384await WriteChangelogAsync(_workspace.Path, $$""" 398await CommitAllAsync(_workspace.Path, "Prepare release branch changelog"); 400await RunGitAsync(_workspace.Path, "checkout", "main"); 404await WriteWorkspaceFileAsync(_workspace.Path, Path.Combine("extension", "src", "late-main.txt"), "late extension change"); 408await WriteWorkspaceFileAsync(_workspace.Path, Path.Combine("docs", "late-main.md"), "non-extension main change"); 411await CommitAllAsync(_workspace.Path, "Advance main"); 412var baseSha = await GetHeadShaAsync(_workspace.Path); 414await RunGitAsync(_workspace.Path, "checkout", "extension-release/v1.99.0"); 417_workspace.Path, 467=> await GetHeadShaAsync(_workspace.Path);
WorkflowScripts\MonitorScheduledWorkflowsIntegrationTests.cs (1)
392var requestPath = Path.Combine(_workspace.Path, $"{Guid.NewGuid():N}.json");
WorkflowScripts\MonitorScheduledWorkflowsTests.cs (1)
245var requestPath = Path.Combine(_workspace.Path, $"{Guid.NewGuid():N}.json");
WorkflowScripts\ReportCiFailureIntegrationTests.cs (1)
284var requestPath = Path.Combine(_workspace.Path, $"{Guid.NewGuid():N}.json");
WorkflowScripts\ReportCiFailureTests.cs (1)
81var requestPath = Path.Combine(_workspace.Path, $"{Guid.NewGuid():N}.json");
WorkflowScripts\ReportPipelineFailureIntegrationTests.cs (1)
290var requestPath = Path.Combine(_workspace.Path, $"{Guid.NewGuid():N}.json");
WorkflowScripts\ReportPipelineFailureTests.cs (1)
139var requestPath = Path.Combine(_workspace.Path, $"{Guid.NewGuid():N}.json");
WorkflowScripts\ReportSpecializedTestFailuresTests.cs (1)
228var requestPath = Path.Combine(_workspace.Path, $"{Guid.NewGuid():N}.json");
WorkflowScripts\SelectTestsCommentScriptTests.cs (4)
105var missingPath = Path.Combine(_workspace.Path, "does-not-exist.md"); 180var path = Path.Combine(_workspace.Path, $"{Guid.NewGuid():N}.md"); 230var requestPath = Path.Combine(_workspace.Path, $"{Guid.NewGuid():N}.json"); 231var outputPath = Path.Combine(_workspace.Path, $"{Guid.NewGuid():N}.result.json");
WorkflowScripts\SpecializedTestFailureRunnerTests.cs (1)
228var requestPath = Path.Combine(_workspace.Path, $"{Guid.NewGuid():N}.json");
WorkflowScripts\TrackingIssueTests.cs (1)
286var requestPath = Path.Combine(_workspace.Path, $"{Guid.NewGuid():N}.json");