arabica/tests/CppUnit/framework/TestFailure.cpp

10 lines
209 B
C++
Raw Normal View History

2005-08-04 23:23:48 +02:00
#include "TestFailure.h"
#include "Test.h"
// Returns a short description of the failure.
std::string TestFailure::toString ()
{
return m_failedTest->toString () + ": " + m_thrownException->what ();
}