|
|
|
@ -4091,7 +4091,7 @@ void XmlUnitTestResultPrinter::OutputXmlTestInfo(::std::ostream* stream, |
|
|
|
|
part.line_number()); |
|
|
|
|
const std::string summary = location + "\n" + part.summary(); |
|
|
|
|
*stream << " <failure message=\"" |
|
|
|
|
<< EscapeXmlAttribute(summary.c_str()) |
|
|
|
|
<< EscapeXmlAttribute(summary) |
|
|
|
|
<< "\" type=\"\">"; |
|
|
|
|
const std::string detail = location + "\n" + part.message(); |
|
|
|
|
OutputXmlCDataSection(stream, RemoveInvalidXmlCharacters(detail).c_str()); |
|
|
|
|