/
jiteman
/
jsd-foreign-libreoffice-cppunit
Обзор
Документация
Войти
/
jiteman
/
jsd-foreign-libreoffice-cppunit
Код
Запросы
0
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
include/cppunit/extensions/XmlInputHelper.h
23 строки
980 B
jiteman
initial commit has been done
14 апр 2024, 15:49
14 апр 2024, 15:49
4c53812
Код
Авторство
О чём код?
#ifndef CPPUNIT_EXTENSIONS_XMLINPUTHELPER_H #define CPPUNIT_EXTENSIONS_XMLINPUTHELPER_H #include <cppunit/ParameterizedTestCase.h> /*! \brief Adds a parameterized test method to the suite. * \param 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 CPPUNIT_TEST_SUITE. */ #define CPPUNIT_TEST_XML( testMethod) \ CPPUNIT_TEST_ADD( new CppUnit::ParameterizedTestCase<ThisTestFixtureType>( \ context.getTestNameFor( #testMethod ), \ #testMethod, \ &TestFixtureType::testMethod, \ context.makeFixture(), \ context.getStringProperty( std::string("XmlFileName") ) ) ) #endif // CPPUNIT_EXTENSIONS_XMLINPUTHELPER_H