Home | History | Annotate | Download | only in testng
      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 (at) beust.com>
     11  *
     12  * @since 5.14.6
     13  */
     14 public interface IObjectFactory2 extends ITestObjectFactory {
     15   Object newInstance(Class<?> cls);
     16 }
     17