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.Fields in org.testng declared as ITestObjectFactory Modifier and Type Field Description private ITestObjectFactory
TestNG. m_objectFactory
private ITestObjectFactory
SuiteRunner. objectFactory
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.Fields in org.testng.internal declared as ITestObjectFactory Modifier and Type Field Description private ITestObjectFactory
ClassImpl. m_objectFactory
private ITestObjectFactory
Configuration. m_objectFactory
private ITestObjectFactory
FactoryMethod. objectFactory
private ITestObjectFactory
TestNGClassFinder. objectFactory
Methods in org.testng.internal that return ITestObjectFactory Modifier and Type Method Description private ITestObjectFactory
TestNGClassFinder. createObjectFactory(java.util.Set<java.lang.Class<?>> allClasses)
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
InstanceCreator. createInstance(java.lang.Class<?> declaringClass, java.util.Map<java.lang.Class<?>,IClass> classes, XmlTest xmlTest, IAnnotationFinder finder, ITestObjectFactory objectFactory, boolean create, java.lang.String errorMsgPrefix)
protected IClass
BaseClassFinder. findOrCreateIClass(ITestContext context, java.lang.Class<?> cls, XmlClass xmlClass, java.lang.Object instance, IAnnotationFinder annotationFinder, ITestObjectFactory objectFactory)
void
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)
FactoryMethod(ConstructorOrMethod com, java.lang.Object instance, IAnnotationFinder annotationFinder, ITestContext testContext, ITestObjectFactory objectFactory, DataProviderHolder holder)
-
Uses of ITestObjectFactory in org.testng.xml
Fields in org.testng.xml declared as ITestObjectFactory Modifier and Type Field Description private ITestObjectFactory
XmlSuite. m_objectFactory
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)
-