1
#include <cppunit/extensions/RepeatedTest.h>
2
#include <cppunit/TestResult.h>
7
// Counts the number of test cases that will be run by this test.
9
RepeatedTest::countTestCases() const
11
return TestDecorator::countTestCases() * m_timesRepeat;
15
// Runs a repeated test
17
RepeatedTest::run( TestResult *result )
19
for ( int n = 0; n < m_timesRepeat; n++ )
21
if ( result->shouldStop() )
24
TestDecorator::run( result );