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

📄 testsuite.h

📁 这是用VB6.0写的一个通用的CPU卡操作程序,支持PC/SC接口 安装任何一个PC/SC驱动的IC读写器后,都可以使用此程序进行CPU卡的测试
💻 H
字号:
#ifndef CPPUNIT_TESTSUITE_H    // -*- C++ -*-#define CPPUNIT_TESTSUITE_H#include <cppunit/Portability.h>#if CPPUNIT_NEED_DLL_DECL#pragma warning( push )#pragma warning( disable: 4251 )  // X needs to have dll-interface to be used by clients of class Z#endif#include <cppunit/Test.h>#include <vector>#include <string>namespace CppUnit {class TestResult;#if CPPUNIT_NEED_DLL_DECL  template class CPPUNIT_API std::vector<Test *>;#endif/*! \brief A Composite of Tests. * \ingroup CreatingTestSuite * * It runs a collection of test cases. Here is an example. * \code * CppUnit::TestSuite *suite= new CppUnit::TestSuite(); * suite->addTest(new CppUnit::TestCaller<MathTest> ( *                  "testAdd", testAdd)); * suite->addTest(new CppUnit::TestCaller<MathTest> ( *                  "testDivideByZero", testDivideByZero)); * \endcode * Note that TestSuites assume lifetime * control for any tests added to them. * * TestSuites do not register themselves in the TestRegistry. * \see Test  * \see TestCaller */class CPPUNIT_API TestSuite : public Test{public:  TestSuite( std::string name = "" );  ~TestSuite();  void run( TestResult *result );  int countTestCases() const;  std::string getName() const;  std::string toString() const;  void addTest( Test *test );  const std::vector<Test *> &getTests() const;  virtual void deleteContents();private:  TestSuite( const TestSuite &other );  TestSuite &operator =( const TestSuite &other ); private:  std::vector<Test *> m_tests;  const std::string m_name;};} // namespace CppUnit#if CPPUNIT_NEED_DLL_DECL#pragma warning( pop )#endif#endif // CPPUNIT_TESTSUITE_H

⌨️ 快捷键说明

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