diff options
author | Keting Yang <ketyang@microsoft.com> | 2019-08-15 18:06:21 +0300 |
---|---|---|
committer | Keting Yang <ketyang@microsoft.com> | 2019-09-04 17:19:03 +0300 |
commit | 7310e60275cb2fed042887a068ac3fc9a14c216a (patch) | |
tree | 6ed1231dce736d5370c13d02c8c907a179341050 /main/src/addins/MonoDevelop.UnitTesting | |
parent | 498a2cec14d69b56372b85799bce5f2644bc3f03 (diff) |
Use RunTest instead of RunTests, change buttonDebugAll.Sensitive according to buttonRunAll.Sensitive
Diffstat (limited to 'main/src/addins/MonoDevelop.UnitTesting')
-rw-r--r-- | main/src/addins/MonoDevelop.UnitTesting/Gui/TestPad.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/main/src/addins/MonoDevelop.UnitTesting/Gui/TestPad.cs b/main/src/addins/MonoDevelop.UnitTesting/Gui/TestPad.cs index 8cc5bffead..dc8b0efd19 100644 --- a/main/src/addins/MonoDevelop.UnitTesting/Gui/TestPad.cs +++ b/main/src/addins/MonoDevelop.UnitTesting/Gui/TestPad.cs @@ -545,6 +545,7 @@ namespace MonoDevelop.UnitTesting UnitTestService.ResetResult (test.RootTest); this.buttonRunAll.Sensitive = false; + this.buttonDebugAll.Sensitive = false; this.buttonStop.Sensitive = true; ExecutionContext context = new ExecutionContext (mode, IdeApp.Workbench.ProgressMonitors.ConsoleFactory, null); @@ -574,7 +575,8 @@ namespace MonoDevelop.UnitTesting foreach (var mode in debugModeSet.ExecutionModes) { if (test.CanRun (mode.ExecutionHandler)) { - RunTests (TreeView.GetSelectedNodes (), mode.ExecutionHandler); + RunTest (test, mode.ExecutionHandler); + return; } } |