CppUnit project page FAQ CppUnit home page

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

XmlInputHelper.h

Go to the documentation of this file.
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

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