/
jiteman
/
jsd-foreign-libreoffice-cppunit
Обзор
Документация
Войти
/
jiteman
/
jsd-foreign-libreoffice-cppunit
Код
Запросы
0
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
src/cppunit/DefaultProtector.h
26 строк
576 B
jiteman
initial commit has been done
14 апр 2024, 15:49
14 апр 2024, 15:49
4c53812
Код
Авторство
О чём код?
#ifndef CPPUNIT_DEFAULTPROTECTOR_H #define CPPUNIT_DEFAULTPROTECTOR_H #include <cppunit/Protector.h> CPPUNIT_NS_BEGIN /*! \brief Default protector that catch all exceptions (Implementation). * * Implementation detail. * \internal This protector catch and generate a failure for the following * exception types: * - Exception * - std::exception * - ... */ class DefaultProtector : public Protector { public: bool protect( const Functor &functor, const ProtectorContext &context ) override; }; CPPUNIT_NS_END #endif // CPPUNIT_DEFAULTPROTECTOR_H