File: TestFailure.cpp

package info (click to toggle)
poco 1.3.2%2Bdfsg1-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 17,144 kB
  • ctags: 26,948
  • sloc: cpp: 139,746; ansic: 75,988; makefile: 632; sh: 328; xml: 59; perl: 29
file content (22 lines) | stat: -rw-r--r-- 344 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//
// TestFailure.cpp
//
// $Id: //poco/1.3/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