|
Boost : |
From: John Maddock (john_at_[hidden])
Date: 2007-11-01 06:00:31
Gennadiy Rozental wrote:
> John Maddock <john <at> johnmaddock.co.uk> writes:
>
>>
>> If I'm using
>>
>> #include <boost/test/included/test_exec_monitor.hpp>
>>
>> Is there a way to check if the last BOOST_CHECK_CLOSE passed or
>> failed?
>
> You can do this by accessing number of failures in results collector:
>
> results_collector.results( framework::current_test_case().p_id );
Thanks Gennadiy that did the job nicely.
John.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk