File tree 1 file changed +0
-21
lines changed
UnitTests/View/Navigation
1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -361,25 +361,4 @@ public void CanFocus_Set_True_Get_AdvanceFocus_Works ()
361
361
Application . Top . Dispose ( ) ;
362
362
Application . ResetState ( ) ;
363
363
}
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
- }
385
364
}
You can’t perform that action at this time.
0 commit comments