diff options
author | Matt Ward <matt.ward@microsoft.com> | 2018-01-19 20:31:35 +0300 |
---|---|---|
committer | Matt Ward <matt.ward@microsoft.com> | 2018-01-19 20:39:43 +0300 |
commit | b72f2ea740e601900855f70963e7c3bc5d7fcd5e (patch) | |
tree | 9191262df9d168673a0833ffa45d0be761e60719 /main/src/addins/MonoDevelop.UnitTesting.NUnit | |
parent | 065dd8254041f370962c83e38b3c8abd1dc760b9 (diff) |
[NUnit] Fix load error not being removed from Unit Tests window
After a load error occurs the Unit Tests window displays an error
icon and an error tooltip. After fixing the load error the error
icon and tooltip would not be removed from the Unit Tests window
until after the project was closed and re-opened.
Diffstat (limited to 'main/src/addins/MonoDevelop.UnitTesting.NUnit')
-rw-r--r-- | main/src/addins/MonoDevelop.UnitTesting.NUnit/MonoDevelop.UnitTesting.NUnit/NUnitAssemblyTestSuite.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/src/addins/MonoDevelop.UnitTesting.NUnit/MonoDevelop.UnitTesting.NUnit/NUnitAssemblyTestSuite.cs b/main/src/addins/MonoDevelop.UnitTesting.NUnit/MonoDevelop.UnitTesting.NUnit/NUnitAssemblyTestSuite.cs index 67852fee35..31fdbe851f 100644 --- a/main/src/addins/MonoDevelop.UnitTesting.NUnit/MonoDevelop.UnitTesting.NUnit/NUnitAssemblyTestSuite.cs +++ b/main/src/addins/MonoDevelop.UnitTesting.NUnit/MonoDevelop.UnitTesting.NUnit/NUnitAssemblyTestSuite.cs @@ -209,6 +209,8 @@ namespace MonoDevelop.UnitTesting.NUnit Runtime.RunInMainThread (delegate { if (ld.Error != null) this.ErrorMessage = ld.Error.Message; + else + ErrorMessage = string.Empty; AsyncCreateTests (ld); }); }; |