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);
53
await File.WriteAllTextAsync(Path.Combine(context.
_root
, "check-source.cs"), SourceCheckProgram, cancellationToken);
92
var directory = Directory.CreateDirectory(Path.Combine(
_root
, "integration-feed", feed));
107
var integrations = JsonNode.Parse(await File.ReadAllTextAsync(Path.Combine(
_root
, "integrations.json"), _cancellationToken))!.AsArray();
119
var appHost = await File.ReadAllTextAsync(Path.Combine(
_root
, "actual-apphost.cs"), _cancellationToken);
203
var consentOutput = await File.ReadAllTextAsync(Path.Combine(
_root
, "consent.log"), _cancellationToken);
206
Assert.False(Directory.Exists(Path.Combine(
_root
, "SourceApp")));
224
Assert.Equal("accepted", await File.ReadAllTextAsync(Path.Combine(
_root
, "git-authenticated.txt"), _cancellationToken));
233
var log = await File.ReadAllTextAsync(Path.Combine(
_root
, "actual-git-auth-cli.log"), _cancellationToken);
292
var actual = await File.ReadAllTextAsync(Path.Combine(
_root
, "actual-agent-settings.json"), _cancellationToken);
298
Assert.False(Directory.Exists(Path.Combine(
_root
, "SourceApp", ".agents", "skills")));
336
await File.ReadAllTextAsync(Path.Combine(
_root
, "run.log"), _cancellationToken));
349
var output = await File.ReadAllTextAsync(Path.Combine(
_root
, "missing-source.log"), _cancellationToken);
373
var appHost = await File.ReadAllTextAsync(Path.Combine(
_root
, "SourceApp", "apphost.cs"), _cancellationToken);
424
return 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();
438
var directory = Directory.CreateDirectory(Path.Combine(
_root
, "configuration source", "teams"));
470
await File.WriteAllTextAsync(Path.Combine(
_root
, "ssh-probe.cs"), SshProbeProgram, _cancellationToken);