Re: [Boost-bugs] [Boost C++ Libraries] #12452: XML log can contain unescaped characters from test output

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12452: XML log can contain unescaped characters from test output
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-09-13 12:25:17


#12452: XML log can contain unescaped characters from test output
----------------------------------------------+---------------------
  Reporter: Igor Akhmetov <igor.akhmetov@…> | Owner: rogeeff
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: test
   Version: Boost 1.61.0 | Severity: Problem
Resolution: | Keywords: XML
----------------------------------------------+---------------------

Comment (by renficiaud):

 If you want to have that output in the final XML, I suggest you using
 `BOOST_TEST_MESSAGE` instead
 ([http://www.boost.org/doc/libs/1_61_0/libs/test/doc/html/boost_test/test_output/test_output_macro_message.html
 see documentation here]).

 This is also what eg. Google test
 [https://github.com/google/googletest/blob/master/googletest/docs/AdvancedGuide.md
 #logging-additional-information proposes].

 In any case, if you mess with the logger output stream, then the output
 stream is likely to be invalid.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12452#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC