testdecorator.h

来自「C++ class libraries for network-centric,」· C头文件 代码 · 共 53 行

H
53
字号
//// TestDecorator.h//// $Id: //poco/1.2/CppUnit/include/CppUnit/TestDecorator.h#1 $//#ifndef CppUnit_TestDecorator_INCLUDED#define CppUnit_TestDecorator_INCLUDED#include "CppUnit/CppUnit.h"#include "CppUnit/Guards.h"#include "CppUnit/Test.h"namespace CppUnit {class TestResult;/* * A Decorator for Tests * * Does not assume ownership of the test it decorates * */class CppUnit_API TestDecorator: public Test{	REFERENCEOBJECT(TestDecorator)public:	TestDecorator(Test* test);	virtual ~TestDecorator();	int countTestCases();	void run(TestResult* result);	std::string toString();protected:	Test* _test;};} // namespace CppUnit#endif // CppUnit_TestDecorator_INCLUDED

⌨️ 快捷键说明

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