From 7d7ca4edbfefeeea5c0b809b18845704af5cba5f Mon Sep 17 00:00:00 2001 From: John Lewin Date: Thu, 12 Oct 2017 12:48:16 -0700 Subject: [PATCH] Override WindowType for tests --- .../MatterControl/MatterControlUtilities.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Tests/MatterControl.Tests/MatterControl/MatterControlUtilities.cs b/Tests/MatterControl.Tests/MatterControl/MatterControlUtilities.cs index 729486ee6..b8ce4d763 100644 --- a/Tests/MatterControl.Tests/MatterControl/MatterControlUtilities.cs +++ b/Tests/MatterControl.Tests/MatterControl/MatterControlUtilities.cs @@ -460,6 +460,9 @@ namespace MatterHackers.MatterControl.Tests.Automation staticDataPathOverride = TestContext.CurrentContext.ResolveProjectPath(5, "MatterControl", "StaticData"); } + // Override the default SystemWindow type without config.json + AggContext.Config.ProviderTypes.SystemWindow = "MatterHackers.Agg.UI.OpenGLSystemWindow, agg_platform_win32"; + #if DEBUG string outputDirectory = "Debug"; #else