mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 00:46:39 +01:00
Rename IApplication.Current to TopRunnable
Co-authored-by: tig <585482+tig@users.noreply.github.com>
This commit is contained in:
@@ -40,7 +40,7 @@ public class SpinnerViewTests (ITestOutputHelper output)
|
||||
// Dispose clears timeout
|
||||
view.Dispose ();
|
||||
Assert.Empty (Application.TimedEvents.Timeouts);
|
||||
Application.Current.Dispose ();
|
||||
Application.TopRunnable.Dispose ();
|
||||
}
|
||||
|
||||
[Fact]
|
||||
@@ -62,7 +62,7 @@ public class SpinnerViewTests (ITestOutputHelper output)
|
||||
|
||||
expected = "/";
|
||||
DriverAssert.AssertDriverContentsWithFrameAre (expected, output);
|
||||
Application.Current.Dispose ();
|
||||
Application.TopRunnable.Dispose ();
|
||||
}
|
||||
|
||||
[Fact]
|
||||
@@ -95,7 +95,7 @@ public class SpinnerViewTests (ITestOutputHelper output)
|
||||
|
||||
//expected = "|";
|
||||
//DriverAsserts.AssertDriverContentsWithFrameAre (expected, output);
|
||||
Application.Current.Dispose ();
|
||||
Application.TopRunnable.Dispose ();
|
||||
}
|
||||
|
||||
private SpinnerView GetSpinnerView ()
|
||||
|
||||
Reference in New Issue
Block a user