/
jiteman
/
jsd-foreign-libreoffice-cppunit
Обзор
Документация
Войти
/
jiteman
/
jsd-foreign-libreoffice-cppunit
Код
Запросы
0
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
src/cppunit/TestDecorator.cpp
53 строки
646 B
jiteman
initial commit has been done
14 апр 2024, 15:49
14 апр 2024, 15:49
4c53812
Код
Авторство
О чём код?
#include <cppunit/extensions/TestDecorator.h> CPPUNIT_NS_BEGIN TestDecorator::TestDecorator( Test *test ) : m_test( test) { } TestDecorator::~TestDecorator() { delete m_test; } int TestDecorator::countTestCases() const { return m_test->countTestCases(); } void TestDecorator::run( TestResult *result ) { m_test->run(result); } std::string TestDecorator::getName() const { return m_test->getName(); } int TestDecorator::getChildTestCount() const { return m_test->getChildTestCount(); } Test * TestDecorator::doGetChildTestAt( int index ) const { return m_test->getChildTestAt( index ); } CPPUNIT_NS_END