Home
last modified time | relevance | path

Searched refs:ClassHelper (Results 1 – 13 of 13) sorted by relevance

/external/testng/src/main/java/org/testng/internal/
DClassImpl.java125 ClassHelper.createInstance(m_class, m_classes, m_xmlTest, in getDefaultInstance()
157 Class<Module> parentModule = (Class<Module>) ClassHelper.forName(suite.getParentModule()); in getParentInjector()
174 return ClassHelper.newInstance(moduleConstructor, m_testContext); in newModule()
176 return ClassHelper.newInstance(module); in newModule()
186 result = new Object[] { ClassHelper.createInstance(m_class, m_classes, in getInstances()
DObjectFactoryImpl.java32 return ClassHelper.tryOtherConstructor(constructor.getDeclaringClass()); in newInstance()
35 return ClassHelper.tryOtherConstructor(constructor.getDeclaringClass()); in newInstance()
DClassHelper.java31 public final class ClassHelper { class
44 private ClassHelper() { in ClassHelper() method in ClassHelper
193 … IJUnitTestRunner tr = (IJUnitTestRunner) ClassHelper.forName(JUNIT_4_TESTRUNNER).newInstance(); in createTestRunner()
201 … IJUnitTestRunner tr = (IJUnitTestRunner) ClassHelper.forName(JUNIT_TESTRUNNER).newInstance(); in createTestRunner()
513 result = ClassHelper.forName(file); in fileToClass()
560 result = ClassHelper.forName(className.toString()); in fileToClass()
584 result = ClassHelper.forName(className); in fileToClass()
DTestNGClassFinder.java23 import static org.testng.internal.ClassHelper.getAvailableMethods;
138 ClassHelper.findDeclaredFactoryMethod(cls, annotationFinder); in TestNGClassFinder()
DTestNGMethodFinder.java104 Set<Method> methods = ClassHelper.getAvailableMethods(clazz); in findConfiguration()
DMethodHelper.java317 Set<Method> methods = ClassHelper.getAvailableMethods(methodClass); // TESTNG-139 in calculateMethodCanonicalName()
DParameters.java323 for (Method m : ClassHelper.getAvailableMethods(cls)) { in findDataProvider()
/external/testng/src/main/java/org/testng/xml/
DXMLParser.java12 import org.testng.internal.ClassHelper;
57 …Class factoryClass= ClassHelper.forName("com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryI… in loadSAXParserFactory()
67 Class factoryClass = ClassHelper.forName("org.apache.crimson.jaxp.SAXParserFactoryImpl"); in loadSAXParserFactory()
DXmlClass.java7 import org.testng.internal.ClassHelper;
78 m_class = ClassHelper.forName(m_name); in loadClass()
/external/testng/src/main/java/org/testng/
DReporterConfig.java4 import org.testng.internal.ClassHelper;
104 Class reporterClass = ClassHelper.forName(m_className); in newReporterInstance()
106 result = ClassHelper.newInstance(reporterClass); in newReporterInstance()
DTestNG.java27 import org.testng.internal.ClassHelper;
534 Class c = ClassHelper.forName(splitMethod(m)[0]); in createCommandLineSuitesForMethods()
674 setTestRunnerFactory((ITestRunnerFactory) ClassHelper.newInstance(testRunnerFactoryClass)); in setTestRunnerFactoryClass()
683 m_objectFactory = (ITestObjectFactory) ClassHelper.newInstance(c); in setObjectFactory()
698 addListener(ClassHelper.newInstance(cls)); in setListenerClasses()
886 m_reporters.add(ClassHelper.newInstance(r)); in addReporter()
922 Class<?> listenerClass = ClassHelper.forName(listenerName); in initializeConfiguration()
930 Object listener = ClassHelper.newInstance(listenerClass); in initializeConfiguration()
1415 classes.add(ClassHelper.fileToClass(c)); in configure()
1474 classes.add(ClassHelper.fileToClass(cls)); in configure()
[all …]
DTestRunner.java24 import org.testng.internal.ClassHelper;
336 listener = ClassHelper.newInstance(c); in initListeners()
402 IMethodSelector s = ClassHelper.createSelector(selector); in initRunInfo()
694 IJUnitTestRunner tr= ClassHelper.createTestRunner(TestRunner.this); in privateRunJUnit()
/external/testng/src/main/java/org/testng/internal/annotations/
DConverter.java4 import org.testng.internal.ClassHelper;
83 result = ClassHelper.forName(namedParameter); in getClass()