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