diff options
author | Mike Krüger <mkrueger@novell.com> | 2011-04-27 13:09:04 +0400 |
---|---|---|
committer | Mike Krüger <mkrueger@novell.com> | 2011-04-27 13:39:17 +0400 |
commit | 92451a19f5986e44672f5219dca3df8e56995f3a (patch) | |
tree | b72df25cd217da2b80eee8fa99f53a214559fea3 /main/src/addins/NUnit | |
parent | 6e6b1dbc46e8adc335f725a63aa212830d2969f5 (diff) |
Clear internal error when starting new test run (part of 'Bug 677228 -
RemotingException isn't counted as failure').
Diffstat (limited to 'main/src/addins/NUnit')
-rw-r--r-- | main/src/addins/NUnit/Gui/TestResultsPad.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/main/src/addins/NUnit/Gui/TestResultsPad.cs b/main/src/addins/NUnit/Gui/TestResultsPad.cs index d2b938d244..78c57dfb86 100644 --- a/main/src/addins/NUnit/Gui/TestResultsPad.cs +++ b/main/src/addins/NUnit/Gui/TestResultsPad.cs @@ -241,6 +241,10 @@ namespace MonoDevelop.NUnit public void OnTestSuiteChanged (object sender, EventArgs e) { results.Clear (); + + error = null; + errorMessage = null; + failuresStore.Clear (); outputView.Buffer.Clear (); outIters.Clear (); @@ -286,6 +290,10 @@ namespace MonoDevelop.NUnit rootTest = test; results.Clear (); testsToRun = test.CountTestCases (); + + error = null; + errorMessage = null; + progressBar.Fraction = 0; progressBar.Text = ""; progressBar.Text = "0 / " + testsToRun; |