1 write to _root
Aspire.Cli.EndToEnd.Tests (1)
Helpers\ConfigSourceTestContext.cs (1)
29_root = workspace.WorkspaceRoot.FullName;
19 references to _root
Aspire.Cli.EndToEnd.Tests (19)
Helpers\ConfigSourceTestContext.cs (19)
30_feedRoot = CliE2ETestHelpers.ToContainerPath(Path.Combine(_root, "integration-feed"), workspace); 34_repository = CliE2ETestHelpers.ToContainerPath(Path.Combine(_root, "configuration source"), workspace); 53await File.WriteAllTextAsync(Path.Combine(context._root, "check-source.cs"), SourceCheckProgram, cancellationToken); 92var directory = Directory.CreateDirectory(Path.Combine(_root, "integration-feed", feed)); 107var integrations = JsonNode.Parse(await File.ReadAllTextAsync(Path.Combine(_root, "integrations.json"), _cancellationToken))!.AsArray(); 119var appHost = await File.ReadAllTextAsync(Path.Combine(_root, "actual-apphost.cs"), _cancellationToken); 203var consentOutput = await File.ReadAllTextAsync(Path.Combine(_root, "consent.log"), _cancellationToken); 206Assert.False(Directory.Exists(Path.Combine(_root, "SourceApp"))); 224Assert.Equal("accepted", await File.ReadAllTextAsync(Path.Combine(_root, "git-authenticated.txt"), _cancellationToken)); 233var log = await File.ReadAllTextAsync(Path.Combine(_root, "actual-git-auth-cli.log"), _cancellationToken); 292var actual = await File.ReadAllTextAsync(Path.Combine(_root, "actual-agent-settings.json"), _cancellationToken); 298Assert.False(Directory.Exists(Path.Combine(_root, "SourceApp", ".agents", "skills"))); 336await File.ReadAllTextAsync(Path.Combine(_root, "run.log"), _cancellationToken)); 349var output = await File.ReadAllTextAsync(Path.Combine(_root, "missing-source.log"), _cancellationToken); 373var appHost = await File.ReadAllTextAsync(Path.Combine(_root, "SourceApp", "apphost.cs"), _cancellationToken); 424return JsonNode.Parse(await File.ReadAllTextAsync(Path.Combine(_root, "actual-config.json"), _cancellationToken))!.AsObject(); 428=> (await File.ReadAllTextAsync(Path.Combine(_root, "source-version.txt"), _cancellationToken)).Trim(); 438var directory = Directory.CreateDirectory(Path.Combine(_root, "configuration source", "teams")); 470await File.WriteAllTextAsync(Path.Combine(_root, "ssh-probe.cs"), SshProbeProgram, _cancellationToken);