From: Paul Mensonides [EMAIL PROTECTED]
From: Terje Slettebø [EMAIL PROTECTED]
To do that (without changing the Boost unit test code), I made a few
forwarding macros, like this:
#define BOOST_CHECK_EQUAL_CP(a,b)\
BOOST_CHECKPOINT(BOOST_CHECK_EQUAL(##BOOST_STRINGIZE(a)##,##BOOST_STRING
Hi.
I'm currently converting the unit tests for the lexical_cast proposition, to
use the Boost unit test framework. It's very good, and it replaces my more
ad-hoc unit test.
There's one thing I'm wondering about. If you get an exception in a test, it
won't show which line caused the exception,
- Original Message -
From: Terje Slettebø [EMAIL PROTECTED]
To do that (without changing the Boost unit test code), I made a few
forwarding macros, like this:
#define BOOST_CHECK_EQUAL_CP(a,b)\
BOOST_CHECKPOINT(BOOST_CHECK_EQUAL(##BOOST_STRINGIZE(a)##,##BOOST_STRING
IZE(b)##));\