Does boost test have support for wide strings?
I'm just using BOOST_TEST_MESSAGE(L"blah") and the only thing that is printed out is an hex value such as 0x12345678. Am I missing so开发者_运维知识库me configuration? I'm using boost 1.44.
If you take a look at boost/test/unit_test_log.h, you can see that the class unit_test_log_t is using a std::ostream for streaming the logs. So, you will probably have to implement your own logger.
精彩评论