testclient_dummy.cpp

来自「一个很好用的解析」· C++ 代码 · 共 30 行

CPP
30
字号
/*=============================================================================                                  testclient_dummy===============================================================================  This is a substitute for testclient.cpp, for use in a test program that is  not linked with the client libraries.  It simply passes the test.=============================================================================*/#include <string>#include <iostream>#include "tools.hpp"#include "testclient.hpp"using namespace std;stringclientTestSuite::suiteName() {    return "clientTestSuite";}voidclientTestSuite::runtests(unsigned int const indentation) {    cout << string((indentation+1)*2, ' ')          << "Running dummy test." << endl;}

⌨️ 快捷键说明

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