testfailureinfo.h

来自「c++单元测试框架」· C头文件 代码 · 共 45 行

H
45
字号
/////////////////////////////////////////////////////////////////////////////// Name:        TestFailureInfo.h// Purpose:     Header for class TestFailureInfo// Author:      Baptiste Lepilleur// Modified by: Anthon Pang// Created:     2003.09.11// RCS-ID:// Copyright:   (C) 2003 by Baptiste Lepilleur// Licence:     LGPL// Reference:   cppunit/src/qttestrunner/TestFailureInfo.h/////////////////////////////////////////////////////////////////////////////#ifndef TESTFAILUREINFO_H#define TESTFAILUREINFO_H#ifndef CPPUNIT_TESTFAILURE_H#include <cppunit/TestFailure.h>#endif/*! \class TestFailureInfo * \brief This class represents a test failure. */class TestFailureInfo : public CPPUNIT_NS::TestFailure{public:  /*! Constructs a TestFailureInfo object.   */  TestFailureInfo( CPPUNIT_NS::Test *failedTest,                   CPPUNIT_NS::Exception *thrownException,                   bool isError );  /*! Destructor.   */  virtual ~TestFailureInfo();private:  /// Prevents the use of the copy constructor.  TestFailureInfo( const TestFailureInfo &copy );  /// Prevents the use of the copy operator.  void operator =( const TestFailureInfo &copy );};#endif // TESTFAILUREINFO_H

⌨️ 快捷键说明

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