mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-31 07:58:24 +02:00
23 lines
354 B
C++
23 lines
354 B
C++
//
|
|
// TestFailure.cpp
|
|
//
|
|
// $Id: //poco/1.4/CppUnit/src/TestFailure.cpp#1 $
|
|
//
|
|
|
|
|
|
#include "Poco/CppUnit/TestFailure.h"
|
|
#include "Poco/CppUnit/Test.h"
|
|
|
|
|
|
namespace CppUnit {
|
|
|
|
|
|
// Returns a short description of the failure.
|
|
std::string TestFailure::toString()
|
|
{
|
|
return _failedTest->toString () + ": " + _thrownException->what();
|
|
}
|
|
|
|
|
|
} // namespace CppUnit
|