diff options
Diffstat (limited to 'src/cppunit/TestResult.cpp')
-rw-r--r-- | src/cppunit/TestResult.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cppunit/TestResult.cpp b/src/cppunit/TestResult.cpp index a7bccc3..90658ab 100644 --- a/src/cppunit/TestResult.cpp +++ b/src/cppunit/TestResult.cpp @@ -13,6 +13,7 @@ CPPUNIT_NS_BEGIN TestResult::TestResult( SynchronizationObject *syncObject ) : SynchronizedObject( syncObject ) , m_protectorChain( new ProtectorChain() ) + , m_stop( false ) { m_protectorChain->push( new DefaultProtector() ); } @@ -25,6 +26,14 @@ TestResult::~TestResult() void +TestResult::reset() +{ + ExclusiveZone zone( m_syncObject ); + m_stop = false; +} + + +void TestResult::addError( Test *test, Exception *e ) { |