CppUnit project page | FAQ | CppUnit home page |
#include <RepeatedTest.h>
Inheritance diagram for RepeatedTest:
Public Member Functions | |
RepeatedTest (Test *test, int timesRepeat) | |
void | run (TestResult *result) |
Run the test, collecting results. | |
int | countTestCases () const |
Return the number of test cases invoked by run(). | |
Private Member Functions | |
RepeatedTest (const RepeatedTest &) | |
void | operator= (const RepeatedTest &) |
Private Attributes | |
const int | m_timesRepeat |
Does not assume ownership of the test it decorates
RepeatedTest::RepeatedTest | ( | Test * | test, | |
int | timesRepeat | |||
) | [inline] |
RepeatedTest::RepeatedTest | ( | const RepeatedTest & | ) | [private] |
void RepeatedTest::run | ( | TestResult * | result | ) | [virtual] |
CPPUNIT_NS_BEGIN int RepeatedTest::countTestCases | ( | ) | const [virtual] |
Return the number of test cases invoked by run().
The base unit of testing is the class TestCase. This method returns the number of TestCase objects invoked by the run() method.
Reimplemented from TestDecorator.
void RepeatedTest::operator= | ( | const RepeatedTest & | ) | [private] |
const int RepeatedTest::m_timesRepeat [private] |
|
hosts this site. |
Send comments to: CppUnit Developers |