Menu

[r169]: / trunk / cppunit / include / cppunit / TextTestResult.h  Maximize  Restore  History

Download this file

33 lines (22 with data), 875 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef CPPUNIT_TEXTTESTRESULT_H
#define CPPUNIT_TEXTTESTRESULT_H
#include <iostream>
#include <cppunit/TestResult.h>
namespace CppUnit {
class Exception;
class Test;
class TextTestResult : public TestResult
{
public:
virtual void addError (Test *test, Exception *e);
virtual void addFailure (Test *test, Exception *e);
virtual void startTest (Test *test);
virtual void print (std::ostream& stream);
virtual void printErrors (std::ostream& stream);
virtual void printFailures (std::ostream& stream);
virtual void printHeader (std::ostream& stream);
};
/** insertion operator for easy output */
std::ostream& operator<< (std::ostream& stream, TextTestResult& result);
} // namespace CppUnit
#endif // CPPUNIT_TEXTTESTRESULT_H
MongoDB Logo MongoDB