rename method

This commit is contained in:
Matt Parker
2025-11-04 21:26:01 +10:00
parent fcf5ccf357
commit be8ba710b3

View File

@@ -73,11 +73,11 @@ public partial class TestExplorerPanel : Control
await _buildService.MsBuildAsync(solution.FilePath); await _buildService.MsBuildAsync(solution.FilePath);
await this.InvokeAsync(() => _testNodesVBoxContainer.QueueFreeChildren()); await this.InvokeAsync(() => _testNodesVBoxContainer.QueueFreeChildren());
_testNodeEntryNodes.Clear(); _testNodeEntryNodes.Clear();
await _testRunnerService.RunTestsAsync(solution, Func); await _testRunnerService.RunTestsAsync(solution, HandleTestNodeUpdates);
}); });
} }
private async Task Func(TestNodeUpdate[] nodeUpdates) private async Task HandleTestNodeUpdates(TestNodeUpdate[] nodeUpdates)
{ {
// Receive node updates - could be discovery, running, success, failed, skipped, etc // Receive node updates - could be discovery, running, success, failed, skipped, etc
await this.InvokeAsync(() => await this.InvokeAsync(() =>