mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-02 01:03:29 +01:00
moar unit tests
This commit is contained in:
@@ -1358,6 +1358,12 @@ public partial class ToplevelTests (ITestOutputHelper output)
|
|||||||
[AutoInitShutdown (configLocation: ConfigurationManager.ConfigLocations.None)]
|
[AutoInitShutdown (configLocation: ConfigurationManager.ConfigLocations.None)]
|
||||||
public void Draw_A_Top_Subview_On_A_Window ()
|
public void Draw_A_Top_Subview_On_A_Window ()
|
||||||
{
|
{
|
||||||
|
// Override CM
|
||||||
|
Dialog.DefaultButtonAlignment = Alignment.Center;
|
||||||
|
Dialog.DefaultBorderStyle = LineStyle.Single;
|
||||||
|
Dialog.DefaultShadow = ShadowStyle.None;
|
||||||
|
Button.DefaultShadow = ShadowStyle.None;
|
||||||
|
|
||||||
Toplevel top = new ();
|
Toplevel top = new ();
|
||||||
var win = new Window ();
|
var win = new Window ();
|
||||||
top.Add (win);
|
top.Add (win);
|
||||||
|
|||||||
Reference in New Issue
Block a user