mirror of
https://github.com/google/googletest.git
synced 2024-12-28 19:15:24 +08:00
Merge pull request #3513 from victordk13:patch-1
PiperOrigin-RevId: 392665206
This commit is contained in:
commit
ff21b36e1e
@ -4436,15 +4436,15 @@ void XmlUnitTestResultPrinter::OutputXmlTestProperties(
|
||||
return;
|
||||
}
|
||||
|
||||
*stream << "<" << kProperties << ">\n";
|
||||
*stream << " <" << kProperties << ">\n";
|
||||
for (int i = 0; i < result.test_property_count(); ++i) {
|
||||
const TestProperty& property = result.GetTestProperty(i);
|
||||
*stream << "<" << kProperty;
|
||||
*stream << " <" << kProperty;
|
||||
*stream << " name=\"" << EscapeXmlAttribute(property.key()) << "\"";
|
||||
*stream << " value=\"" << EscapeXmlAttribute(property.value()) << "\"";
|
||||
*stream << "/>\n";
|
||||
}
|
||||
*stream << "</" << kProperties << ">\n";
|
||||
*stream << " </" << kProperties << ">\n";
|
||||
}
|
||||
|
||||
// End XmlUnitTestResultPrinter
|
||||
|
Loading…
x
Reference in New Issue
Block a user