📄 brieftestprogresslistener.h
字号:
#ifndef CPPUNIT_BRIEFTESTPROGRESSLISTENER_H#define CPPUNIT_BRIEFTESTPROGRESSLISTENER_H#include <cppunit/TestListener.h>CPPUNIT_NS_BEGIN/*! \brief TestListener that prints the name of each test before running it. * \ingroup TrackingTestExecution */class CPPUNIT_API BriefTestProgressListener : public TestListener{public: /*! Constructs a BriefTestProgressListener object. */ BriefTestProgressListener(); /// Destructor. virtual ~BriefTestProgressListener(); void startTest( Test *test ); void addFailure( const TestFailure &failure ); void endTest( Test *test );private: /// Prevents the use of the copy constructor. BriefTestProgressListener( const BriefTestProgressListener © ); /// Prevents the use of the copy operator. void operator =( const BriefTestProgressListener © );private: bool m_lastTestFailed;};CPPUNIT_NS_END#endif // CPPUNIT_BRIEFTESTPROGRESSLISTENER_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -