diff options
Diffstat (limited to 'testshl2/source/cppunit/result/TestSucessListener.cpp')
-rw-r--r-- | testshl2/source/cppunit/result/TestSucessListener.cpp | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/testshl2/source/cppunit/result/TestSucessListener.cpp b/testshl2/source/cppunit/result/TestSucessListener.cpp deleted file mode 100644 index d8f8268f09aa..000000000000 --- a/testshl2/source/cppunit/result/TestSucessListener.cpp +++ /dev/null @@ -1,50 +0,0 @@ -// MARKER(update_precomp.py): autogen include statement, do not remove -#include "precompiled_testshl2.hxx" - - -#include <testshl/result/TestSucessListener.h> - - - -namespace CppUnit -{ - - -TestSucessListener::TestSucessListener( SynchronizationObject *syncObject ) - : SynchronizedObject( syncObject ) - , m_sucess( true ) -{ -} - - -TestSucessListener::~TestSucessListener() -{ -} - - -void -TestSucessListener::reset() -{ - ExclusiveZone zone( m_syncObject ); - m_sucess = true; -} - - -void -TestSucessListener::addFailure( const TestFailure & ) -{ - ExclusiveZone zone( m_syncObject ); - m_sucess = false; -} - - -bool -TestSucessListener::wasSuccessful() const -{ - ExclusiveZone zone( m_syncObject ); - return m_sucess; -} - - -} // namespace CppUnit - |