Skip to content

Commit 7404b2e

Browse files
committed
Removed stale test5
1 parent 7381deb commit 7404b2e

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

UnitTests/View/Navigation/CanFocusTests.cs

-21
Original file line numberDiff line numberDiff line change
@@ -361,25 +361,4 @@ public void CanFocus_Set_True_Get_AdvanceFocus_Works ()
361361
Application.Top.Dispose ();
362362
Application.ResetState ();
363363
}
364-
365-
[Fact (Skip = "Causes crash on Ubuntu in Github Action. Bogus test anyway.")]
366-
public void WindowDispose_CanFocusProblem ()
367-
{
368-
// Arrange
369-
Application.Init ();
370-
using var top = new Toplevel ();
371-
using var view = new View { X = 0, Y = 1, Text = nameof (WindowDispose_CanFocusProblem) };
372-
using var window = new Window ();
373-
top.Add (window);
374-
window.Add (view);
375-
376-
// Act
377-
RunState rs = Application.Begin (top);
378-
Application.End (rs);
379-
top.Dispose ();
380-
Application.Shutdown ();
381-
382-
// Assert does Not throw NullReferenceException
383-
top.SetFocus ();
384-
}
385364
}

0 commit comments

Comments
 (0)