spielwiese
Last change
on this file since 405407 was
4aa8610,
checked in by Mohamed Barakat <mohamed.barakat@…>, 13 years ago
|
created libpolys/tests and set up the beginning of a test-suite using cxxtest
|
-
Property mode set to
100644
|
File size:
497 bytes
|
Line | |
---|
1 | #ifndef __cxxtest__ParenPrinter_h__ |
---|
2 | #define __cxxtest__ParenPrinter_h__ |
---|
3 | |
---|
4 | // |
---|
5 | // The ParenPrinter is identical to the ErrorPrinter, except it |
---|
6 | // prints the line number in a format expected by some compilers |
---|
7 | // (notably, MSVC). |
---|
8 | // |
---|
9 | |
---|
10 | #include <cxxtest/ErrorPrinter.h> |
---|
11 | |
---|
12 | namespace CxxTest |
---|
13 | { |
---|
14 | class ParenPrinter : public ErrorPrinter |
---|
15 | { |
---|
16 | public: |
---|
17 | ParenPrinter( CXXTEST_STD(ostream) &o = CXXTEST_STD(cout) ) : ErrorPrinter( o, "(", ")" ) {} |
---|
18 | }; |
---|
19 | } |
---|
20 | |
---|
21 | #endif // __cxxtest__ParenPrinter_h__ |
---|
Note: See
TracBrowser
for help on using the repository browser.