summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoann Lopes <yoann.lopes@nokia.com>2011-03-10 15:30:19 +0100
committerYoann Lopes <yoann.lopes@nokia.com>2011-03-10 15:34:28 +0100
commit84bf7d06e096cc5f49f0699d6e55d27119fc6b68 (patch)
treec1c32bfb5a05ec452c58619cd04031f295c902a0
parenta3130f0b4a4199316029c299b89ef5ef9c1f785e (diff)
Fix test result not properly being reset.
-rw-r--r--src/test.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test.h b/src/test.h
index 2bd1ed9..6f4910e 100644
--- a/src/test.h
+++ b/src/test.h
@@ -95,7 +95,10 @@ public:
inline Test::TestStatus status() const
{ return teststatus; }
inline void reset()
- { setStatus(Initial); }
+ {
+ setStatus(Initial);
+ output.clear();
+ }
TestResult result() const
{ return r; }
inline QString proFile() const