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
> "Stephan Tolksdorf" <andorxor_at_[hidden]> wrote in message
>> 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, gregod at, cpdaniel at, john at