开发者

Does boost test have support for wide strings?

开发者 https://www.devze.com 2023-02-09 17:56 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消