Boost logo

Boost :

From: Paul A Bristow (pbristow_at_[hidden])
Date: 2005-09-28 13:40:33


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

Paul A Bristow
Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB
+44 1539 561830 +44 7714 330204
mailto: pbristow_at_[hidden] www.hetp.u-net.com


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