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

📄 clockerlistener.h

📁 这是国外的resip协议栈
💻 H
字号:
// //////////////////////////////////////////////////////////////////////////// Header file ClockerListener.h for class ClockerListener// (c)Copyright 2000, Baptiste Lepilleur.// Created: 2002/04/19// //////////////////////////////////////////////////////////////////////////#ifndef CLOCKERLISTENER_H#define CLOCKERLISTENER_H#include <cppunit/TestListener.h>class ClockerModel;/// TestListener that prints a flatten or hierarchical view of the test tree.class ClockerListener : public CPPUNIT_NS::TestListener{public:  ClockerListener( ClockerModel *model,                   bool text );  virtual ~ClockerListener();  void startTestRun( CPPUNIT_NS::Test *test,                      CPPUNIT_NS::TestResult *eventManager );  void endTestRun( CPPUNIT_NS::Test *test,                    CPPUNIT_NS::TestResult *eventManager );  void startTest( CPPUNIT_NS::Test *test );  void endTest( CPPUNIT_NS::Test *test );  void startSuite( CPPUNIT_NS::Test *suite );  void endSuite( CPPUNIT_NS::Test *suite );private:  void printStatistics() const;  void printTest( int testIndex,                  const std::string &indentString ) const;  void printTestIndent( const std::string &indent,                        const int indentLength ) const;  void printTime( double time ) const;  /// Prevents the use of the copy constructor.  ClockerListener( const ClockerListener &other );  /// Prevents the use of the copy operator.  void operator =( const ClockerListener &other );private:  ClockerModel *m_model;  bool m_text;};// Inlines methods for ClockerListener:// -----------------------------------#endif  // CLOCKERLISTENER_H

⌨️ 快捷键说明

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