mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
Merge remote-tracking branch 'refs/remotes/origin/v2_2491-Toplevel-Redesign' into v2_2491-Toplevel-Redesign
This commit is contained in:
@@ -254,7 +254,7 @@ public class CheckBoxTests (ITestOutputHelper output)
|
||||
top.Add (win);
|
||||
|
||||
Application.Begin (top);
|
||||
((FakeDriver)Application.Driver).SetBufferSize (30, 5);
|
||||
((FakeDriver)Application.Driver!).SetBufferSize (30, 5);
|
||||
|
||||
Assert.Equal (Alignment.Center, checkBox.TextAlignment);
|
||||
Assert.Equal (new (1, 1, 25, 1), checkBox.Frame);
|
||||
@@ -314,7 +314,7 @@ public class CheckBoxTests (ITestOutputHelper output)
|
||||
top.Add (win);
|
||||
|
||||
Application.Begin (top);
|
||||
((FakeDriver)Application.Driver).SetBufferSize (30, 6);
|
||||
((FakeDriver)Application.Driver!).SetBufferSize (30, 6);
|
||||
|
||||
Assert.Equal (Alignment.Fill, checkBox1.TextAlignment);
|
||||
Assert.Equal (new (1, 1, 25, 1), checkBox1.Frame);
|
||||
@@ -372,7 +372,7 @@ public class CheckBoxTests (ITestOutputHelper output)
|
||||
top.Add (win);
|
||||
|
||||
Application.Begin (top);
|
||||
((FakeDriver)Application.Driver).SetBufferSize (30, 5);
|
||||
((FakeDriver)Application.Driver!).SetBufferSize (30, 5);
|
||||
|
||||
Assert.Equal (Alignment.Start, checkBox.TextAlignment);
|
||||
Assert.Equal (new (1, 1, 25, 1), checkBox.Frame);
|
||||
@@ -423,7 +423,7 @@ public class CheckBoxTests (ITestOutputHelper output)
|
||||
top.Add (win);
|
||||
|
||||
Application.Begin (top);
|
||||
((FakeDriver)Application.Driver).SetBufferSize (30, 5);
|
||||
((FakeDriver)Application.Driver!).SetBufferSize (30, 5);
|
||||
|
||||
Assert.Equal (Alignment.End, checkBox.TextAlignment);
|
||||
Assert.Equal (new (1, 1, 25, 1), checkBox.Frame);
|
||||
|
||||
Reference in New Issue
Block a user