CppUnit project page FAQ CppUnit home page

Macros
XmlInputHelper.h File Reference
#include <cppunit/ParameterizedTestCase.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.

SourceForge Logo hosts this site. Send comments to:
CppUnit Developers