blob: 9ecf31053289c9ffb630b411197cdd541b1c86e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef __cxxtest__ParenPrinter_h__
#define __cxxtest__ParenPrinter_h__
//
// The ParenPrinter is identical to the ErrorPrinter, except it
// prints the line number in a format expected by some compilers
// (notably, MSVC).
//
#include <cxxtest/ErrorPrinter.h>
namespace CxxTest
{
class ParenPrinter : public ErrorPrinter
{
public:
ParenPrinter( CXXTEST_STD(ostream) &o = CXXTEST_STD(cout) ) : ErrorPrinter( o, "(", ")" ) {}
};
}
#endif // __cxxtest__ParenPrinter_h__
|