LOGGER.log(Level.INFO, "parsing xml report for " + test);
return parseMauveReport(report);
}
protected RunResult parseMauveReport(String report) throws ProtocolException {
XMLReportParser parser = new XMLReportParser();
StringReader sr = new StringReader(report);
try {
LOGGER.log(Level.INFO, "xml report: " + report);
return parser.parse(sr);
} catch (XMLParseException e) {
throw new ProtocolException("invalid XML answer", e);
} catch (IOException e) {
throw new ProtocolException("I/O error", e);
}