Boost logo

Boost :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2006-07-26 12:54:01


"Gennadiy Rozental" <gennadiy.rozental_at_[hidden]> wrote in message
news:ea83ol$hq$1_at_sea.gmane.org...
>
> "Stephan Tolksdorf" <andorxor_at_[hidden]> wrote in message
> news:44C66F85.5020505_at_gmx.de...
>> Gennadiy,
>>
>> while we are discussing exceptions in Boost::Test, I've got a small
>> request:
>>
>> Could you maybe provide an equivalent macro to BOOST_CHECKPOINT (or
>> extend BOOST_CHECKPOINT) whose message is also displayed if
>> BOOST_REQUIRE fails? The reason I ask is that I sometimes outsource
>> common testing routines into helper functions and would like to print
>> context information if the test fails (as the line number itself is not
>> very informative in these instances). I'm sure that would be a help to
>> others too.
>
> BOOST_CHECKPOINT would help you in this case. Lets consider your example:

I meant: "would NOT"


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk