mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
drawming.md
This commit is contained in:
@@ -613,7 +613,7 @@ public class DrawTests (ITestOutputHelper _output)
|
||||
);
|
||||
|
||||
content.X = -1;
|
||||
Application.LayoutAndDrawToplevels ();
|
||||
Application.LayoutAndDraw ();
|
||||
|
||||
TestHelpers.AssertDriverContentsWithFrameAre (
|
||||
"""
|
||||
@@ -628,12 +628,12 @@ public class DrawTests (ITestOutputHelper _output)
|
||||
);
|
||||
|
||||
content.X = -2;
|
||||
Application.LayoutAndDrawToplevels ();
|
||||
Application.LayoutAndDraw ();
|
||||
TestHelpers.AssertDriverContentsWithFrameAre (@"", _output);
|
||||
|
||||
content.X = 0;
|
||||
content.Y = -1;
|
||||
Application.LayoutAndDrawToplevels ();
|
||||
Application.LayoutAndDraw ();
|
||||
|
||||
TestHelpers.AssertDriverContentsWithFrameAre (
|
||||
"""
|
||||
@@ -648,7 +648,7 @@ public class DrawTests (ITestOutputHelper _output)
|
||||
);
|
||||
|
||||
content.Y = -6;
|
||||
Application.LayoutAndDrawToplevels ();
|
||||
Application.LayoutAndDraw ();
|
||||
|
||||
TestHelpers.AssertDriverContentsWithFrameAre (
|
||||
"""
|
||||
@@ -663,7 +663,7 @@ public class DrawTests (ITestOutputHelper _output)
|
||||
);
|
||||
|
||||
content.Y = -19;
|
||||
Application.LayoutAndDrawToplevels ();
|
||||
Application.LayoutAndDraw ();
|
||||
|
||||
TestHelpers.AssertDriverContentsWithFrameAre (
|
||||
"""
|
||||
@@ -674,12 +674,12 @@ public class DrawTests (ITestOutputHelper _output)
|
||||
);
|
||||
|
||||
content.Y = -20;
|
||||
Application.LayoutAndDrawToplevels ();
|
||||
Application.LayoutAndDraw ();
|
||||
TestHelpers.AssertDriverContentsWithFrameAre ("", _output);
|
||||
|
||||
content.X = -2;
|
||||
content.Y = 0;
|
||||
Application.LayoutAndDrawToplevels ();
|
||||
Application.LayoutAndDraw ();
|
||||
TestHelpers.AssertDriverContentsWithFrameAre ("", _output);
|
||||
top.Dispose ();
|
||||
}
|
||||
@@ -719,7 +719,7 @@ public class DrawTests (ITestOutputHelper _output)
|
||||
top.SubviewsLaidOut += Top_LayoutComplete;
|
||||
Application.Begin (top);
|
||||
|
||||
Application.LayoutAndDrawToplevels ();
|
||||
Application.LayoutAndDraw ();
|
||||
TestHelpers.AssertDriverContentsWithFrameAre (
|
||||
"""
|
||||
|
||||
@@ -730,7 +730,7 @@ public class DrawTests (ITestOutputHelper _output)
|
||||
);
|
||||
|
||||
content.X = -1;
|
||||
Application.LayoutAndDrawToplevels ();
|
||||
Application.LayoutAndDraw ();
|
||||
|
||||
TestHelpers.AssertDriverContentsWithFrameAre (
|
||||
"""
|
||||
@@ -742,7 +742,7 @@ public class DrawTests (ITestOutputHelper _output)
|
||||
);
|
||||
|
||||
content.Y = -1;
|
||||
Application.LayoutAndDrawToplevels ();
|
||||
Application.LayoutAndDraw ();
|
||||
|
||||
TestHelpers.AssertDriverContentsWithFrameAre (
|
||||
"""
|
||||
@@ -753,12 +753,12 @@ public class DrawTests (ITestOutputHelper _output)
|
||||
);
|
||||
|
||||
content.Y = -2;
|
||||
Application.LayoutAndDrawToplevels ();
|
||||
Application.LayoutAndDraw ();
|
||||
TestHelpers.AssertDriverContentsWithFrameAre ("", _output);
|
||||
|
||||
content.X = -20;
|
||||
content.Y = 0;
|
||||
Application.LayoutAndDrawToplevels ();
|
||||
Application.LayoutAndDraw ();
|
||||
TestHelpers.AssertDriverContentsWithFrameAre ("", _output);
|
||||
top.Dispose ();
|
||||
|
||||
@@ -806,7 +806,7 @@ public class DrawTests (ITestOutputHelper _output)
|
||||
top.Add (container);
|
||||
Application.Begin (top);
|
||||
|
||||
Application.LayoutAndDrawToplevels ();
|
||||
Application.LayoutAndDraw ();
|
||||
TestHelpers.AssertDriverContentsWithFrameAre (
|
||||
"""
|
||||
|
||||
@@ -820,7 +820,7 @@ public class DrawTests (ITestOutputHelper _output)
|
||||
);
|
||||
|
||||
content.X = -1;
|
||||
Application.LayoutAndDrawToplevels ();
|
||||
Application.LayoutAndDraw ();
|
||||
|
||||
TestHelpers.AssertDriverContentsWithFrameAre (
|
||||
"""
|
||||
@@ -835,12 +835,12 @@ public class DrawTests (ITestOutputHelper _output)
|
||||
);
|
||||
|
||||
content.X = -2;
|
||||
Application.LayoutAndDrawToplevels ();
|
||||
Application.LayoutAndDraw ();
|
||||
TestHelpers.AssertDriverContentsWithFrameAre (@"", _output);
|
||||
|
||||
content.X = 0;
|
||||
content.Y = -1;
|
||||
Application.LayoutAndDrawToplevels ();
|
||||
Application.LayoutAndDraw ();
|
||||
|
||||
TestHelpers.AssertDriverContentsWithFrameAre (
|
||||
"""
|
||||
@@ -855,7 +855,7 @@ public class DrawTests (ITestOutputHelper _output)
|
||||
);
|
||||
|
||||
content.Y = -6;
|
||||
Application.LayoutAndDrawToplevels ();
|
||||
Application.LayoutAndDraw ();
|
||||
|
||||
TestHelpers.AssertDriverContentsWithFrameAre (
|
||||
"""
|
||||
@@ -870,7 +870,7 @@ public class DrawTests (ITestOutputHelper _output)
|
||||
);
|
||||
|
||||
content.Y = -19;
|
||||
Application.LayoutAndDrawToplevels ();
|
||||
Application.LayoutAndDraw ();
|
||||
|
||||
TestHelpers.AssertDriverContentsWithFrameAre (
|
||||
"""
|
||||
@@ -881,12 +881,12 @@ public class DrawTests (ITestOutputHelper _output)
|
||||
);
|
||||
|
||||
content.Y = -20;
|
||||
Application.LayoutAndDrawToplevels ();
|
||||
Application.LayoutAndDraw ();
|
||||
TestHelpers.AssertDriverContentsWithFrameAre ("", _output);
|
||||
|
||||
content.X = -2;
|
||||
content.Y = 0;
|
||||
Application.LayoutAndDrawToplevels ();
|
||||
Application.LayoutAndDraw ();
|
||||
TestHelpers.AssertDriverContentsWithFrameAre ("", _output);
|
||||
top.Dispose ();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user