Files
Copilot 92684240bd Fixes #3956. Refactor unit test projects: rename UnitTests→Legacy, add NonParallelizable, eliminate Legacy tests (#4845)
* Initial plan

* Refactor tests: rename UnitTests to UnitTests.Legacy, add UnitTests.NonParallelizable

Co-authored-by: tig <585482+tig@users.noreply.github.com>
Agent-Logs-Url: https://github.com/gui-cs/Terminal.Gui/sessions/ef0c73fd-ea61-4cf7-a133-0722922a198b

* Fix IntegrationTests.csproj: update project reference from UnitTests to UnitTests.Legacy

Co-authored-by: tig <585482+tig@users.noreply.github.com>
Agent-Logs-Url: https://github.com/gui-cs/Terminal.Gui/sessions/afc0cfa3-f67a-4db4-8d95-0ca2c16b0d11

* Step 4 iteration 1: delete 37 Legacy test files already covered in UnitTestsParallelizable

Co-authored-by: tig <585482+tig@users.noreply.github.com>
Agent-Logs-Url: https://github.com/gui-cs/Terminal.Gui/sessions/f62dad05-cd4b-4fd9-8b7e-9b1d88aeaaa6

* Step 4 iteration 2: delete 14 more Legacy test files covered in UnitTestsParallelizable

Co-authored-by: tig <585482+tig@users.noreply.github.com>
Agent-Logs-Url: https://github.com/gui-cs/Terminal.Gui/sessions/f62dad05-cd4b-4fd9-8b7e-9b1d88aeaaa6

* Step 4 iteration 3: delete 5 more Legacy test files (Config and TextView/TreeView)

Co-authored-by: tig <585482+tig@users.noreply.github.com>
Agent-Logs-Url: https://github.com/gui-cs/Terminal.Gui/sessions/f62dad05-cd4b-4fd9-8b7e-9b1d88aeaaa6

* Step 4 iteration 4: delete UICatalog tests, move ConfigurationManager+Glyph to NonParallelizable

Co-authored-by: tig <585482+tig@users.noreply.github.com>
Agent-Logs-Url: https://github.com/gui-cs/Terminal.Gui/sessions/f62dad05-cd4b-4fd9-8b7e-9b1d88aeaaa6

* Step 4 iteration 5: delete FrameViewTests (covered incidentally in Para)

Co-authored-by: tig <585482+tig@users.noreply.github.com>
Agent-Logs-Url: https://github.com/gui-cs/Terminal.Gui/sessions/f62dad05-cd4b-4fd9-8b7e-9b1d88aeaaa6

* Step 4 iteration 6: delete StatusBarTests (covered by BarTests in Para)

Co-authored-by: tig <585482+tig@users.noreply.github.com>
Agent-Logs-Url: https://github.com/gui-cs/Terminal.Gui/sessions/f62dad05-cd4b-4fd9-8b7e-9b1d88aeaaa6

* Fix code style: remove trailing whitespace and extra blank lines in NonParallelizable tests

Co-authored-by: tig <585482+tig@users.noreply.github.com>
Agent-Logs-Url: https://github.com/gui-cs/Terminal.Gui/sessions/f62dad05-cd4b-4fd9-8b7e-9b1d88aeaaa6

* Step 4 iteration 7: SpinnerViewTests - add minimal Para tests, delete from Legacy

Co-authored-by: tig <585482+tig@users.noreply.github.com>
Agent-Logs-Url: https://github.com/gui-cs/Terminal.Gui/sessions/2624235d-70c6-4167-986a-2e356513e790

* Step 4 iteration 8: TreeTableSourceTests - add 4 minimal Para tests, delete from Legacy

Co-authored-by: tig <585482+tig@users.noreply.github.com>
Agent-Logs-Url: https://github.com/gui-cs/Terminal.Gui/sessions/2624235d-70c6-4167-986a-2e356513e790

* Step 4 iteration 9: SynchronizatonContextTests - add 2 minimal NonParallelizable tests, delete from Legacy

Co-authored-by: tig <585482+tig@users.noreply.github.com>
Agent-Logs-Url: https://github.com/gui-cs/Terminal.Gui/sessions/2624235d-70c6-4167-986a-2e356513e790

* Step 4 iteration 10: FileSystemCollectionNavigationMatcher tests - add 3 minimal Para tests, delete 4 from Legacy

Co-authored-by: tig <585482+tig@users.noreply.github.com>
Agent-Logs-Url: https://github.com/gui-cs/Terminal.Gui/sessions/2624235d-70c6-4167-986a-2e356513e790

* Step 4 iteration 11: delete TabViewTests from Legacy (TabView being rewritten)

Co-authored-by: tig <585482+tig@users.noreply.github.com>
Agent-Logs-Url: https://github.com/gui-cs/Terminal.Gui/sessions/06b03a9b-22cd-4d33-98b1-c0fd8e054a30

* Step 4 iteration 12: AppendAutocompleteTests - add 4 minimal Para tests, delete 8 from Legacy

Co-authored-by: tig <585482+tig@users.noreply.github.com>
Agent-Logs-Url: https://github.com/gui-cs/Terminal.Gui/sessions/c1ef1d35-7f93-49ac-80a1-929efdc72376

* Step 4 iteration 13: ProgressBarTests - add 4 minimal Para tests, delete 9 from Legacy

Co-authored-by: tig <585482+tig@users.noreply.github.com>
Agent-Logs-Url: https://github.com/gui-cs/Terminal.Gui/sessions/c1ef1d35-7f93-49ac-80a1-929efdc72376

* Step 4 iteration 14: FileDialogTests - add 13 AllowedType Para tests, delete Legacy

Co-authored-by: tig <585482+tig@users.noreply.github.com>
Agent-Logs-Url: https://github.com/gui-cs/Terminal.Gui/sessions/c1ef1d35-7f93-49ac-80a1-929efdc72376

* Step 4 iteration 15: GraphViewTests - add 8 minimal Para tests, delete 44 from Legacy

Co-authored-by: tig <585482+tig@users.noreply.github.com>
Agent-Logs-Url: https://github.com/gui-cs/Terminal.Gui/sessions/c1ef1d35-7f93-49ac-80a1-929efdc72376

* Step 4 iteration 16: TableViewTests - add 15 minimal Para tests, delete Legacy (0 remaining)

Co-authored-by: tig <585482+tig@users.noreply.github.com>
Agent-Logs-Url: https://github.com/gui-cs/Terminal.Gui/sessions/c1ef1d35-7f93-49ac-80a1-929efdc72376

* Fix CI: remove UnitTests.Legacy step from workflow (project now has 0 tests, exit code 8)

Co-authored-by: tig <585482+tig@users.noreply.github.com>
Agent-Logs-Url: https://github.com/gui-cs/Terminal.Gui/sessions/c64ea856-e29d-4929-a7a3-ec6d4737cb6a

* Update SynchronizationContextTests.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update UnitTests.NonParallelizable.csproj

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update unit-tests.yml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update ConfigurationMangerTests.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix SynchronizationContextTests: use modern instance model (Application.Create) instead of legacy Application.Init

Co-authored-by: tig <585482+tig@users.noreply.github.com>
Agent-Logs-Url: https://github.com/gui-cs/Terminal.Gui/sessions/14639665-ebd0-43e0-a118-e5139cc6478e

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: tig <585482+tig@users.noreply.github.com>
Co-authored-by: Tig <tig@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-23 09:13:32 -05:00
..
2021-04-18 17:29:30 -07:00