mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-19 04:33:25 +02:00
new trunk (base for 1.5)
windows build only
This commit is contained in:
22
CppUnit/src/TestFailure.cpp
Normal file
22
CppUnit/src/TestFailure.cpp
Normal file
@@ -0,0 +1,22 @@
|
||||
//
|
||||
// TestFailure.cpp
|
||||
//
|
||||
// $Id: //poco/1.4/CppUnit/src/TestFailure.cpp#1 $
|
||||
//
|
||||
|
||||
|
||||
#include "CppUnit/TestFailure.h"
|
||||
#include "CppUnit/Test.h"
|
||||
|
||||
|
||||
namespace CppUnit {
|
||||
|
||||
|
||||
// Returns a short description of the failure.
|
||||
std::string TestFailure::toString()
|
||||
{
|
||||
return _failedTest->toString () + ": " + _thrownException->what();
|
||||
}
|
||||
|
||||
|
||||
} // namespace CppUnit
|
Reference in New Issue
Block a user