mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Trying to fix unit test failuries
This commit is contained in:
@@ -181,6 +181,7 @@ public class ConfigurationManagerTests
|
||||
[Fact]
|
||||
public void Load_Raises_Updated ()
|
||||
{
|
||||
ThrowOnJsonErrors = true;
|
||||
Locations = ConfigLocations.All;
|
||||
Reset ();
|
||||
Assert.Equal (Key.Esc, (((Key)Settings! ["Application.QuitKey"].PropertyValue)!).KeyCode);
|
||||
@@ -194,8 +195,8 @@ public class ConfigurationManagerTests
|
||||
}
|
||||
|
||||
// Act
|
||||
// Do NOT reset
|
||||
Load (false);
|
||||
// Reset to cause load to raise event
|
||||
Load (true);
|
||||
|
||||
// assert
|
||||
Assert.True (fired);
|
||||
|
||||
@@ -8,6 +8,8 @@ public class AllViewsDrawTests (ITestOutputHelper _output) : TestsAllViews
|
||||
[MemberData (nameof (AllViewTypes))]
|
||||
public void AllViews_Draw_Does_Not_Layout (Type viewType)
|
||||
{
|
||||
Application.ResetState (true);
|
||||
|
||||
var view = (View)CreateInstanceIfNotGeneric (viewType);
|
||||
|
||||
if (view == null)
|
||||
|
||||
Reference in New Issue
Block a user