Uses of Interface
org.testng.ITestObjectFactory
Packages that use ITestObjectFactory
Package
Description
-
Uses of ITestObjectFactory in org.testng
Methods in org.testng that return ITestObjectFactoryMethods in org.testng with parameters of type ITestObjectFactoryModifier and TypeMethodDescriptionvoid
SuiteRunner.setObjectFactory
(ITestObjectFactory objectFactory) void
TestNG.setObjectFactory
(ITestObjectFactory factory) Method parameters in org.testng with type arguments of type ITestObjectFactoryModifier and TypeMethodDescriptionvoid
TestNG.setObjectFactory
(Class<? extends ITestObjectFactory> c) -
Uses of ITestObjectFactory in org.testng.internal
Fields in org.testng.internal declared as ITestObjectFactoryModifier and TypeFieldDescriptionprotected final ITestObjectFactory
BaseTestMethod.m_objectFactory
Methods in org.testng.internal that return ITestObjectFactoryModifier and TypeMethodDescriptionConfiguration.getObjectFactory()
IConfiguration.getObjectFactory()
Methods in org.testng.internal with parameters of type ITestObjectFactoryModifier and TypeMethodDescriptionstatic 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 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, Class<? extends ITestNGListenerFactory> factoryClass, ITestContext context) Deprecated.static List
<ITestNGMethod> ConfigurationMethod.createSuiteConfigurationMethods
(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, IObject.IdentifiableObject instance) static List
<ITestNGMethod> ConfigurationMethod.createTestConfigurationMethods
(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, XmlTest xmlTest, IObject.IdentifiableObject instance) static List
<ITestNGMethod> ConfigurationMethod.createTestMethodConfigurationMethods
(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, XmlTest xmlTest, IObject.IdentifiableObject instance) protected IClass
BaseClassFinder.findOrCreateIClass
(ITestContext context, Class<?> cls, XmlClass xmlClass, IObject.IdentifiableObject instance, IAnnotationFinder annotationFinder, ITestObjectFactory objectFactory) static ParameterHolder
Parameters.handleParameters
(ITestObjectFactory objectFactory, ITestNGMethod testMethod, Map<String, String> allParameterNames, Object instance, Parameters.MethodParameters methodParams, XmlSuite xmlSuite, IAnnotationFinder annotationFinder, Object fedInstance, DataProviderHolder holder) If the method has parameters, fill them in.static ParameterHolder
Parameters.handleParameters
(ITestObjectFactory objectFactory, ITestNGMethod testMethod, Map<String, String> allParameterNames, Object instance, Parameters.MethodParameters methodParams, XmlSuite xmlSuite, IAnnotationFinder annotationFinder, Object fedInstance, DataProviderHolder holder, 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 ITestObjectFactoryModifierConstructorDescriptionBaseTestMethod
(ITestObjectFactory objectFactory, String methodName, ConstructorOrMethod com, IAnnotationFinder annotationFinder, IObject.IdentifiableObject instance) ClassImpl
(ITestContext context, Class<?> cls, XmlClass xmlClass, IObject.IdentifiableObject instance, Map<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, String[] beforeGroups, String[] afterGroups, XmlTest xmlTest, IObject.IdentifiableObject instance) DefaultListenerFactory
(ITestObjectFactory objectFactory, ITestContext context) TestNGMethod
(ITestObjectFactory objectFactory, 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, Comparator<ITestNGMethod> comparator) -
Uses of ITestObjectFactory in org.testng.internal.annotations
Methods in org.testng.internal.annotations with parameters of type ITestObjectFactoryModifier and TypeMethodDescriptionstatic ITestNGMethod[]
AnnotationHelper.findMethodsWithAnnotation
(ITestObjectFactory objectFactory, Class<?> rootClass, Class<? extends IAnnotation> annotationClass, IAnnotationFinder annotationFinder, XmlTest xmlTest) -
Uses of ITestObjectFactory in org.testng.internal.objects
Classes in org.testng.internal.objects that implement ITestObjectFactoryModifier and TypeClassDescriptionclass
Intended to be the default way of instantiating objects within TestNG.class
Default factory for test creation.Methods in org.testng.internal.objects with parameters of type ITestObjectFactoryModifier and TypeMethodDescriptionstatic IObjectDispenser
Dispenser.newInstance
(ITestObjectFactory objectFactory) -
Uses of ITestObjectFactory in org.testng.xml
Methods in org.testng.xml that return types with arguments of type ITestObjectFactoryModifier and TypeMethodDescriptionClass
<? extends ITestObjectFactory> XmlSuite.getObjectFactoryClass()
Method parameters in org.testng.xml with type arguments of type ITestObjectFactoryModifier and TypeMethodDescriptionvoid
XmlSuite.setObjectFactoryClass
(Class<? extends ITestObjectFactory> objectFactoryClass)
7.10.0