diff --git a/src/App/DataMorph.App.csproj b/src/App/DataMorph.App.csproj index 14b0ab8..728bce3 100644 --- a/src/App/DataMorph.App.csproj +++ b/src/App/DataMorph.App.csproj @@ -6,7 +6,7 @@ - + diff --git a/tests/DataMorph.Tests/App/AppKeyHandlerTests.cs b/tests/DataMorph.Tests/App/AppKeyHandlerTests.cs index e97858c..370a095 100644 --- a/tests/DataMorph.Tests/App/AppKeyHandlerTests.cs +++ b/tests/DataMorph.Tests/App/AppKeyHandlerTests.cs @@ -207,6 +207,8 @@ private static IApplication CreateTestApp() { var app = Application.Create(); app.Init(DriverRegistry.Names.ANSI); + Assert.NotNull(app.Driver); + app.Driver.SetScreenSize(80, 25); return app; } diff --git a/tests/DataMorph.Tests/App/FileDialogHandlerTests.cs b/tests/DataMorph.Tests/App/FileDialogHandlerTests.cs index efca3d1..65ae6cb 100644 --- a/tests/DataMorph.Tests/App/FileDialogHandlerTests.cs +++ b/tests/DataMorph.Tests/App/FileDialogHandlerTests.cs @@ -39,6 +39,8 @@ private static IApplication CreateTestApp() { var app = Application.Create(); app.Init(DriverRegistry.Names.ANSI); + Assert.NotNull(app.Driver); + app.Driver.SetScreenSize(80, 25); return app; } diff --git a/tests/DataMorph.Tests/App/MainWindowTests.cs b/tests/DataMorph.Tests/App/MainWindowTests.cs index a034d89..96147fb 100644 --- a/tests/DataMorph.Tests/App/MainWindowTests.cs +++ b/tests/DataMorph.Tests/App/MainWindowTests.cs @@ -14,6 +14,8 @@ private static IApplication CreateTestApp() { var app = Application.Create(); app.Init(DriverRegistry.Names.ANSI); + Assert.NotNull(app.Driver); + app.Driver.SetScreenSize(80, 25); return app; } diff --git a/tests/DataMorph.Tests/App/RecipeCommandHandlerTests.cs b/tests/DataMorph.Tests/App/RecipeCommandHandlerTests.cs index f54a452..bf38404 100644 --- a/tests/DataMorph.Tests/App/RecipeCommandHandlerTests.cs +++ b/tests/DataMorph.Tests/App/RecipeCommandHandlerTests.cs @@ -12,6 +12,8 @@ private static IApplication CreateTestApp() { var app = Application.Create(); app.Init(DriverRegistry.Names.ANSI); + Assert.NotNull(app.Driver); + app.Driver.SetScreenSize(80, 25); return app; } diff --git a/tests/DataMorph.Tests/App/ViewManagerTests.cs b/tests/DataMorph.Tests/App/ViewManagerTests.cs index 09e2438..b418320 100644 --- a/tests/DataMorph.Tests/App/ViewManagerTests.cs +++ b/tests/DataMorph.Tests/App/ViewManagerTests.cs @@ -43,6 +43,8 @@ private static IApplication CreateTestApp() { var app = Application.Create(); app.Init(DriverRegistry.Names.ANSI); + Assert.NotNull(app.Driver); + app.Driver.SetScreenSize(80, 25); return app; } diff --git a/tests/DataMorph.Tests/App/Views/ColumnActionHandlerTests.cs b/tests/DataMorph.Tests/App/Views/ColumnActionHandlerTests.cs index 8472723..c2ae47b 100644 --- a/tests/DataMorph.Tests/App/Views/ColumnActionHandlerTests.cs +++ b/tests/DataMorph.Tests/App/Views/ColumnActionHandlerTests.cs @@ -13,6 +13,8 @@ private static IApplication CreateTestApp() { var app = Application.Create(); app.Init(DriverRegistry.Names.ANSI); + Assert.NotNull(app.Driver); + app.Driver.SetScreenSize(80, 25); return app; } diff --git a/tests/DataMorph.Tests/App/Views/Dialogs/ActionMenuDialogTests.cs b/tests/DataMorph.Tests/App/Views/Dialogs/ActionMenuDialogTests.cs index 5e7679a..d683c2f 100644 --- a/tests/DataMorph.Tests/App/Views/Dialogs/ActionMenuDialogTests.cs +++ b/tests/DataMorph.Tests/App/Views/Dialogs/ActionMenuDialogTests.cs @@ -12,6 +12,8 @@ private static IApplication CreateTestApp() { var app = Application.Create(); app.Init(DriverRegistry.Names.ANSI); + Assert.NotNull(app.Driver); + app.Driver.SetScreenSize(80, 25); return app; } diff --git a/tests/DataMorph.Tests/App/Views/Dialogs/HelpDialogTests.cs b/tests/DataMorph.Tests/App/Views/Dialogs/HelpDialogTests.cs index 3447191..baad0af 100644 --- a/tests/DataMorph.Tests/App/Views/Dialogs/HelpDialogTests.cs +++ b/tests/DataMorph.Tests/App/Views/Dialogs/HelpDialogTests.cs @@ -12,6 +12,8 @@ private static IApplication CreateTestApp() { var app = Application.Create(); app.Init(DriverRegistry.Names.ANSI); + Assert.NotNull(app.Driver); + app.Driver.SetScreenSize(80, 25); return app; } diff --git a/tests/DataMorph.Tests/App/Views/JsonArrayTreeViewTests.cs b/tests/DataMorph.Tests/App/Views/JsonArrayTreeViewTests.cs index 4df9ad3..43ee8c9 100644 --- a/tests/DataMorph.Tests/App/Views/JsonArrayTreeViewTests.cs +++ b/tests/DataMorph.Tests/App/Views/JsonArrayTreeViewTests.cs @@ -39,6 +39,8 @@ private static IApplication CreateTestApp() { var app = Application.Create(); app.Init(DriverRegistry.Names.ANSI); + Assert.NotNull(app.Driver); + app.Driver.SetScreenSize(80, 25); return app; } diff --git a/tests/DataMorph.Tests/App/Views/JsonObjectTreeViewTests.cs b/tests/DataMorph.Tests/App/Views/JsonObjectTreeViewTests.cs index 1bb1ec2..3510d06 100644 --- a/tests/DataMorph.Tests/App/Views/JsonObjectTreeViewTests.cs +++ b/tests/DataMorph.Tests/App/Views/JsonObjectTreeViewTests.cs @@ -15,6 +15,8 @@ public JsonObjectTreeViewTests() { _app = Application.Create(); _app.Init(DriverRegistry.Names.ANSI); + Assert.NotNull(_app.Driver); + _app.Driver.SetScreenSize(80, 25); } public void Dispose() => _app.Dispose();