CppUnit project page FAQ CppUnit home page

Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

XmlInputHelper.h File Reference

#include <cppunit/ParameterizedTestCase.h>

Go to the source code of this file.

Defines

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


Define 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:
testMethod Name 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