//
// TestFailure.cpp
//
// $Id: //poco/1.2/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


syntax highlighted by Code2HTML, v. 0.9.1