Loading...
Searching...
No Matches
ParenPrinter.h
Go to the documentation of this file.
#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__
ErrorPrinter.h
CXXTEST_STD
#define CXXTEST_STD(x)
Definition StdValueTraits.h:16
CxxTest::ErrorPrinter::ErrorPrinter
ErrorPrinter(CXXTEST_STD(ostream) &o=CXXTEST_STD(cout), const char *preLine=":", const char *postLine="")
Definition ErrorPrinter.h:31
CxxTest::ParenPrinter::ParenPrinter
ParenPrinter(CXXTEST_STD(ostream) &o=CXXTEST_STD(cout))
Definition ParenPrinter.h:17
CxxTest
Definition Descriptions.cpp:7