
9 Feb
2010
9 Feb
'10
11:08 a.m.
In article <hkhsvn$jor$1@ger.gmane.org>, don_reba@inbox.ru says...
Boost.test logs to ostream, which does not have an operator for wstring. Consequently, I cannot test wstring values. How can I fix this?
One alternative is to simply use BOOST_CHECK and the == operator: BOOST_CHECK(obj.get_wstring() == L"Expected"); Lacks the nice output, but it's quite easy.