RepeatedTest |
The class RepeatedTest (see Figure C-11) is a subclass of TestDecorator . It runs a Test for a specified number of repetitions.
RepeatedTest belongs to the namespace CppUnit . It is declared in extensions/RepeatedTest.h and implemented in RepeatedTest.cpp .
class RepeatedTest : public TestDecorator
A constructor taking the Test to run and the number of repetitions.
Returns the number of test cases that this RepeatedTest will run, which is the number of test cases the Test contains multiplied by the number of repetitions.
A method to run the RepeatedTest .
Returns a string representation of the RepeatedTest .
A copy constructor declared private to prevent its use.
A copy operator declared private to prevent its use.
The number of test repetitions to run ( private ).