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

📄 testasserttest.h

📁 这是国外的resip协议栈
💻 H
字号:
#ifndef TESTASSERTTEST_H#define TESTASSERTTEST_H#include <cppunit/extensions/HelperMacros.h>class TestAssertTest : public CPPUNIT_NS::TestFixture{  CPPUNIT_TEST_SUITE( TestAssertTest );  CPPUNIT_TEST( testAssertThrow );  CPPUNIT_TEST( testAssertNoThrow );  CPPUNIT_TEST( testAssertAssertionFail );  CPPUNIT_TEST( testAssertAssertionPass );  CPPUNIT_TEST( testAssert );  CPPUNIT_TEST( testAssertEqual );  CPPUNIT_TEST( testAssertMessageTrue );  CPPUNIT_TEST( testAssertMessageFalse );  CPPUNIT_TEST( testAssertDoubleEquals );  CPPUNIT_TEST( testFail );  CPPUNIT_TEST_SUITE_END();public:  TestAssertTest();  virtual ~TestAssertTest();  virtual void setUp();  virtual void tearDown();  void testAssertThrow();  void testAssertNoThrow();  void testAssertAssertionFail();  void testAssertAssertionPass();  void testBasicAssertions();  void testAssert();    void testAssertEqual();  void testAssertMessageTrue();  void testAssertMessageFalse();  void testAssertDoubleEquals();  void testAssertDoubleNotEquals1();  void testAssertDoubleNotEquals2();  void testAssertLongEquals();  void testAssertLongNotEquals();  void testFail();private:  TestAssertTest( const TestAssertTest &copy );  void operator =( const TestAssertTest &copy );  void checkDoubleNotEquals( double expected,                              double actual,                              double delta );  void checkMessageContains( CPPUNIT_NS::Exception *e,                             std::string expectedMessage );private:};#endif  // TESTASSERTTEST_H

⌨️ 快捷键说明

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