diff options
author | Aaron Bockover <abock@xamarin.com> | 2015-12-03 21:02:31 +0300 |
---|---|---|
committer | Aaron Bockover <abock@xamarin.com> | 2015-12-03 21:02:31 +0300 |
commit | ad28ae12928cce579ae2f9450291dd7648dad76b (patch) | |
tree | f080a9694e3608347dfd41090b49a854fdab907a | |
parent | 4acdd020b35bc8df648811d82a4873e2add4c6e2 (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.cs | 2 |
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; |