@Test
public void parseCompilationResultsTest() throws IOException, SAXException, ParserConfigurationException {
URL url = this.getClass().getClassLoader().getResource("testdata/build_log.xml");
File file = new File(url.getFile());
CompilationResults compilationResults = antXmlParser.parseCompilationResults(file);
assertTrue(compilationResults.ok);
assertEquals(compilationResults.messages.size(), 5);
for (Message message : compilationResults.messages) {
assertFalse(message.priority.equals("warn"));