1 write to _cancellationToken
Aspire.Cli.EndToEnd.Tests (1)
Helpers\ConfigSourceTestContext.cs (1)
33
_cancellationToken
= cancellationToken;
13 references to _cancellationToken
Aspire.Cli.EndToEnd.Tests (13)
Helpers\ConfigSourceTestContext.cs (13)
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
);
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
);
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();
462
""",
_cancellationToken
);
470
await File.WriteAllTextAsync(Path.Combine(_root, "ssh-probe.cs"), SshProbeProgram,
_cancellationToken
);