1 write to _root
Aspire.Cli.EndToEnd.Tests (1)
Helpers\ConfigSourceTestContext.cs (1)
27
_root
= workspace.WorkspaceRoot.FullName;
11 references to _root
Aspire.Cli.EndToEnd.Tests (11)
Helpers\ConfigSourceTestContext.cs (11)
31
_repository = CliE2ETestHelpers.ToContainerPath(Path.Combine(
_root
, "configuration source"), workspace);
50
await File.WriteAllTextAsync(Path.Combine(context.
_root
, "check-source.cs"), SourceCheckProgram, cancellationToken);
125
var consentOutput = await File.ReadAllTextAsync(Path.Combine(
_root
, "consent.log"), _cancellationToken);
128
Assert.False(Directory.Exists(Path.Combine(
_root
, "SourceApp")));
146
Assert.Equal("accepted", await File.ReadAllTextAsync(Path.Combine(
_root
, "git-authenticated.txt"), _cancellationToken));
195
await File.ReadAllTextAsync(Path.Combine(
_root
, "run.log"), _cancellationToken));
204
var updateOutput = await File.ReadAllTextAsync(Path.Combine(
_root
, "update.log"), _cancellationToken);
254
return JsonNode.Parse(await File.ReadAllTextAsync(Path.Combine(
_root
, "actual-config.json"), _cancellationToken))!.AsObject();
258
=> (await File.ReadAllTextAsync(Path.Combine(
_root
, "source-version.txt"), _cancellationToken)).Trim();
268
var directory = Directory.CreateDirectory(Path.Combine(
_root
, "configuration source", "teams"));
286
await File.WriteAllTextAsync(Path.Combine(
_root
, "ssh-probe.cs"), SshProbeProgram, _cancellationToken);