Searched refs:ClassHelper (Results 1 – 13 of 13) sorted by relevance
125 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()
31 public final class ClassHelper { class44 private ClassHelper() { in ClassHelper() method in ClassHelper193 … 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()
32 return ClassHelper.tryOtherConstructor(constructor.getDeclaringClass()); in newInstance()35 return ClassHelper.tryOtherConstructor(constructor.getDeclaringClass()); in newInstance()
23 import static org.testng.internal.ClassHelper.getAvailableMethods;138 ClassHelper.findDeclaredFactoryMethod(cls, annotationFinder); in TestNGClassFinder()
104 Set<Method> methods = ClassHelper.getAvailableMethods(clazz); in findConfiguration()
317 Set<Method> methods = ClassHelper.getAvailableMethods(methodClass); // TESTNG-139 in calculateMethodCanonicalName()
323 for (Method m : ClassHelper.getAvailableMethods(cls)) { in findDataProvider()
12 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()
7 import org.testng.internal.ClassHelper;78 m_class = ClassHelper.forName(m_name); in loadClass()
4 import org.testng.internal.ClassHelper;104 Class reporterClass = ClassHelper.forName(m_className); in newReporterInstance()106 result = ClassHelper.newInstance(reporterClass); in newReporterInstance()
27 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 …]
24 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()
4 import org.testng.internal.ClassHelper;83 result = ClassHelper.forName(namedParameter); in getClass()