xxxxxx.cpp
来自「一个跟Cppunit一样好用的单元测试工具」· C++ 代码 · 共 45 行
CPP
45 行
// XXXXXX.cpp: implementation of the CXXXXXX class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "XXXXXX.h"
#ifdef TEST_CASE_CODE
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
BASE_TEST_CASE_CPP(CXXXXXX)
BEGIN_TEST_CASE_MAP(CXXXXXX)
END_TEST_CASE_MAP
CXXXXXX::CXXXXXX()
{
}
CXXXXXX::~CXXXXXX()
{
}
//-------------------------------------------
// for begin test this class to let you
// Prepare entironment for test
//-------------------------------------------
void CXXXXXX::onBeginTest()
{
}
//-------------------------------------------
// for end test this class to let you
// free you entironment for test
//-------------------------------------------
void CXXXXXX::onEndTest()
{
}
#endif //#ifdef TEST_CASE_CODE
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?