#include "cppunit/extensions/HelperMacros.h"
#include "DataTestSuite.h" [code]
#include "DataTestCaller.h" [code]
Include dependency graph for CoCppUnit.h:

Go to the source code of this file.
Defines | |
| #define | CPPUNIT_DATA_TEST(testMethod) |
| Add a test data suite for a method as a sub-suite to the suite. | |
| #define | CPPUNIT_DATA_FOR(testMethod) |
| Starts the declaration of the data tests for a method. | |
| #define | CPPUNIT_DATA_FOR_END() return __returnData; } |
| Ends the declaration of the data tests for a method. | |
| #define | CPPUNIT_DATA_SET(name) |
| Starts the declaration of the data test for a method. | |
| #define | CPPUNIT_DATA_SET_END() } |
| Ends the declaration of the data test for a method. | |
| #define | CPPUNIT_FETCH_DATA(testMethod) std::auto_ptr <testMethod##Data> t ((testMethod##Data *) __currentTestData); |
| Fetches the current data test from a data suit. | |
|
|
Value: CppUnitVector <std::pair <std::string, void *> > \
testMethod##_data() \
{ CppUnitVector <std::pair <std::string, void *> > __returnData; \
typedef testMethod##Data __testDataTypedef;
Definition at line 48 of file CoCppUnit.h. |
|
|
Ends the declaration of the data tests for a method.
Definition at line 59 of file CoCppUnit.h. |
|
|
Value: { __testDataTypedef *t = new __testDataTypedef; \
__returnData.push_back( \
std::pair <std::string, void *> ( name, t ) );
Definition at line 70 of file CoCppUnit.h. |
|
|
Ends the declaration of the data test for a method.
Definition at line 81 of file CoCppUnit.h. |
|
|
Value: CPPUNIT_TEST_SUITE_ADD_TEST( \
( new CPPUNIT_NS::DataTestSuite<TestFixtureType>( \
context.getTestNameFor( #testMethod), \
&TestFixtureType::testMethod, \
&TestFixtureType::testMethod##_data, \
context ) ) )
Definition at line 35 of file CoCppUnit.h. |
|
|
Fetches the current data test from a data suit.
Definition at line 88 of file CoCppUnit.h. |