Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/guiunit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Bockover <abock@xamarin.com>2015-12-03 21:02:31 +0300
committerAaron Bockover <abock@xamarin.com>2015-12-03 21:02:31 +0300
commitad28ae12928cce579ae2f9450291dd7648dad76b (patch)
treef080a9694e3608347dfd41090b49a854fdab907a
parent4acdd020b35bc8df648811d82a4873e2add4c6e2 (diff)
TestRunner: expose ExitCode
This allows custom main loop integrations to use it when Shutdown is called in the case where the integration's IMainLoopIntegration.RunMainLoop is a no-op (e.g. the main loop is running already).
-rw-r--r--src/framework/GuiUnit/TestRunner.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/framework/GuiUnit/TestRunner.cs b/src/framework/GuiUnit/TestRunner.cs
index 8e8e2c5..b7ac06e 100644
--- a/src/framework/GuiUnit/TestRunner.cs
+++ b/src/framework/GuiUnit/TestRunner.cs
@@ -38,7 +38,7 @@ namespace GuiUnit
public class TestRunner : ITestListener
{
internal static MethodInfo LoadFileMethod;
- static int ExitCode = 0;
+ public static int ExitCode = 0;
static bool initialized = false;
static IMainLoopIntegration mainLoop;
public static event EventHandler BeforeShutdown;