Removed OverlappedTop.

Updated unit tess.
Fixed bad code paths.
This commit is contained in:
Tig
2024-09-17 17:20:19 -06:00
parent 86d21ef3b7
commit b717892235
43 changed files with 400 additions and 4123 deletions

View File

@@ -903,7 +903,7 @@ One
Assert.True (cb.IsShow);
Assert.Equal (1, cb.SelectedItem);
Assert.Equal ("Two", cb.Text);
// Application.Begin (top);
// Application.Begin (top);
cb.Draw ();
TestHelpers.AssertDriverContentsWithFrameAre (
@@ -990,7 +990,7 @@ Three
Application.Navigation = new ();
var cb = new ComboBox ();
var top = new Toplevel ();
Application.Current = top;
Application.Top = top;
top.Add (cb);
top.FocusDeepest (NavigationDirection.Forward, null);
@@ -1028,6 +1028,8 @@ Three
Assert.Equal (0, cb.Source.Count);
Assert.Equal (-1, cb.SelectedItem);
Assert.Equal ("", cb.Text);
Application.ResetState ();
Application.Top.Dispose ();
Application.ResetState (ignoreDisposed: true);
}
}