CppUnit project page FAQ CppUnit home page

Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

RepeatedTest.h

Go to the documentation of this file.
00001 #ifndef CPPUNIT_EXTENSIONS_REPEATEDTEST_H 00002 #define CPPUNIT_EXTENSIONS_REPEATEDTEST_H 00003 00004 #include <cppunit/Portability.h> 00005 #include <cppunit/extensions/TestDecorator.h> 00006 00007 CPPUNIT_NS_BEGIN 00008 00009 00010 class Test; 00011 class TestResult; 00012 00013 00018 class CPPUNIT_API RepeatedTest : public TestDecorator 00019 { 00020 public: 00021 RepeatedTest( Test *test, 00022 int timesRepeat ) : 00023 TestDecorator( test ), 00024 m_timesRepeat(timesRepeat) 00025 { 00026 } 00027 00028 void run( TestResult *result ); 00029 00030 int countTestCases() const; 00031 00032 private: 00033 RepeatedTest( const RepeatedTest & ); 00034 void operator=( const RepeatedTest & ); 00035 00036 const int m_timesRepeat; 00037 }; 00038 00039 00040 CPPUNIT_NS_END 00041 00042 00043 #endif // CPPUNIT_EXTENSIONS_REPEATEDTEST_H

SourceForge Logo hosts this site. Send comments to:
CppUnit Developers