diff options
author | Yoann Lopes <yoann.lopes@nokia.com> | 2011-03-10 15:30:19 +0100 |
---|---|---|
committer | Yoann Lopes <yoann.lopes@nokia.com> | 2011-03-10 15:34:28 +0100 |
commit | 84bf7d06e096cc5f49f0699d6e55d27119fc6b68 (patch) | |
tree | c1c32bfb5a05ec452c58619cd04031f295c902a0 | |
parent | a3130f0b4a4199316029c299b89ef5ef9c1f785e (diff) |
Fix test result not properly being reset.
-rw-r--r-- | src/test.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |