Home
last modified time | relevance | path

Searched refs:thisMethod (Results 1 – 8 of 8) sorted by relevance

/external/testng/src/main/java/org/testng/internal/
DMethodInvocationHelper.java40 protected static Object invokeMethod(Method thisMethod, Object instance, Object[] parameters) in invokeMethod() argument
42 Utils.checkInstanceOrStatic(instance, thisMethod); in invokeMethod()
47 if (instance == null || !thisMethod.getDeclaringClass().isAssignableFrom(instance.getClass())) { in invokeMethod()
50 boolean isStatic = Modifier.isStatic(thisMethod.getModifiers()); in invokeMethod()
55 thisMethod = clazz.getMethod(thisMethod.getName(), thisMethod.getParameterTypes()); in invokeMethod()
61 thisMethod = clazz.getDeclaredMethod(thisMethod.getName(), in invokeMethod()
62 thisMethod.getParameterTypes()); in invokeMethod()
70 if (thisMethod.getDeclaringClass().getName().equals(instance.getClass().getName())) { in invokeMethod()
71 throw new RuntimeException("Can't invoke method " + thisMethod in invokeMethod()
74 throw new RuntimeException("Can't invoke method " + thisMethod in invokeMethod()
[all …]
DMethodGroupsHelper.java188 for (ITestNGMethod thisMethod : im) { in findGroupTransitiveClosure()
189 if (! runningMethods.containsKey(thisMethod)) { in findGroupTransitiveClosure()
190 runningMethods.put(thisMethod, thisMethod); in findGroupTransitiveClosure()
191 newMethods.put(thisMethod, thisMethod); in findGroupTransitiveClosure()
203 ITestNGMethod thisMethod = MethodGroupsHelper.findMethodNamed(tm, allMethods); in findGroupTransitiveClosure() local
204 if (thisMethod != null && ! runningMethods.containsKey(thisMethod)) { in findGroupTransitiveClosure()
205 runningMethods.put(thisMethod, thisMethod); in findGroupTransitiveClosure()
206 newMethods.put(thisMethod, thisMethod); in findGroupTransitiveClosure()
DInvokeMethodRunnable.java21 public InvokeMethodRunnable(ITestNGMethod thisMethod, in InvokeMethodRunnable() argument
27 m_method = thisMethod; in InvokeMethodRunnable()
DMethodHelper.java85 Method thisMethod = method.getMethod(); in findDependedUponMethods() local
86 String thisMethodName = thisMethod.getName(); in findDependedUponMethods()
88 calculateMethodCanonicalName(thisMethod) in findDependedUponMethods()
DPackageUtils.java131 Method thisMethod = url.openConnection().getClass() in findClassesInPackage() local
134 URL fileUrl = (URL) thisMethod.invoke(connection, paramsObj); in findClassesInPackage()
DUtils.java465 public static void logInvocation(String reason, Method thisMethod, Object[] parameters) { in logInvocation() argument
466 String clsName = thisMethod.getDeclaringClass().getName(); in logInvocation()
471 String methodName = clsName + '.' + thisMethod.getName(); in logInvocation()
DInvoker.java625 Method thisMethod = tm.getConstructorOrMethod().getMethod(); in invokeMethod() local
640 parameterValues, hookableInstance, thisMethod, testResult); in invokeMethod()
643 MethodInvocationHelper.invokeMethod(thisMethod, instance, in invokeMethod()
/external/dexmaker/dexmaker/src/main/java/com/android/dx/stock/
DProxyBuilder.java541 Local<Method> thisMethod = code.newLocal(methodType); in generateCodeForAllMethods() local
566 code.aget(thisMethod, methodArray, methodIndex); in generateCodeForAllMethods()
585 localThis, thisMethod, args); in generateCodeForAllMethods()