Uses of Interface
org.testng.ITestObjectFactory
-
Packages that use ITestObjectFactory Package Description org.testng org.testng.internal org.testng.xml -
-
Uses of ITestObjectFactory in org.testng
Subinterfaces of ITestObjectFactory in org.testng Modifier and Type Interface Description interface
IObjectFactory
Factory used to create all test instances.interface
IObjectFactory2
Factory used to create all test instances.Methods in org.testng with parameters of type ITestObjectFactory Modifier and Type Method Description void
SuiteRunner. setObjectFactory(ITestObjectFactory objectFactory)
void
TestNG. setObjectFactory(ITestObjectFactory factory)
-
Uses of ITestObjectFactory in org.testng.internal
Classes in org.testng.internal that implement ITestObjectFactory Modifier and Type Class Description class
ObjectFactoryImpl
Default factory for test creation.Methods in org.testng.internal that return ITestObjectFactory Modifier and Type Method Description ITestObjectFactory
Configuration. getObjectFactory()
ITestObjectFactory
IConfiguration. getObjectFactory()
Methods in org.testng.internal with parameters of type ITestObjectFactory Modifier and Type Method Description static java.lang.Object
ClassHelper. createInstance(java.lang.Class<?> declaringClass, java.util.Map<java.lang.Class<?>,IClass> classes, XmlTest xmlTest, IAnnotationFinder finder, ITestObjectFactory objectFactory)
Create an instance for the given class.protected IClass
BaseClassFinder. findOrCreateIClass(ITestContext context, java.lang.Class<?> cls, XmlClass xmlClass, java.lang.Object instance, IAnnotationFinder annotationFinder, ITestObjectFactory objectFactory)
protected IClass
BaseClassFinder. findOrCreateIClass(ITestContext context, java.lang.Class<?> cls, XmlClass xmlClass, java.lang.Object instance, XmlTest xmlTest, IAnnotationFinder annotationFinder, ITestObjectFactory objectFactory)
Deprecated.- This method stands deprecated as of TestNG v6.13void
Configuration. setObjectFactory(ITestObjectFactory factory)
void
IConfiguration. setObjectFactory(ITestObjectFactory m_objectFactory)
Constructors in org.testng.internal with parameters of type ITestObjectFactory Constructor Description ClassImpl(ITestContext context, java.lang.Class<?> cls, XmlClass xmlClass, java.lang.Object instance, java.util.Map<java.lang.Class<?>,IClass> classes, IAnnotationFinder annotationFinder, ITestObjectFactory objectFactory)
ClassImpl(ITestContext context, java.lang.Class<?> cls, XmlClass xmlClass, java.lang.Object instance, java.util.Map<java.lang.Class<?>,IClass> classes, XmlTest xmlTest, IAnnotationFinder annotationFinder, ITestObjectFactory objectFactory)
Deprecated.- This constructor is un-used within TestNG and hence stands deprecated as of TestNG v6.13FactoryMethod(ConstructorOrMethod com, java.lang.Object instance, XmlTest xmlTest, IAnnotationFinder annotationFinder, ITestContext testContext, ITestObjectFactory objectFactory)
Deprecated.- This constructor is un-used within TestNG and hence stands deprecated as of TestNG v6.13FactoryMethod(ConstructorOrMethod com, java.lang.Object instance, XmlTest xmlTest, IAnnotationFinder annotationFinder, ITestContext testContext, ITestObjectFactory objectFactory, java.util.Map<java.lang.Class<? extends IDataProviderListener>,IDataProviderListener> dataProviderListeners)
Deprecated.- This constructor is un-used within TestNG and hence stands deprecated as of TestNG v6.13 -
Uses of ITestObjectFactory in org.testng.xml
Methods in org.testng.xml that return ITestObjectFactory Modifier and Type Method Description ITestObjectFactory
XmlSuite. getObjectFactory()
Methods in org.testng.xml with parameters of type ITestObjectFactory Modifier and Type Method Description void
XmlSuite. setObjectFactory(ITestObjectFactory objectFactory)
-