Package org.testng
Interface IObjectFactory2
-
- All Superinterfaces:
ITestObjectFactory
@Deprecated public interface IObjectFactory2 extends ITestObjectFactory
Deprecated.- This interface stands deprecated as of TestNG 7.5.0Factory used to create all test instances. This object factory only receives the class in parameter.- Since:
- 5.14.6
- See Also:
ITestObjectFactory
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default java.lang.Object
newInstance(java.lang.Class<?> cls)
Deprecated.- This interface stands deprecated as of TestNG 7.5.0-
Methods inherited from interface org.testng.ITestObjectFactory
newInstance, newInstance, newInstance
-
-