Uses of Interface
org.testng.ITestObjectFactory
Packages that use ITestObjectFactory
Package
Description
-
Uses of ITestObjectFactory in org.testng
Subinterfaces of ITestObjectFactory in org.testngModifier and TypeInterfaceDescriptioninterfaceDeprecated.- This interface stands deprecated as of TestNG 7.5.0interfaceDeprecated.- This interface stands deprecated as of TestNG 7.5.0Fields in org.testng declared as ITestObjectFactoryModifier and TypeFieldDescriptionprivate static final ITestObjectFactoryTestNG.DEFAULT_OBJECT_FACTORYprivate ITestObjectFactoryTestNG.m_objectFactoryprivate ITestObjectFactoryTestRunner.m_objectFactoryprivate ITestObjectFactorySuiteRunner.objectFactoryprivate final ITestObjectFactoryTestClass.objectFactoryMethods in org.testng that return ITestObjectFactoryMethods in org.testng with parameters of type ITestObjectFactoryModifier and TypeMethodDescriptionvoidSuiteRunner.setObjectFactory(ITestObjectFactory objectFactory) voidTestNG.setObjectFactory(ITestObjectFactory factory) Method parameters in org.testng with type arguments of type ITestObjectFactoryModifier and TypeMethodDescriptionvoidTestNG.setObjectFactory(Class<? extends ITestObjectFactory> c) Constructors in org.testng with parameters of type ITestObjectFactoryModifierConstructorDescriptionprotectedTestClass(ITestObjectFactory objectFactory, IClass cls, ITestMethodFinder testMethodFinder, IAnnotationFinder annotationFinder, XmlTest xmlTest, XmlClass xmlClass, String errorMsgPrefix) -
Uses of ITestObjectFactory in org.testng.internal
Fields in org.testng.internal declared as ITestObjectFactoryModifier and TypeFieldDescriptionprotected final ITestObjectFactoryBaseTestMethod.m_objectFactoryprivate final ITestObjectFactoryClassImpl.m_objectFactoryprivate ITestObjectFactoryConfiguration.m_objectFactoryprivate final ITestObjectFactoryDefaultListenerFactory.m_objectFactoryprivate final ITestObjectFactoryTestNGClassFinder.objectFactoryprivate final ITestObjectFactoryTestNGMethodFinder.objectFactoryMethods in org.testng.internal that return ITestObjectFactoryModifier and TypeMethodDescriptionprivate ITestObjectFactoryTestNGClassFinder.createObjectFactory(Set<Class<?>> allClasses, ITestObjectFactory fallback) Configuration.getObjectFactory()IConfiguration.getObjectFactory()Methods in org.testng.internal with parameters of type ITestObjectFactoryModifier and TypeMethodDescriptionstatic ITestNGMethod[]ConfigurationMethod.createAfterConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, Object instance) static ITestNGMethod[]ConfigurationMethod.createBeforeConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, Object instance) static ITestNGMethod[]ConfigurationMethod.createClassConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, XmlTest xmlTest, Object instance) static ITestNGListenerFactoryTestListenerHelper.createListenerFactory(ITestObjectFactory objectFactory, TestNGClassFinder finder, Class<? extends ITestNGListenerFactory> factoryClass, ITestContext context) private static ITestNGMethod[]ConfigurationMethod.createMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder finder, boolean isBeforeSuite, boolean isAfterSuite, boolean isBeforeTest, boolean isAfterTest, boolean isBeforeClass, boolean isAfterClass, boolean isBeforeMethod, boolean isAfterMethod, XmlTest xmlTest, Object instance) private ITestObjectFactoryTestNGClassFinder.createObjectFactory(Set<Class<?>> allClasses, ITestObjectFactory fallback) static ITestNGMethod[]ConfigurationMethod.createSuiteConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, Object instance) static ITestNGMethod[]ConfigurationMethod.createTestConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, XmlTest xmlTest, Object instance) static ITestNGMethod[]ConfigurationMethod.createTestMethodConfigurationMethods(ITestObjectFactory objectFactory, ITestNGMethod[] methods, IAnnotationFinder annotationFinder, boolean isBefore, XmlTest xmlTest, Object instance) private static IDataProviderMethodParameters.findDataProvider(ITestObjectFactory objectFactory, Object instance, ITestClass clazz, IAnnotationFinder finder, String name, Class<?> dataProviderClass, boolean isDynamicDataProvider, ITestContext context) Find a method that has a @DataProvider(name=name)private static IDataProviderMethodParameters.findDataProvider(ITestObjectFactory objectFactory, Object instance, ITestClass clazz, ConstructorOrMethod m, IAnnotationFinder finder, ITestContext context) protected IClassBaseClassFinder.findOrCreateIClass(ITestContext context, Class<?> cls, XmlClass xmlClass, Object instance, IAnnotationFinder annotationFinder, ITestObjectFactory objectFactory) private static String[]FactoryMethod.getAllGroups(ITestObjectFactory objectFactory, Class<?> declaringClass, XmlTest xmlTest, IAnnotationFinder annotationFinder) static ParameterHolderParameters.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 ParameterHolderParameters.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.voidConfiguration.setObjectFactory(ITestObjectFactory factory) voidIConfiguration.setObjectFactory(ITestObjectFactory m_objectFactory) Constructors in org.testng.internal with parameters of type ITestObjectFactoryModifierConstructorDescriptionBaseTestMethod(ITestObjectFactory objectFactory, String methodName, ConstructorOrMethod com, IAnnotationFinder annotationFinder, Object instance) ClassImpl(ITestContext context, Class<?> cls, XmlClass xmlClass, Object instance, Map<Class<?>, IClass> classes, IAnnotationFinder annotationFinder, ITestObjectFactory objectFactory) privateConfigurationMethod(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, boolean initialize, Object instance) 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, Object instance) DefaultListenerFactory(ITestObjectFactory objectFactory, ITestContext context) (package private)FactoryMethod(ConstructorOrMethod com, Object instance, IAnnotationFinder annotationFinder, ITestContext testContext, ITestObjectFactory objectFactory, DataProviderHolder holder) privateTestNGMethod(ITestObjectFactory objectFactory, Method method, IAnnotationFinder finder, boolean initialize, XmlTest xmlTest, Object instance) TestNGMethod(ITestObjectFactory objectFactory, Method method, IAnnotationFinder finder, XmlTest xmlTest, Object instance) Constructs aTestNGMethodTestNGMethodFinder(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.invokers
Fields in org.testng.internal.invokers declared as ITestObjectFactoryConstructors in org.testng.internal.invokers with parameters of type ITestObjectFactoryModifierConstructorDescription(package private)ParameterHandler(ITestObjectFactory objectFactory, IAnnotationFinder finder, DataProviderHolder holder, int verbose) -
Uses of ITestObjectFactory in org.testng.internal.objects
Classes in org.testng.internal.objects that implement ITestObjectFactoryModifier and TypeClassDescriptionclassIntended to be the default way of instantiating objects within TestNG.classDefault factory for test creation.Fields in org.testng.internal.objects declared as ITestObjectFactoryModifier and TypeFieldDescriptionprivate final ITestObjectFactorySimpleObjectDispenser.objectFactoryMethods in org.testng.internal.objects with parameters of type ITestObjectFactoryModifier and TypeMethodDescriptionprivate static ObjectSimpleObjectDispenser.computeParameters(Map<Class<?>, IClass> classes, Class<?> ec, ITestObjectFactory factory) (package private) static <T> TSimpleObjectDispenser.createInstance(Class<T> declaringClass, Map<Class<?>, IClass> classes, XmlTest xmlTest, IAnnotationFinder finder, ITestObjectFactory objectFactory, boolean create, String errorMsgPrefix) private static <T> TSimpleObjectDispenser.instantiateUsingDefaultConstructor(Class<T> declaringClass, Map<Class<?>, IClass> classes, XmlTest xmlTest, ITestObjectFactory factory) private static <T> TSimpleObjectDispenser.instantiateUsingParameterizedConstructor(IAnnotationFinder finder, Constructor<T> constructor, XmlTest xmlTest, ITestObjectFactory objectFactory) static IObjectDispenserDispenser.newInstance(ITestObjectFactory objectFactory) Constructors in org.testng.internal.objects with parameters of type ITestObjectFactoryModifierConstructorDescription(package private)SimpleObjectDispenser(ITestObjectFactory objectFactory) -
Uses of ITestObjectFactory in org.testng.junit
Fields in org.testng.junit declared as ITestObjectFactoryModifier and TypeFieldDescriptionprivate final ITestObjectFactoryJUnitTestRunner.m_objectFactoryDeprecated.private final ITestObjectFactoryJUnit4TestRunner.objectFactoryDeprecated.private final ITestObjectFactoryJUnitMethodFinder.objectFactoryDeprecated.Methods in org.testng.junit with parameters of type ITestObjectFactoryModifier and TypeMethodDescriptionprivate ITestResultJUnit4TestRunner.createTestResult(ITestObjectFactory objectFactory, org.junit.runner.Description test) Deprecated.static IJUnitTestRunnerIJUnitTestRunner.createTestRunner(ITestObjectFactory objectFactory, ITestResultNotifier runner) Deprecated.Constructors in org.testng.junit with parameters of type ITestObjectFactoryModifierConstructorDescriptionJUnit3TestMethod(ITestObjectFactory objectFactory, JUnitTestClass owner, junit.framework.Test test) Deprecated.JUnit4TestMethod(ITestObjectFactory objectFactory, JUnitTestClass owner, org.junit.runner.Description desc) Deprecated.JUnit4TestRunner(ITestObjectFactory objectFactory, ITestResultNotifier tr) Deprecated.JUnitMethodFinder(ITestObjectFactory objectFactory, IAnnotationFinder finder) Deprecated.protectedJUnitTestMethod(ITestObjectFactory objectFactory, JUnitTestClass owner, String methodName, ConstructorOrMethod method, Object instance) Deprecated.protectedJUnitTestMethod(ITestObjectFactory objectFactory, JUnitTestClass owner, ConstructorOrMethod method, Object instance) Deprecated.JUnitTestRunner(ITestObjectFactory objectFactory, ITestResultNotifier tr) Deprecated. -
Uses of ITestObjectFactory in org.testng.xml
Fields in org.testng.xml with type parameters of type ITestObjectFactoryModifier and TypeFieldDescriptionprivate Class<? extends ITestObjectFactory> XmlSuite.m_objectFactoryClassMethods in org.testng.xml that return ITestObjectFactoryModifier and TypeMethodDescriptionXmlSuite.getObjectFactory()Deprecated.- This method stands deprecated as of TestNG7.5.0.Methods in org.testng.xml that return types with arguments of type ITestObjectFactoryModifier and TypeMethodDescriptionClass<? extends ITestObjectFactory> XmlSuite.getObjectFactoryClass()Methods in org.testng.xml with parameters of type ITestObjectFactoryModifier and TypeMethodDescriptionvoidXmlSuite.setObjectFactory(ITestObjectFactory objectFactory) Deprecated.Method parameters in org.testng.xml with type arguments of type ITestObjectFactoryModifier and TypeMethodDescriptionvoidXmlSuite.setObjectFactoryClass(Class<? extends ITestObjectFactory> objectFactoryClass)