mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-27 00:07:58 +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)]
|
||||
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 ();
|
||||
var win = new Window ();
|
||||
top.Add (win);
|
||||
|
||||
Reference in New Issue
Block a user