⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 exceptiontestcasedecoratortest.h

📁 这是国外的resip协议栈
💻 H
字号:
// //////////////////////////////////////////////////////////////////////////// Header file ExceptionTestCaseDecoratorTest.h for class ExceptionTestCaseDecoratorTest// (c)Copyright 2000, Baptiste Lepilleur.// Created: 2002/08/03// //////////////////////////////////////////////////////////////////////////#ifndef EXCEPTIONTESTCASEDECORATORTEST_H#define EXCEPTIONTESTCASEDECORATORTEST_H#include <cppunit/extensions/HelperMacros.h>#include <cppunit/TestResult.h>#include "FailureException.h"#include "MockTestCase.h"#include "MockTestListener.h"/// Unit tests for ExceptionTestCaseDecoratorTestclass ExceptionTestCaseDecoratorTest : public CPPUNIT_NS::TestFixture{  CPPUNIT_TEST_SUITE( ExceptionTestCaseDecoratorTest );  CPPUNIT_TEST( testNoExceptionThrownFailed );  CPPUNIT_TEST( testExceptionThrownPass );  CPPUNIT_TEST_SUITE_END();public:  /*! Constructs a ExceptionTestCaseDecoratorTest object.   */  ExceptionTestCaseDecoratorTest();  /// Destructor.  virtual ~ExceptionTestCaseDecoratorTest();  void setUp();  void tearDown();  void testNoExceptionThrownFailed();  void testExceptionThrownPass();private:  /// Prevents the use of the copy constructor.  ExceptionTestCaseDecoratorTest( const ExceptionTestCaseDecoratorTest &other );  /// Prevents the use of the copy operator.  void operator =( const ExceptionTestCaseDecoratorTest &other );private:  typedef CPPUNIT_NS::ExceptionTestCaseDecorator<FailureException> FailureExceptionTestCase;  CPPUNIT_NS::TestResult *m_result;  MockTestListener *m_testListener;  MockTestCase *m_test;  FailureExceptionTestCase *m_decorator;};// Inlines methods for ExceptionTestCaseDecoratorTest:// ---------------------------------------------------#endif  // EXCEPTIONTESTCASEDECORATORTEST_H

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -