16 Jul
2008
16 Jul
'08
11:17 p.m.
Steven Watanabe wrote:
AMDG
Michiel Helvensteijn wrote:
I understand why the types of the arguments to BOOST_CHECK_EQUAL (and BOOST_CHECK_PREDICATE, etc.) must have operator<< correctly defined. Otherwise, the failure message could not be properly printed. <snip>
What more should I do to be able to use vector<int> in these tests?
Add this at global scope: BOOST_TEST_DONT_PRINT_LOG_VALUE(std::vector<int>);
This issue has affected me me as well. Boost.Test doesn't seem to use an instance of std::ostream to print messages..? --John