mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 08:50:25 +01:00
Fixes #3692++ - Rearchitects drivers (#3837)
This commit is contained in:
@@ -5,10 +5,13 @@ namespace Terminal.Gui.LayoutTests;
|
||||
public class AllViewsDrawTests (ITestOutputHelper _output) : TestsAllViews
|
||||
{
|
||||
[Theory]
|
||||
[SetupFakeDriver] // Required for spinner view that wants to register timeouts
|
||||
[MemberData (nameof (AllViewTypes))]
|
||||
public void AllViews_Draw_Does_Not_Layout (Type viewType)
|
||||
{
|
||||
Application.ResetState (true);
|
||||
// Required for spinner view that wants to register timeouts
|
||||
Application.MainLoop = new MainLoop (new FakeMainLoop (Application.Driver));
|
||||
|
||||
var view = (View)CreateInstanceIfNotGeneric (viewType);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user