testheader.h

来自「symbian 3rd下的单元测试工具 里面包括一个框架 一个实例程序 还有使用」· C头文件 代码 · 共 33 行

H
33 行
字号
/*Copyright (c) Penrillian Ltd 2003-2006. All rights reserved. Web: www.penrillian.com*/
#ifndef TESTHEADER_H
#define TESTHEADER_H
#include "TestSuite.h"

/* 

  Encapsulates all the tests. 
  
	Any member function starting 'test' is interpreted as a test to be executed.
	
	  The tests will be executed in the order they are in this file.
	  
		Note that the code for the individual tests may be in different CPP files.
		
*/


class CTest : public CxxTest::TestSuite
{	
public:
	CTest(const TDesC8& aSuiteName):CxxTest::TestSuite(aSuiteName){}

private:
	void setUp();
	void tearDown();

public:
	void testDummyTest();
};

#endif // TESTHEADER_H

⌨️ 快捷键说明

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