1
#ifndef CPPUNIT_EXTENSIONS_REPEATEDTEST_H
2
#define CPPUNIT_EXTENSIONS_REPEATEDTEST_H
4
#include <cppunit/Portability.h>
5
#include <cppunit/extensions/TestDecorator.h>
14
/*! \brief Decorator that runs a test repeatedly.
16
* Does not assume ownership of the test it decorates
18
class CPPUNIT_API RepeatedTest : public TestDecorator
21
RepeatedTest( Test *test,
23
TestDecorator( test ),
24
m_timesRepeat(timesRepeat)
28
void run( TestResult *result );
30
int countTestCases() const;
33
RepeatedTest( const RepeatedTest & );
34
void operator=( const RepeatedTest & );
36
const int m_timesRepeat;
43
#endif // CPPUNIT_EXTENSIONS_REPEATEDTEST_H