10 references to CommentScriptResult
Infrastructure.Tests (10)
WorkflowScripts\SelectTestsCommentScriptTests.cs (10)
48var result = await RunCommentScriptAsync(summaryPath, PullRequestContext(headSha, contextSha: "0000000fa11bac0fa11bac0fa11bac0fa11bac00"), older);
74var result = await RunCommentScriptAsync(summaryPath, PullRequestContext(headSha, contextSha: "deadbeefdeadbeefdeadbeefdeadbeefdeadbeef"), current, older);
94var result = await RunCommentScriptAsync(summaryPath, NonPullRequestContext(contextSha));
107var result = await RunCommentScriptAsync(missingPath, PullRequestContext("abcdef1234567890", contextSha: "fedcba0987654321"));
125var result = await RunCommentScriptAsync(summaryPath, PullRequestContext(headSha, contextSha: headSha), legacy);
144var result = await RunCommentScriptAsync(summaryPath, PullRequestContext(headSha, contextSha: headSha), older1, older2, older3);
166var result = await RunCommentScriptAsync(
221private async Task<CommentScriptResult> RunCommentScriptAsync(string commentFile, object context, params object[] existingComments)
227private async Task<CommentScriptResult> RunCommentScriptAsync(string commentFile, object context, string? liveHeadSha, object[] existingComments)
242var response = JsonSerializer.Deserialize<HarnessResponse<CommentScriptResult>>(await File.ReadAllTextAsync(outputPath), s_jsonOptions);