Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-09-29 13:58:17


"Paul A Bristow" <pbristow_at_[hidden]> writes:

> I had been using Boost test with 1.32 successfully
>
> #include <boost/test/test_tools.hpp>
> #include <boost/test/floating_point_comparison.hpp> // Extra test tool for
> FP comparison.
>
> but with 1.33 it fails to compile at
>
> using boost::unit_test_framework::unit_test_log;
> using boost::unit_test_framework::log_level;
>
> and used this to control the log threshold
>
>
> unit_test_log::instance().set_log_threshold_level_by_name("test_suite");
>
> and to switch the log file
>
> unit_test_log::instance().set_log_stream(flog); // Switch to log
> file.// unit_test_log::instance().set_log_stream(cout); // Switch back to
> cout,
>
> But this has been removed in 1.33
>
> but I am unclear how to replicate this sort of function.
>
> Suggestions?
>
> Thanks
>
> Paul

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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