CppUnit project page FAQ

Macros
XmlInputHelper.h File Reference
#include <cppunit/ParameterizedTestCase.h>
Include dependency graph for XmlInputHelper.h:

Go to the source code of this file.

Macros

#define CPPUNIT_TEST_XML(testMethod)
 Adds a parameterized test method to the suite.

Macro Definition Documentation

#define CPPUNIT_TEST_XML (   testMethod)
Value:
CPPUNIT_TEST_ADD( new CppUnit::ParameterizedTestCase<ThisTestFixtureType>( \
context.getTestNameFor( #testMethod ), \
#testMethod, \
&TestFixtureType::testMethod, \
context.makeFixture(), \
context.getStringProperty( std::string("XmlFileName") ) ) )

Adds a parameterized test method to the suite.

Parameters:
testMethodName of the method of the test case to add to the suite. The signature of the method must be of type: void testMethod(std::istream& param_in, std::istream& exp_in);
See also:
CPPUNIT_TEST_SUITE.

Send comments to:
CppUnit Developers