From 1dd0978287e923ce1601018dd04c4ce1e768eaf8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 27 Oct 2025 02:35:12 +0000 Subject: [PATCH] Document MockConsoleDriver purpose and verify naming consistency Co-authored-by: tig <585482+tig@users.noreply.github.com> --- .../MockConsoleDriver.cs | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Tests/UnitTestsParallelizable/MockConsoleDriver.cs b/Tests/UnitTestsParallelizable/MockConsoleDriver.cs index 50f025834..534eba20f 100644 --- a/Tests/UnitTestsParallelizable/MockConsoleDriver.cs +++ b/Tests/UnitTestsParallelizable/MockConsoleDriver.cs @@ -2,6 +2,27 @@ using System.Text; +/// +/// Minimal mock implementation for parallelizable unit tests. +/// This is a lightweight stub that provides just enough driver functionality for tests that need +/// to set driver properties but don't need full Application initialization or I/O simulation. +/// +/// +/// +/// Purpose: This mock is specifically designed for tests in the +/// UnitTestsParallelizable project that need to test view behavior in isolation without +/// the overhead of full driver initialization. It's intentionally minimal and thread-safe. +/// +/// +/// Not a replacement for FakeDriver: For tests that need full Application +/// initialization, event firing, input simulation, or output verification, use +/// in the UnitTests project with . +/// +/// +/// Thread Safety: Each test creates its own instance, making it safe for +/// parallel test execution. +/// +/// internal class MockConsoleDriver : IConsoleDriver { public event EventHandler? AttributeSet;