Commit Graph

3 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
23f4f29518 Remove unnecessary Driver assignments from TextView navigation tests
- Tests that don't call Draw() don't need View.Driver set
- Removed CreateFakeDriver() and Driver assignment from all 11 tests
- Simplified UnwrappedCursorPosition test to not use SetRelativeLayout
- All 181 parallelizable tests still pass

Co-authored-by: tig <585482+tig@users.noreply.github.com>
2025-11-21 21:42:08 +00:00
copilot-swe-agent[bot]
82344d4ea2 Fix potential infinite loop in Tab_With_Home_End_And_BackTab test
- Add bounds check to prevent infinite loop when finding last tab
- Improve loop condition and add safety break
- All tests still pass

Co-authored-by: tig <585482+tig@users.noreply.github.com>
2025-11-21 20:11:39 +00:00
copilot-swe-agent[bot]
114a27141d Replace failing TextView tests with new parallelizable versions
- Created 11 new parallelizable tests in TextViewNavigationTests.cs
- Tests cover tab/backtab navigation, cursor movement, scrolling, word wrap, and unwrapped cursor position
- Deleted 9 old non-parallelizable tests that failed due to ScrollBar layout changes
- Old tests: BackTab_Test_Follow_By_Tab, KeyBindings_Command, Tab_Test_Follow_By_BackTab, Tab_Test_Follow_By_BackTab_With_Text, Tab_Test_Follow_By_CursorLeft_And_Then_Follow_By_CursorRight, Tab_Test_Follow_By_CursorLeft_And_Then_Follow_By_CursorRight_With_Text, Tab_Test_Follow_By_Home_And_Then_Follow_By_End_And_Then_Follow_By_BackTab_With_Text, TabWidth_Setting_To_Zero_Keeps_AllowsTab, UnwrappedCursorPosition_Event
- All 181 parallelizable tests pass (170 existing + 11 new)
- All 93 non-parallelizable tests pass (97 total with 4 skipped)

Co-authored-by: tig <585482+tig@users.noreply.github.com>
2025-11-21 20:08:41 +00:00