* @see org.testng.ITestRunnerFactory#newTestRunner(org.testng.ISuite, org.testng.xml.XmlTest)
*/
@Override
public TestRunner newTestRunner(ISuite suite, XmlTest test,
List<IInvokedMethodListener> listeners) {
TestRunner testRunner= new TestRunner(m_baseTest.getConfiguration(), suite, test, false,
listeners);
testRunner.addTestListener(new TestHTMLReporter());
testRunner.addTestListener(new JUnitXMLReporter());
testRunner.addListener(new TestListener(m_baseTest));
if (listeners != null) {
for (IInvokedMethodListener l : listeners) {
testRunner.addListener(l);
}
}
return testRunner;
}