testpluginrunnermodel.h

来自「cppunit-1.12.0.rar c++代码的单元测试 运行时应先编译src」· C头文件 代码 · 共 55 行

H
55
字号
// //////////////////////////////////////////////////////////////////////////// Header file TestPlugInRunnerModel.h for class TestPlugInRunnerModel// (c)Copyright 2000, Baptiste Lepilleur.// Created: 2001/06/24// //////////////////////////////////////////////////////////////////////////#ifndef TESTPLUGINRUNNERMODEL_H#define TESTPLUGINRUNNERMODEL_H#include <TestRunnerModel.h>class TestPlugIn;/*! \class TestPlugInRunnerModel * \brief This class represents a model for the plug in runner. */class TestPlugInRunnerModel : public TestRunnerModel{public:  /*! Constructs a TestPlugInRunnerModel object.   */  TestPlugInRunnerModel();  /*! Destructor.   */  virtual ~TestPlugInRunnerModel();  void setPlugIn( TestPlugIn *plugIn );  void reloadPlugIn();public: // overridden from TestRunnerModel  void setRootTest( CPPUNIT_NS::Test *rootTest );private:  /// Prevents the use of the copy constructor.  TestPlugInRunnerModel( const TestPlugInRunnerModel &copy );  /// Prevents the use of the copy operator.  void operator =( const TestPlugInRunnerModel &copy );  void freeRootTest();private:  TestPlugIn *m_plugIn;};// Inlines methods for TestPlugInRunnerModel:// ------------------------------------------#endif  // TESTPLUGINRUNNERMODEL_H

⌨️ 快捷键说明

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