Go to the documentation of this file.    1 #ifndef CPPUNIT_TESTRESULT_H 
    2 #define CPPUNIT_TESTRESULT_H 
    6 #if CPPUNIT_NEED_DLL_DECL 
    7 #pragma warning( push ) 
    8 #pragma warning( disable: 4251 )  // X needs to have dll-interface to be used by clients of class Z 
   67   virtual bool shouldStop() 
const;
 
   70   virtual void startTest( 
Test *test );
 
   84   virtual void endTest( 
Test *test );
 
   87   virtual void startSuite( 
Test *test );
 
   90   virtual void endSuite( 
Test *test );
 
   96   virtual void runTest( 
Test *test );
 
  113   virtual bool protect( 
const Functor &functor,
 
  115                         const std::string &shortDescription = std::string(
"") );
 
  118   virtual void pushProtector( 
Protector *protector );
 
  121   virtual void popProtector();
 
  128   virtual void startTestRun( 
Test *test );
 
  129   virtual void endTestRun( 
Test *test );
 
  146 #if CPPUNIT_NEED_DLL_DECL 
  147 #pragma warning( pop ) 
  150 #endif // CPPUNIT_TESTRESULT_H 
 
#define CPPUNIT_API
Definition: CppUnitApi.h:27
TestListeners m_listeners
Definition: TestResult.h:133
Record of a failed Test execution.
Definition: TestFailure.h:25
Protects one or more test case run.
Definition: Protector.h:48
void operator=(const SynchronizedObject ©)
Prevents the use of the copy operator.
Exceptions thrown by failed assertions.
Definition: Exception.h:20
TestResult(const TestResult &other)
Abstract synchronization object (mutex)
Definition: SynchronizedObject.h:28
bool m_stop
Definition: TestResult.h:135
#define CPPUNIT_NS_BEGIN
Definition: Portability.h:105
#define CPPUNIT_NS_END
Definition: Portability.h:106
Base class for synchronized object.
Definition: SynchronizedObject.h:23
ProtectorChain * m_protectorChain
Definition: TestResult.h:134
Definition: Protector.h:15
Protector chain (Implementation). Implementation detail.
Definition: ProtectorChain.h:20
Base class for all test objects.
Definition: Test.h:26
Manages TestListener.
Definition: TestResult.h:48
std::deque< TestListener * > TestListeners
Definition: TestResult.h:132
Listener for test progress and result.
Definition: TestListener.h:95