Home
last modified time | relevance | path

Searched refs:objectFactory (Results 1 – 11 of 11) sorted by relevance

/external/testng/src/main/java/org/testng/internal/
DClassHelper.java287 ITestObjectFactory objectFactory) in createInstance() argument
289 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() argument
300 return objectFactory.newInstance(declaringClass); in createInstance2()
307 IObjectFactory objectFactory) { in createInstance1() argument
326 result = objectFactory.newInstance(constructor, parameters); in createInstance1()
[all …]
DTestNGClassFinder.java47 ITestObjectFactory objectFactory = configuration.getObjectFactory(); in TestNGClassFinder() local
55 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()
DBaseClassFinder.java44 ITestObjectFactory objectFactory) in findOrCreateIClass() argument
49 objectFactory); in findOrCreateIClass()
DClassImpl.java54 ITestObjectFactory objectFactory) { in ClassImpl() argument
62 m_objectFactory = objectFactory; in ClassImpl()
/external/testng/src/main/java/org/testng/xml/
DTestNGContentHandler.java202 String objectFactory = attributes.getValue("object-factory"); in xmlSuite() local
203 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()
DXmlSuite.java180 public void setObjectFactory(ITestObjectFactory objectFactory) { in setObjectFactory() argument
181 m_objectFactory = objectFactory; in setObjectFactory()
/external/jcommander/src/test/java/com/beust/jcommander/args/
DCommandLineArgs.java57 public String objectFactory; field in CommandLineArgs
/external/replicaisland/src/com/replica/replicaisland/
DGame.java129 GameObjectFactory objectFactory = new GameObjectFactory(); in bootstrap() local
130 BaseObject.sSystemRegistry.gameObjectFactory = objectFactory; in bootstrap()
244 objectFactory.preloadEffects(); in bootstrap()
/external/testng/src/main/java/org/testng/
DTestNG.java1497 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() local
1623 if(null != objectFactory) { in configure()
1624 result.objectFactory = objectFactory; in configure()
DCommandLineArgs.java57 public String objectFactory; field in CommandLineArgs
DSuiteRunner.java197 public void setObjectFactory(ITestObjectFactory objectFactory) { in setObjectFactory() argument
198 m_objectFactory = objectFactory; in setObjectFactory()