CppUnit project page FAQ

XmlInputHelper.h
Go to the documentation of this file.
1 #ifndef CPPUNIT_EXTENSIONS_XMLINPUTHELPER_H
2 #define CPPUNIT_EXTENSIONS_XMLINPUTHELPER_H
3 
4 #include <cppunit/ParameterizedTestCase.h>
5 
6 
13 #define CPPUNIT_TEST_XML( testMethod) \
14  CPPUNIT_TEST_ADD( new CppUnit::ParameterizedTestCase<ThisTestFixtureType>( \
15  context.getTestNameFor( #testMethod ), \
16  #testMethod, \
17  &TestFixtureType::testMethod, \
18  context.makeFixture(), \
19  context.getStringProperty( std::string("XmlFileName") ) ) )
20 
21 
22 
23 #endif // CPPUNIT_EXTENSIONS_XMLINPUTHELPER_H

Send comments to:
CppUnit Developers