/
jiteman
/
jsd-foreign-libreoffice-cppunit
Обзор
Документация
Войти
/
jiteman
/
jsd-foreign-libreoffice-cppunit
Код
Запросы
0
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
examples/cppunittest/ExceptionTest.h
41 строка
886 B
jiteman
initial commit has been done
14 апр 2024, 15:49
14 апр 2024, 15:49
4c53812
Код
Авторство
О чём код?
#ifndef EXCEPTIONTEST_H #define EXCEPTIONTEST_H #include <cppunit/extensions/HelperMacros.h> class ExceptionTest : public CPPUNIT_NS::TestFixture { CPPUNIT_TEST_SUITE( ExceptionTest ); CPPUNIT_TEST( testConstructor ); CPPUNIT_TEST( testDefaultConstructor ); CPPUNIT_TEST( testCopyConstructor ); CPPUNIT_TEST( testAssignment ); CPPUNIT_TEST( testClone ); CPPUNIT_TEST_SUITE_END(); public: ExceptionTest(); virtual ~ExceptionTest(); virtual void setUp(); virtual void tearDown(); void testConstructor(); void testDefaultConstructor(); void testCopyConstructor(); void testAssignment(); void testClone(); private: ExceptionTest( const ExceptionTest © ); void operator =( const ExceptionTest © ); void checkIsSame( CPPUNIT_NS::Exception &e, CPPUNIT_NS::Exception &other ); private: }; #endif // EXCEPTIONTEST_H