Uses of Interface
org.testng.ITestObjectFactory
-
Packages that use ITestObjectFactory Package Description org.testng org.testng.internal org.testng.internal.annotations org.testng.internal.objects org.testng.xml -
-
Uses of ITestObjectFactory in org.testng
Methods in org.testng that return ITestObjectFactory Modifier and Type Method Description ITestObjectFactory
ISuite. getObjectFactory()
ITestObjectFactory
SuiteRunner. getObjectFactory()
Methods in org.testng with parameters of type ITestObjectFactory Modifier and Type Method Description void
SuiteRunner. setObjectFactory(ITestObjectFactory objectFactory)
void
TestNG. setObjectFactory(ITestObjectFactory factory)
Method parameters in org.testng with type arguments of type ITestObjectFactory Modifier and Type Method Description void
TestNG. setObjectFactory(java.lang.Class<? extends ITestObjectFactory> c)
-
Uses of ITestObjectFactory in org.testng.internal
Fields in org.testng.internal declared as ITestObjectFactory Modifier and Type Field Description protected ITestObjectFactory
BaseTestMethod. m_objectFactory
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.util.List<ITestNGMethod>
ConfigurationMethod. createAfterConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, IObject.IdentifiableObject instance)
static ITestNGMethod[]
ConfigurationMethod. createBeforeConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, IObject.IdentifiableObject instance)
static java.util.List<ITestNGMethod>
ConfigurationMethod. createClassConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, XmlTest xmlTest, IObject.IdentifiableObject instance)
static ITestNGListenerFactory
TestListenerHelper. createListenerFactory(ITestObjectFactory objectFactory, TestNGClassFinder finder, java.lang.Class<? extends ITestNGListenerFactory> factoryClass, ITestContext context)
Deprecated.- This method stands deprecated as of TestNG version7.10.0
static java.util.List<ITestNGMethod>
ConfigurationMethod. createSuiteConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, IObject.IdentifiableObject instance)
static java.util.List<ITestNGMethod>
ConfigurationMethod. createTestConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, XmlTest xmlTest, IObject.IdentifiableObject instance)
static java.util.List<ITestNGMethod>
ConfigurationMethod. createTestMethodConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, XmlTest xmlTest, IObject.IdentifiableObject instance)
protected IClass
BaseClassFinder. findOrCreateIClass(ITestContext context, java.lang.Class<?> cls, XmlClass xmlClass, IObject.IdentifiableObject instance, IAnnotationFinder annotationFinder, ITestObjectFactory objectFactory)
static ParameterHolder
Parameters. handleParameters(ITestObjectFactory objectFactory, ITestNGMethod testMethod, java.util.Map<java.lang.String,java.lang.String> allParameterNames, java.lang.Object instance, Parameters.MethodParameters methodParams, XmlSuite xmlSuite, IAnnotationFinder annotationFinder, java.lang.Object fedInstance, DataProviderHolder holder)
If the method has parameters, fill them in.static ParameterHolder
Parameters. handleParameters(ITestObjectFactory objectFactory, ITestNGMethod testMethod, java.util.Map<java.lang.String,java.lang.String> allParameterNames, java.lang.Object instance, Parameters.MethodParameters methodParams, XmlSuite xmlSuite, IAnnotationFinder annotationFinder, java.lang.Object fedInstance, DataProviderHolder holder, java.lang.String annotationName)
If the method has parameters, fill them in.void
Configuration. setObjectFactory(ITestObjectFactory factory)
void
IConfiguration. setObjectFactory(ITestObjectFactory m_objectFactory)
Constructors in org.testng.internal with parameters of type ITestObjectFactory Constructor Description BaseTestMethod(ITestObjectFactory objectFactory, java.lang.String methodName, ConstructorOrMethod com, IAnnotationFinder annotationFinder, IObject.IdentifiableObject instance)
ClassImpl(ITestContext context, java.lang.Class<?> cls, XmlClass xmlClass, IObject.IdentifiableObject instance, java.util.Map<java.lang.Class<?>,IClass> classes, IAnnotationFinder annotationFinder, ITestObjectFactory objectFactory)
ConfigurationMethod(ITestObjectFactory objectFactory, ConstructorOrMethod com, IAnnotationFinder annotationFinder, boolean isBeforeSuite, boolean isAfterSuite, boolean isBeforeTest, boolean isAfterTest, boolean isBeforeClass, boolean isAfterClass, boolean isBeforeMethod, boolean isAfterMethod, boolean isIgnoreFailure, java.lang.String[] beforeGroups, java.lang.String[] afterGroups, XmlTest xmlTest, IObject.IdentifiableObject instance)
DefaultListenerFactory(ITestObjectFactory objectFactory, ITestContext context)
TestNGMethod(ITestObjectFactory objectFactory, java.lang.reflect.Method method, IAnnotationFinder finder, XmlTest xmlTest, IObject.IdentifiableObject instance)
Constructs aTestNGMethod
TestNGMethodFinder(ITestObjectFactory objectFactory, RunInfo runInfo, IAnnotationFinder annotationFinder)
TestNGMethodFinder(ITestObjectFactory objectFactory, RunInfo runInfo, IAnnotationFinder annotationFinder, java.util.Comparator<ITestNGMethod> comparator)
-
Uses of ITestObjectFactory in org.testng.internal.annotations
Methods in org.testng.internal.annotations with parameters of type ITestObjectFactory Modifier and Type Method Description static ITestNGMethod[]
AnnotationHelper. findMethodsWithAnnotation(ITestObjectFactory objectFactory, java.lang.Class<?> rootClass, java.lang.Class<? extends IAnnotation> annotationClass, IAnnotationFinder annotationFinder, XmlTest xmlTest)
-
Uses of ITestObjectFactory in org.testng.internal.objects
Classes in org.testng.internal.objects that implement ITestObjectFactory Modifier and Type Class Description class
DefaultTestObjectFactory
Intended to be the default way of instantiating objects within TestNG.class
ObjectFactoryImpl
Default factory for test creation.Methods in org.testng.internal.objects with parameters of type ITestObjectFactory Modifier and Type Method Description static IObjectDispenser
Dispenser. newInstance(ITestObjectFactory objectFactory)
-
Uses of ITestObjectFactory in org.testng.xml
Methods in org.testng.xml that return types with arguments of type ITestObjectFactory Modifier and Type Method Description java.lang.Class<? extends ITestObjectFactory>
XmlSuite. getObjectFactoryClass()
Method parameters in org.testng.xml with type arguments of type ITestObjectFactory Modifier and Type Method Description void
XmlSuite. setObjectFactoryClass(java.lang.Class<? extends ITestObjectFactory> objectFactoryClass)
-