Re: [boost] Boost unit test suggestion - checkpoints for exceptions

2003-01-01 Thread Terje Slettebø
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

[boost] Boost unit test suggestion - checkpoints for exceptions

2002-12-31 Thread Terje Slettebø
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,

Re: [boost] Boost unit test suggestion - checkpoints for exceptions

2002-12-31 Thread Paul Mensonides
- 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)##));\