testfailure.cpp

来自「著名的uncle Bob的Agile software development的」· C++ 代码 · 共 10 行

CPP
10
字号

#include "TestFailure.h"
#include "Test.h"

// Returns a short description of the failure.
std::string TestFailure::toString () 
{ 
    return m_failedTest->toString () + ": " + m_thrownException->what ();
}

⌨️ 快捷键说明

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