testplugin.h
来自「这是国外的resip协议栈」· C头文件 代码 · 共 69 行
H
69 行
// //////////////////////////////////////////////////////////////////////////// Header file TestPlugIn.h for class TestPlugIn// (c)Copyright 2000, Baptiste Lepilleur.// Created: 2001/06/23// //////////////////////////////////////////////////////////////////////////#ifndef TESTPLUGIN_H#define TESTPLUGIN_H#include <string>#include <cppunit/test.h>#include <cppunit/plugin/PlugInManager.h>/*! \class TestPlugIn * \brief This class represents a test plug-in. */class TestPlugIn{public: /*! Constructs a TestPlugIn object. */ TestPlugIn( const std::string fileName ); /*! Destructor. */ virtual ~TestPlugIn(); /*! Obtains a new test from a new copy of the dll. * \exception TestPlugInException if a error occurs. */ CPPUNIT_NS::Test *makeTest();private: /// Prevents the use of the copy constructor. TestPlugIn( const TestPlugIn © ); /// Prevents the use of the copy operator. void operator =( const TestPlugIn © ); void reloadDll(); void deleteDllCopy(); /*! Copy m_fileName DLL to m_copyFileName. * * Working on a copy of the DLL allow to update the original DLL. * \exception TestPlugInException on copy failure. */ void makeDllCopy(); /*! Load the DLL. * \exception TestPlugInException on dll loading failure. */ void loadDll();private: std::string m_fileName; std::string m_copyFileName; CPPUNIT_NS::PlugInManager m_manager;};// Inlines methods for TestPlugIn:// -------------------------------#endif // TESTPLUGIN_H
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?