mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
Renamed Refresh. COde Cleanup
This commit is contained in:
@@ -219,7 +219,7 @@ public class MessageBoxTests
|
||||
}
|
||||
else if (iterations == 1)
|
||||
{
|
||||
Application.Refresh ();
|
||||
Application.LayoutAndDrawToplevels ();
|
||||
|
||||
TestHelpers.AssertDriverContentsWithFrameAre (
|
||||
@"
|
||||
@@ -236,7 +236,7 @@ public class MessageBoxTests
|
||||
}
|
||||
else if (iterations == 2)
|
||||
{
|
||||
Application.Refresh ();
|
||||
Application.LayoutAndDrawToplevels ();
|
||||
|
||||
TestHelpers.AssertDriverContentsWithFrameAre (
|
||||
@"
|
||||
@@ -291,7 +291,7 @@ public class MessageBoxTests
|
||||
}
|
||||
else if (iterations == 1)
|
||||
{
|
||||
Application.Refresh ();
|
||||
Application.LayoutAndDrawToplevels ();
|
||||
|
||||
TestHelpers.AssertDriverContentsWithFrameAre (
|
||||
@"
|
||||
@@ -311,7 +311,7 @@ public class MessageBoxTests
|
||||
}
|
||||
else if (iterations == 2)
|
||||
{
|
||||
Application.Refresh ();
|
||||
Application.LayoutAndDrawToplevels ();
|
||||
|
||||
TestHelpers.AssertDriverContentsWithFrameAre (
|
||||
@$"
|
||||
@@ -361,7 +361,7 @@ public class MessageBoxTests
|
||||
}
|
||||
else if (iterations == 1)
|
||||
{
|
||||
Application.Refresh ();
|
||||
Application.LayoutAndDrawToplevels ();
|
||||
|
||||
Assert.IsType<Dialog> (Application.Top);
|
||||
Assert.Equal (new (height, width), Application.Top.Frame.Size);
|
||||
@@ -398,7 +398,7 @@ public class MessageBoxTests
|
||||
}
|
||||
else if (iterations == 1)
|
||||
{
|
||||
Application.Refresh ();
|
||||
Application.LayoutAndDrawToplevels ();
|
||||
|
||||
Assert.IsType<Dialog> (Application.Top);
|
||||
Assert.Equal (new (height, width), Application.Top.Frame.Size);
|
||||
@@ -431,7 +431,7 @@ public class MessageBoxTests
|
||||
}
|
||||
else if (iterations == 1)
|
||||
{
|
||||
Application.Refresh ();
|
||||
Application.LayoutAndDrawToplevels ();
|
||||
|
||||
Assert.IsType<Dialog> (Application.Top);
|
||||
Assert.Equal (new (height, width), Application.Top.Frame.Size);
|
||||
@@ -471,7 +471,7 @@ public class MessageBoxTests
|
||||
}
|
||||
else if (iterations == 1)
|
||||
{
|
||||
Application.Refresh ();
|
||||
Application.LayoutAndDrawToplevels ();
|
||||
|
||||
string expectedText = """
|
||||
┌────────────────────────────────────────────────────────────────────┐
|
||||
|
||||
Reference in New Issue
Block a user