CppUnit project page | FAQ | CppUnit home page

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# XmlInputHelper.h File Reference

`#include <cppunit/ParameterizedTestCase.h>`

Include dependency graph for XmlInputHelper.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.

| hosts this site. |  | Send comments to: CppUnit Developers