mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-02 01:03:29 +01:00
Change ClearScreenNextIteration to internal and trying to fix unit test failure
This commit is contained in:
@@ -47,7 +47,7 @@ public class ApplicationScreenTests
|
||||
Assert.Equal (0, clearedContentsRaised);
|
||||
|
||||
// Act
|
||||
Application.Top.SetNeedsLayout ();
|
||||
Application.Top!.SetNeedsLayout ();
|
||||
Application.LayoutAndDraw ();
|
||||
|
||||
// Assert
|
||||
@@ -67,6 +67,20 @@ public class ApplicationScreenTests
|
||||
// Assert
|
||||
Assert.Equal (2, clearedContentsRaised);
|
||||
|
||||
// Act
|
||||
Application.Top.Y = 1;
|
||||
Application.LayoutAndDraw ();
|
||||
|
||||
// Assert
|
||||
Assert.Equal (3, clearedContentsRaised);
|
||||
|
||||
// Act
|
||||
Application.Top.Height = 10;
|
||||
Application.LayoutAndDraw ();
|
||||
|
||||
// Assert
|
||||
Assert.Equal (4, clearedContentsRaised);
|
||||
|
||||
Application.End (rs);
|
||||
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user