• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package org.testng;
2 
3 
4 /**
5  * Factory used to create all test instances. This object factory only receives the class
6  * in parameter.
7  *
8  * @see org.testng.IObjectFactory
9  *
10  * @author Cedric Beust <cedric@beust.com>
11  *
12  * @since 5.14.6
13  */
14 public interface IObjectFactory2 extends ITestObjectFactory {
newInstance(Class<?> cls)15   Object newInstance(Class<?> cls);
16 }
17