11 instantiations of RunTestsPartialResult
Microsoft.CodeAnalysis.LanguageServer (11)
Testing\RunTestsHandler.cs (4)
151
progress.Report(new
RunTestsPartialResult
(LanguageServerResources.Building_project, buildOutput, Progress: null));
181
progress.Report(
new
(LanguageServerResources.Discovering_tests, message, Progress: null));
188
progress.Report(
new
(LanguageServerResources.Discovering_tests, message, Progress: null));
193
progress.Report(
new
(LanguageServerResources.Discovering_tests, message, Progress: null));
Testing\TestDiscoverer.cs (1)
42
var partialResult = new
RunTestsPartialResult
(LanguageServerResources.Discovering_tests, $"{Environment.NewLine}{LanguageServerResources.Starting_test_discovery}", Progress: null);
Testing\TestDiscoverer.DiscoveryHandler.cs (1)
41
_progress.Report(new
RunTestsPartialResult
(LanguageServerResources.Discovering_tests, message, Progress: null));
Testing\TestRunner.cs (1)
42
progress.Report(new
RunTestsPartialResult
(LanguageServerResources.Running_tests, $"{Environment.NewLine}{LanguageServerResources.Starting_test_run}", initialProgress));
Testing\TestRunner.DebugTestHostLauncher.cs (2)
48
progress.Report(new
RunTestsPartialResult
(LanguageServerResources.Debugging_tests, string.Format(LanguageServerResources.Attaching_debugger_to_process_0, processId), Progress: null));
62
progress.Report(new
RunTestsPartialResult
(LanguageServerResources.Debugging_tests, LanguageServerResources.Client_failed_to_attach_the_debugger, Progress: null));
Testing\TestRunner.TestRunHandler.cs (2)
50
var partialResult = new
RunTestsPartialResult
(LanguageServerResources.Running_tests, message ?? string.Empty, stats);
87
_progress.Report(new
RunTestsPartialResult
(LanguageServerResources.Running_tests, message, stats));
17 references to RunTestsPartialResult
Microsoft.CodeAnalysis.LanguageServer (15)
Testing\RunTestsHandler.cs (5)
21
: ILspServiceDocumentRequestHandler<RunTestsParams,
RunTestsPartialResult
[]>
36
public async Task<
RunTestsPartialResult
[]> HandleRequestAsync(RunTestsParams request, RequestContext context, CancellationToken cancellationToken)
122
private async Task BuildAsync(Document document, BufferedProgress<
RunTestsPartialResult
> progress, CancellationToken cancellationToken)
147
static void ReportProgress(BufferedProgress<
RunTestsPartialResult
> progress, string? buildOutput)
170
private async Task<string?> GetRunSettingsAsync(string? runSettingsPath, BufferedProgress<
RunTestsPartialResult
> progress, CancellationToken cancellationToken)
Testing\TestDiscoverer.cs (2)
38
BufferedProgress<
RunTestsPartialResult
> progress,
42
var
partialResult = new RunTestsPartialResult(LanguageServerResources.Discovering_tests, $"{Environment.NewLine}{LanguageServerResources.Starting_test_discovery}", Progress: null);
Testing\TestDiscoverer.DiscoveryHandler.cs (2)
21
private sealed class DiscoveryHandler(BufferedProgress<
RunTestsPartialResult
> progress) : ITestDiscoveryEventsHandler
23
private readonly BufferedProgress<
RunTestsPartialResult
> _progress = progress;
Testing\TestRunner.cs (2)
31
BufferedProgress<
RunTestsPartialResult
> progress,
53
BufferedProgress<
RunTestsPartialResult
> progress,
Testing\TestRunner.DebugTestHostLauncher.cs (1)
15
private sealed class DebugTestHostLauncher(BufferedProgress<
RunTestsPartialResult
> progress, IClientLanguageServerManager clientLanguageServerManager) : ITestHostLauncher2, ITestHostLauncher3
Testing\TestRunner.TestRunHandler.cs (3)
20
private sealed class TestRunHandler(BufferedProgress<
RunTestsPartialResult
> progress, TestProgress initialProgress, ILogger logger) : ITestRunEventsHandler
23
private readonly BufferedProgress<
RunTestsPartialResult
> _progress = progress;
50
var
partialResult = new RunTestsPartialResult(LanguageServerResources.Running_tests, message ?? string.Empty, stats);
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Handler\Testing\RunTestsParams.cs (2)
16
) : LSP.IPartialResultParams<
RunTestsPartialResult
>
20
public IProgress<
RunTestsPartialResult
>? PartialResultToken { get; set; }