Fixes #4374 - Nukes all (?) legacy Driver and Application stuff; revamps tests (#4376)

This commit is contained in:
Tig
2025-11-11 16:29:33 -07:00
committed by GitHub
parent 559dea9239
commit d53fcd7485
310 changed files with 14827 additions and 16911 deletions

View File

@@ -1,11 +1,10 @@
using System.Text;
using UnitTests;
using UnitTests.Parallelizable;
using Xunit.Abstractions;
namespace UnitTests_Parallelizable.ViewsTests;
public class TextFieldTests (ITestOutputHelper output) : ParallelizableBase
public class TextFieldTests (ITestOutputHelper output) : FakeDriverBase
{
[Fact]
public void Cancel_TextChanging_ThenBackspace ()
@@ -561,7 +560,7 @@ public class TextFieldTests (ITestOutputHelper output) : ParallelizableBase
[Fact]
public void Accented_Letter_With_Three_Combining_Unicode_Chars ()
{
IConsoleDriver driver = CreateFakeDriver ();
IDriver driver = CreateFakeDriver ();
var tf = new TextField { Width = 3, Text = "ắ" };
tf.Driver = driver;
@@ -612,7 +611,7 @@ public class TextFieldTests (ITestOutputHelper output) : ParallelizableBase
[Fact]
public void Adjust_First ()
{
IConsoleDriver driver = CreateFakeDriver ();
IDriver driver = CreateFakeDriver ();
var tf = new TextField { Width = Dim.Fill (), Text = "This is a test." };
tf.Driver = driver;