diff options
author | Keting Yang <ketyang@microsoft.com> | 2019-09-09 16:59:51 +0300 |
---|---|---|
committer | Keting Yang <ketyang@microsoft.com> | 2019-09-09 16:59:51 +0300 |
commit | 358ee0bcb03493a33f4d5bbd686589085a0f253c (patch) | |
tree | 2756ff39910503ee8e5c5f59cd5892e092692ab7 /main/src/addins/MonoDevelop.UnitTesting | |
parent | dd1ae4076f18a56e27b45299dfa9c720bf8a9ca6 (diff) |
Continue the loop if any execution handler is found that can run the test
Diffstat (limited to 'main/src/addins/MonoDevelop.UnitTesting')
-rw-r--r-- | main/src/addins/MonoDevelop.UnitTesting/Commands/UnitTestCommands.cs | 1 | ||||
-rw-r--r-- | main/src/addins/MonoDevelop.UnitTesting/Gui/TestPad.cs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/main/src/addins/MonoDevelop.UnitTesting/Commands/UnitTestCommands.cs b/main/src/addins/MonoDevelop.UnitTesting/Commands/UnitTestCommands.cs index 79665c79cc..7c1b64b284 100644 --- a/main/src/addins/MonoDevelop.UnitTesting/Commands/UnitTestCommands.cs +++ b/main/src/addins/MonoDevelop.UnitTesting/Commands/UnitTestCommands.cs @@ -113,6 +113,7 @@ namespace MonoDevelop.UnitTesting.Commands if (test.CanRun (mode.ExecutionHandler)) { ExecutionContext context = new ExecutionContext (mode.ExecutionHandler, IdeApp.Workbench.ProgressMonitors.ConsoleFactory, null); await UnitTestService.RunTests (new UnitTest [] { test }, context, true).Task; + continue; } } } diff --git a/main/src/addins/MonoDevelop.UnitTesting/Gui/TestPad.cs b/main/src/addins/MonoDevelop.UnitTesting/Gui/TestPad.cs index b3d54e61b1..5b26fa011a 100644 --- a/main/src/addins/MonoDevelop.UnitTesting/Gui/TestPad.cs +++ b/main/src/addins/MonoDevelop.UnitTesting/Gui/TestPad.cs @@ -584,6 +584,7 @@ namespace MonoDevelop.UnitTesting if (test.CanRun (mode.ExecutionHandler)) { ExecutionContext context = new ExecutionContext (mode.ExecutionHandler, IdeApp.Workbench.ProgressMonitors.ConsoleFactory, null); await UnitTestService.RunTests (new UnitTest [] { test }, context, true).Task; + continue; } } } |