parser.reset();
TestXmlContentHandler testXmlContentHandler = new TestXmlContentHandler(testSession, reportFile);
parser.parse(reportFile, testXmlContentHandler);
NbGradleTestSuite testSuite = testXmlContentHandler.testSuite;
if (testSuite != null) {
testSuite.setStdErr(testXmlContentHandler.stderr);
testSuite.setStdOut(testXmlContentHandler.stdout);
testSuite.endSuite(testXmlContentHandler.suiteTime);
}
}