mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
moar unit tests
This commit is contained in:
@@ -558,7 +558,6 @@ public class ButtonTests (ITestOutputHelper output)
|
||||
}
|
||||
|
||||
[Fact]
|
||||
[AutoInitShutdown (configLocation: ConfigurationManager.ConfigLocations.None)]
|
||||
public void Update_Only_On_Or_After_Initialize ()
|
||||
{
|
||||
Button.DefaultShadow = ShadowStyle.None;
|
||||
@@ -593,7 +592,7 @@ public class ButtonTests (ITestOutputHelper output)
|
||||
}
|
||||
|
||||
[Fact]
|
||||
[AutoInitShutdown (configLocation: ConfigurationManager.ConfigLocations.None)]
|
||||
[AutoInitShutdown]
|
||||
public void Update_Parameterless_Only_On_Or_After_Initialize ()
|
||||
{
|
||||
Button.DefaultShadow = ShadowStyle.None;
|
||||
|
||||
@@ -424,7 +424,7 @@ public class MenuBarTests (ITestOutputHelper output)
|
||||
}
|
||||
|
||||
[Fact]
|
||||
[AutoInitShutdown (configLocation: ConfigurationManager.ConfigLocations.None)]
|
||||
[AutoInitShutdown]
|
||||
public void Draw_A_Menu_Over_A_Dialog ()
|
||||
{
|
||||
// Override CM
|
||||
|
||||
@@ -5,7 +5,7 @@ namespace Terminal.Gui.ViewsTests;
|
||||
public class ProgressBarTests
|
||||
{
|
||||
[Fact]
|
||||
[AutoInitShutdown (configLocation: ConfigurationManager.ConfigLocations.None)]
|
||||
[AutoInitShutdown]
|
||||
public void Default_Constructor ()
|
||||
{
|
||||
var pb = new ProgressBar ();
|
||||
|
||||
@@ -1134,7 +1134,7 @@ This is a test
|
||||
}
|
||||
|
||||
[Fact]
|
||||
[AutoInitShutdown (configLocation: ConfigurationManager.ConfigLocations.None)]
|
||||
[AutoInitShutdown]
|
||||
public void ShowScrollIndicator_False_Must_Also_Set_Visible_To_False_To_Not_Respond_To_Events ()
|
||||
{
|
||||
// Override CM
|
||||
|
||||
@@ -1355,7 +1355,7 @@ public partial class ToplevelTests (ITestOutputHelper output)
|
||||
|
||||
// Don't use Dialog as a Top, use a Window instead - dialog has complex layout behavior that is not needed here.
|
||||
[Fact]
|
||||
[AutoInitShutdown (configLocation: ConfigurationManager.ConfigLocations.None)]
|
||||
[AutoInitShutdown]
|
||||
public void Draw_A_Top_Subview_On_A_Window ()
|
||||
{
|
||||
// Override CM
|
||||
|
||||
Reference in New Issue
Block a user