Home
last modified time | relevance | path

Searched refs:sanitizeXmlContent (Results 1 – 2 of 2) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DXmlSuiteResultFormatter.java328 serializer.attribute(NS, MESSAGE_ATTR, sanitizeXmlContent(message)); in writeResults()
389 serializer.text(sanitizeXmlContent(metric.getValue())); in serializeTestCases()
415 serializer.attribute(NS, MESSAGE_ATTR, sanitizeXmlContent(message)); in handleTestFailure()
421 serializer.text(sanitizeXmlContent(truncatedStackTrace)); in handleTestFailure()
750 protected String sanitizeXmlContent(String s) { in sanitizeXmlContent() method in XmlSuiteResultFormatter
/tools/tradefederation/core/javatests/com/android/tradefed/result/suite/
DXmlSuiteResultFormatterTest.java77 protected String sanitizeXmlContent(String s) { in setUp()
195 mFormatter.sanitizeXmlContent("module1 failed.\nstack\nstack\0")); in testFailuresReporting()
263 mFormatter.sanitizeXmlContent("module1 failed.\nstack\nstack\0")); in testFailuresReporting_notDone()
326 mFormatter.sanitizeXmlContent("module1 failed." + "\nstack".repeat(174760) + "\n")); in testFailuresReporting_largeStackTrace()
577 mFormatter.sanitizeXmlContent("module1 failed.\nstack\nstack\0")); in testBasicFormat_shallow()