#include <DataTestSuite.h> [code]
Inherits TestSuite.
Inheritance diagram for DataTestSuite< Fixture >:


A data test suite is created when you want to run the same test over a number of different data tests (e.g in order to test different boundary conditions).
The data suite creates a test for each data test declared for a method of a Fixture.
Definition at line 30 of file DataTestSuite.h.
Public Member Functions | |
| DataTestSuite (std::string name, TestMethod test, TestMethodData data, typename Fixture::TestSuiteBuilderContextType &context) | |
| ~DataTestSuite () | |
| std::string | toString () const |
Private Types | |
| typedef CppUnitVector< std::pair< std::string, void * > > | Data |
| typedef void(Fixture::* | TestMethod )() |
| typedef Data(Fixture::* | TestMethodData )() |
Private Member Functions | |
| DataTestSuite (const DataTestSuite &other) | |
| DataTestSuite & | operator= (const DataTestSuite &other) |
|
|||||
|
Definition at line 32 of file DataTestSuite.h. |
|
|||||
|
Definition at line 33 of file DataTestSuite.h. |
|
|||||
|
Definition at line 34 of file DataTestSuite.h. |
|
||||||||||||||||||||||||
|
Constructor for DataTestSuite. This constructor does not create a new Fixture instance but accepts an existing one as parameter. The DataTestSuite will own the Fixture object and delete it in its destructor.
Definition at line 47 of file DataTestSuite.h. |
|
|||||||||
|
Definition at line 64 of file DataTestSuite.h. |
|
||||||||||
|
|
|
||||||||||
|
|
|
|||||||||
|
Definition at line 68 of file DataTestSuite.h. |