Searched refs:objectFactory (Results 1 – 11 of 11) sorted by relevance
287 ITestObjectFactory objectFactory) in createInstance() argument289 if (objectFactory instanceof IObjectFactory) { in createInstance()291 (IObjectFactory) objectFactory); in createInstance()292 } else if (objectFactory instanceof IObjectFactory2) { in createInstance()293 return createInstance2(declaringClass, (IObjectFactory2) objectFactory); in createInstance()295 throw new AssertionError("Unknown object factory type:" + objectFactory); in createInstance()299 private static Object createInstance2(Class<?> declaringClass, IObjectFactory2 objectFactory) { in createInstance2() argument300 return objectFactory.newInstance(declaringClass); in createInstance2()307 IObjectFactory objectFactory) { in createInstance1() argument326 result = objectFactory.newInstance(constructor, parameters); in createInstance1()[all …]
47 ITestObjectFactory objectFactory = configuration.getObjectFactory(); in TestNGClassFinder() local55 if(objectFactory == null) { in TestNGClassFinder()56 objectFactory = new ObjectFactoryImpl(); in TestNGClassFinder()79 objectFactory = (ITestObjectFactory) m.invoke(instance, testContext); in TestNGClassFinder()81 objectFactory = (ITestObjectFactory) m.invoke(instance); in TestNGClassFinder()128 xmlTest, annotationFinder, objectFactory); in TestNGClassFinder()
44 ITestObjectFactory objectFactory) in findOrCreateIClass() argument49 objectFactory); in findOrCreateIClass()
54 ITestObjectFactory objectFactory) { in ClassImpl() argument62 m_objectFactory = objectFactory; in ClassImpl()
202 String objectFactory = attributes.getValue("object-factory"); in xmlSuite() local203 if (null != objectFactory && m_loadClasses) { in xmlSuite()205 … m_currentSuite.setObjectFactory((ITestObjectFactory)Class.forName(objectFactory).newInstance()); in xmlSuite()208 …Utils.log("Parser", 1, "[ERROR] Unable to create custom object factory '" + objectFactory + "' :" … in xmlSuite()
180 public void setObjectFactory(ITestObjectFactory objectFactory) { in setObjectFactory() argument181 m_objectFactory = objectFactory; in setObjectFactory()
57 public String objectFactory; field in CommandLineArgs
129 GameObjectFactory objectFactory = new GameObjectFactory(); in bootstrap() local130 BaseObject.sSystemRegistry.gameObjectFactory = objectFactory; in bootstrap()244 objectFactory.preloadEffects(); in bootstrap()
1497 if (cla.objectFactory != null) { in configure()1498 setObjectFactory(ClassHelper.fileToClass(cla.objectFactory)); in configure()1622 String objectFactory = (String) cmdLineArgs.get(CommandLineArgs.OBJECT_FACTORY); in configure() local1623 if(null != objectFactory) { in configure()1624 result.objectFactory = objectFactory; in configure()
197 public void setObjectFactory(ITestObjectFactory objectFactory) { in setObjectFactory() argument198 m_objectFactory = objectFactory; in setObjectFactory()