3 instantiations of GitHubTextDownload
AnalyzeCiFailure (3)
tools\Aspire.TestTools\GitHubApiClient.cs (2)
187
return new
GitHubTextDownload
(Encoding.UTF8.GetString(output.GetBuffer(), index: 0, (int)output.Length), Error: null);
193
return new
GitHubTextDownload
(Encoding.UTF8.GetString(output.GetBuffer(), index: 0, (int)output.Length), error.Message);
WorkflowRunEvidenceCollector.cs (1)
433
logResult = new
GitHubTextDownload
("", error.Message);
9 references to GitHubTextDownload
AnalyzeCiFailure (3)
Infrastructure\AnalysisGitHubClient.cs (1)
65
internal Task<
GitHubTextDownload
> DownloadTextAsync(string endpoint, long maximumBytes)
tools\Aspire.TestTools\GitHubApiClient.cs (1)
175
public async Task<
GitHubTextDownload
> DownloadTextAsync(string endpoint, long maximumBytes, CancellationToken cancellationToken)
WorkflowRunEvidenceCollector.cs (1)
426
GitHubTextDownload
logResult;
AnalyzeCiFailure.Tests (6)
GitHubApiClientTests.cs (6)
597
var
result = await client.DownloadTextAsync("logs", maximumBytes: 100, default);
617
var
result = await client.DownloadTextAsync("repos/a/b/logs?token=secret", maximumBytes: 100, default);
638
var
result = await client.DownloadTextAsync("logs", maximumBytes: 100, default);
657
var
result = await client.DownloadTextAsync("logs", maximumBytes: 100, default);
704
var
result = await client.DownloadTextAsync("logs", maximumBytes: 100, default);
718
var
result = await client.DownloadTextAsync("logs", maximumBytes: 5, default);