diff options
Diffstat (limited to 'src/framework/GuiUnit/TestRunner.cs')
-rw-r--r-- | src/framework/GuiUnit/TestRunner.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/framework/GuiUnit/TestRunner.cs b/src/framework/GuiUnit/TestRunner.cs index 996bc42..4ffd57b 100644 --- a/src/framework/GuiUnit/TestRunner.cs +++ b/src/framework/GuiUnit/TestRunner.cs @@ -46,7 +46,7 @@ namespace GuiUnit static TestRunner () { LoadFileMethod = typeof(Assembly).GetMethods ().FirstOrDefault (m => { - return m.Name == "LoadFile" && m.GetParameters ().Length == 1 && m.GetParameters () [0].ParameterType == typeof(string); + return m.Name == "LoadFrom" && m.GetParameters ().Length == 1 && m.GetParameters () [0].ParameterType == typeof(string); }); } @@ -59,6 +59,7 @@ namespace GuiUnit try { mainLoop = mainLoop ?? new XwtMainLoopIntegration (); } catch { } try { mainLoop = mainLoop ?? new MonoMacMainLoopIntegration (); } catch { } try { mainLoop = mainLoop ?? new GtkMainLoopIntegration (); } catch { } + mainLoop = mainLoop ?? new ConsoleMainLoop (); return mainLoop; } set { mainLoop = value; |