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 ITestObjectFactoryISuite. getObjectFactory()ITestObjectFactorySuiteRunner. getObjectFactory()Methods in org.testng with parameters of type ITestObjectFactory Modifier and Type Method Description voidSuiteRunner. setObjectFactory(ITestObjectFactory objectFactory)voidTestNG. setObjectFactory(ITestObjectFactory factory)Method parameters in org.testng with type arguments of type ITestObjectFactory Modifier and Type Method Description voidTestNG. 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 ITestObjectFactoryBaseTestMethod. m_objectFactoryMethods in org.testng.internal that return ITestObjectFactory Modifier and Type Method Description ITestObjectFactoryConfiguration. getObjectFactory()ITestObjectFactoryIConfiguration. 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 ITestNGListenerFactoryTestListenerHelper. createListenerFactory(ITestObjectFactory objectFactory, TestNGClassFinder finder, java.lang.Class<? extends ITestNGListenerFactory> factoryClass, ITestContext context)Deprecated.- This method stands deprecated as of TestNG version7.10.0static 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 IClassBaseClassFinder. findOrCreateIClass(ITestContext context, java.lang.Class<?> cls, XmlClass xmlClass, IObject.IdentifiableObject instance, IAnnotationFinder annotationFinder, ITestObjectFactory objectFactory)static ParameterHolderParameters. 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 ParameterHolderParameters. 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.voidConfiguration. setObjectFactory(ITestObjectFactory factory)voidIConfiguration. 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 aTestNGMethodTestNGMethodFinder(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 classDefaultTestObjectFactoryIntended to be the default way of instantiating objects within TestNG.classObjectFactoryImplDefault factory for test creation.Methods in org.testng.internal.objects with parameters of type ITestObjectFactory Modifier and Type Method Description static IObjectDispenserDispenser. 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 voidXmlSuite. setObjectFactoryClass(java.lang.Class<? extends ITestObjectFactory> objectFactoryClass)
-