| 203 | } |
| 204 | |
| 205 | SimpleString JUnitTestOutput::encodeXmlText(const SimpleString& textbody) |
| 206 | { |
| 207 | SimpleString buf = textbody.asCharString(); |
| 208 | buf.replace("&", "&"); |
| 209 | buf.replace("\"", """); |
| 210 | buf.replace("<", "<"); |
| 211 | buf.replace(">", ">"); |
| 212 | buf.replace("\n", "{newline}"); |
| 213 | return buf; |
| 214 | } |
| 215 | |
| 216 | void JUnitTestOutput::writeTestCases() |
| 217 | { |
nothing calls this directly
no test coverage detected