00001 #ifndef CPPUNIT_EXTENSIONS_XMLINPUTHELPER_H
00002 #define CPPUNIT_EXTENSIONS_XMLINPUTHELPER_H
00003
00004 #include <cppunit/ParameterizedTestCase.h>
00005
00006
00013 #define CPPUNIT_TEST_XML( testMethod) \
00014 CPPUNIT_TEST_ADD( new CppUnit::ParameterizedTestCase<ThisTestFixtureType>( \
00015 context.getTestNameFor( #testMethod ), \
00016 #testMethod, \
00017 &TestFixtureType::testMethod, \
00018 context.makeFixture(), \
00019 context.getStringProperty( std::string("XmlFileName") ) ) )
00020
00021
00022
00023 #endif // CPPUNIT_EXTENSIONS_XMLINPUTHELPER_H