• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package org.testng;
2 
3 
4 import org.testng.xml.XmlTest;
5 
6 import java.util.Collection;
7 import java.util.List;
8 
9 /**
10  * A factory for TestRunners to be used by SuiteRunners.
11  */
12 public interface ITestRunnerFactory {
newTestRunner(final ISuite suite, final XmlTest test, Collection<IInvokedMethodListener> listeners, List<IClassListener> classListeners)13 	TestRunner newTestRunner(final ISuite suite, final XmlTest test,
14 	    Collection<IInvokedMethodListener> listeners, List<IClassListener> classListeners);
15 }
16