Home
last modified time | relevance | path

Searched refs:methodName (Results 1 – 25 of 214) sorted by relevance

123456789

/external/guava/guava-tests/test/com/google/common/util/concurrent/
DTestThread.java90 public void callAndAssertReturns(String methodName, Object... arguments) throws Exception { in callAndAssertReturns() argument
91 checkNotNull(methodName); in callAndAssertReturns()
93 sendRequest(methodName, arguments); in callAndAssertReturns()
94 assertSame(null, getResponse(methodName).getResult()); in callAndAssertReturns()
101 public void callAndAssertReturns(boolean expected, String methodName, Object... arguments) in callAndAssertReturns() argument
103 checkNotNull(methodName); in callAndAssertReturns()
105 sendRequest(methodName, arguments); in callAndAssertReturns()
106 assertEquals(expected, getResponse(methodName).getResult()); in callAndAssertReturns()
113 public void callAndAssertReturns(int expected, String methodName, Object... arguments) in callAndAssertReturns() argument
115 checkNotNull(methodName); in callAndAssertReturns()
[all …]
/external/javassist/src/main/javassist/convert/
DTransformAccessArrayField.java128 String methodName = getMethodName(opcode); in replace() local
129 if (methodName != null) { in replace()
149 int methodref = cp.addMethodrefInfo(mi, methodName, signature); in replace()
166 String methodName = null; in getMethodName() local
169 methodName = names.objectRead(); in getMethodName()
172 methodName = names.byteOrBooleanRead(); in getMethodName()
175 methodName = names.charRead(); in getMethodName()
178 methodName = names.doubleRead(); in getMethodName()
181 methodName = names.floatRead(); in getMethodName()
184 methodName = names.intRead(); in getMethodName()
[all …]
/external/caliper/caliper/src/main/java/com/google/caliper/model/
DBenchmarkSpec.java45 private String methodName; field in BenchmarkSpec
51 this.methodName = ""; in BenchmarkSpec()
57 this.methodName = builder.methodName; in BenchmarkSpec()
65 public String methodName() { in methodName() method in BenchmarkSpec
66 return methodName; in methodName()
79 && this.methodName.equals(that.methodName) in equals()
101 .add("methodName", methodName) in toString()
111 .putUnencodedChars(from.methodName); in funnel()
118 private String methodName; field in BenchmarkSpec.Builder
126 public Builder methodName(String methodName) { in methodName() method in BenchmarkSpec.Builder
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
DFramesTest.java86 String methodName, classSignature; in testFrames005() local
90 methodName = getMethodName(frame.loc.classID, frame.loc.methodID); in testFrames005()
94 + methodName in testFrames005()
140 String methodName, classSignature; in testFrames004() local
144 methodName = getMethodName(frame.loc.classID, frame.loc.methodID); in testFrames004()
148 + methodName in testFrames004()
195 String methodName, classSignature; in testFrames003() local
199 methodName = getMethodName(frame.loc.classID, frame.loc.methodID); in testFrames003()
203 + methodName in testFrames003()
255 String methodName, classSignature; in testFrames002() local
[all …]
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DNumberFormatTest.java79 private NumberFormat getJDKInstance(int type, Locale loc, String[] methodName) { in getJDKInstance() argument
105 if (methodName != null) { in getJDKInstance()
106 methodName[0] = method; in getJDKInstance()
111 … private com.ibm.icu.text.NumberFormat getICUInstance(int type, Locale loc, String[] methodName) { in getICUInstance() argument
137 if (methodName != null) { in getICUInstance()
138 methodName[0] = method; in getICUInstance()
177 String[] methodName = new String[1]; in TestICUEquivalent() local
181 NumberFormat nf = getJDKInstance(type, iculoc, methodName); in TestICUEquivalent()
193 … + methodName[0] + ") in locale " + loc + " - JDK:" + s1 + " ICU:" + s2); in TestICUEquivalent()
211 + " NumberFormat(" + methodName[0] + ") for parsing long" + l in TestICUEquivalent()
[all …]
/external/mockito/src/main/java/org/mockito/internal/invocation/
DSerializableMethod.java19 private final String methodName; field in SerializableMethod
31 methodName = method.getName(); in SerializableMethod()
40 return methodName; in getName()
68 method = declaringClass.getDeclaredMethod(methodName, parameterTypes); in getJavaMethod()
73 …ease report this as a defect with an example of how to reproduce it.", declaringClass, methodName); in getJavaMethod()
78 …ease report this as a defect with an example of how to reproduce it.", declaringClass, methodName); in getJavaMethod()
102 if (methodName == null) { in equals()
103 if (other.methodName != null) in equals()
105 } else if (!methodName.equals(other.methodName)) in equals()
/external/r8/src/test/java/com/android/tools/r8/debug/
DLocalsTest.java24 final String methodName = "noLocals"; in testNoLocal() local
26 breakpoint(className, methodName), in testNoLocal()
28 checkMethod(className, methodName), in testNoLocal()
32 checkMethod(className, methodName), in testNoLocal()
41 final String methodName = "unusedLocals"; in testUnusedLocal() local
43 breakpoint(className, methodName), in testUnusedLocal()
45 checkMethod(className, methodName), in testUnusedLocal()
57 final String methodName = "constantLocals"; in testConstantLocal() local
63 breakpoint(className, methodName), in testConstantLocal()
65 checkMethod(className, methodName), in testConstantLocal()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
DCombinedEventsTestCase.java53 void printMethodLineTable(long classID, String className /* may be null */, String methodName) { in printMethodLineTable() argument
54 long methodID = debuggeeWrapper.vmMirror.getMethodID(classID, methodName); in printMethodLineTable()
58 + classID + "; Method name = " + methodName); in printMethodLineTable()
72 logWriter.println("=== Line Table for method: " + methodName + " ==="); in printMethodLineTable()
74 logWriter.println("=== Line Table for method: " + methodName + " of class: " in printMethodLineTable()
89 logWriter.println("=== End of Line Table " + methodName + " ==="); in printMethodLineTable()
92 long getMethodStartCodeIndex(long classID, String methodName) { in getMethodStartCodeIndex() argument
93 long methodID = debuggeeWrapper.vmMirror.getMethodID(classID, methodName); in getMethodStartCodeIndex()
97 + classID + "; Method name = " + methodName); in getMethodStartCodeIndex()
116 long getMethodEndCodeIndex(long classID, String methodName) { in getMethodEndCodeIndex() argument
[all …]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/bytecode/
DShadowWrangler.java87 …public Object methodInvoked(Class clazz, String methodName, Object instance, String[] paramTypes, … in methodInvoked() argument
88 InvocationPlan invocationPlan = new InvocationPlan(clazz, methodName, instance, paramTypes); in methodInvoked()
90 reportNoShadowMethodFound(clazz, methodName, paramTypes); in methodInvoked()
95 …throw new I18nException("Method " + methodName + " on class " + clazz.getName() + " is not i18n-sa… in methodInvoked()
124 private void reportNoShadowMethodFound(Class clazz, String methodName, String[] paramTypes) { in reportNoShadowMethodFound() argument
126 …System.out.println("No Shadow method found for " + clazz.getSimpleName() + "." + methodName + "(" + in reportNoShadowMethodFound()
289 private String methodName; field in ShadowWrangler.InvocationPlan
296 … public InvocationPlan(Class clazz, String methodName, Object instance, String... paramTypes) { in InvocationPlan() argument
299 this.methodName = methodName; in InvocationPlan()
339 … declaredShadowClass = findDeclaredShadowClassForMethod(originalClass, methodName, paramClasses); in prepare()
[all …]
/external/testng/src/test/java/test/methodinterceptors/multipleinterceptors/
DMethodNameFilterInterceptor.java13 private final String methodName; field in MethodNameFilterInterceptor
15 protected MethodNameFilterInterceptor(String methodName) { in MethodNameFilterInterceptor() argument
16 this.methodName = methodName; in MethodNameFilterInterceptor()
25 if (!name.equals(methodName)) { in intercept()
29 method.setDescription(methodName); in intercept()
31 method.setDescription(currentDescription + methodName); in intercept()
/external/xmlrpcpp/src/
DXmlRpcServerConnection.cpp210 std::string methodName = parseRequest(params); in executeRequest() local
212 methodName.c_str()); in executeRequest()
216 if ( ! executeMethod(methodName, params, resultValue) && in executeRequest()
217 ! executeMulticall(methodName, params, resultValue)) in executeRequest()
218 generateFaultResponse(methodName + ": unknown method name"); in executeRequest()
237 std::string methodName = XmlRpcUtil::parseTag(METHODNAME_TAG, _request, &offset); in parseRequest() local
239 if (methodName.size() > 0 && XmlRpcUtil::findTag(PARAMS_TAG, _request, &offset)) in parseRequest()
250 return methodName; in parseRequest()
255 XmlRpcServerConnection::executeMethod(const std::string& methodName, in executeMethod() argument
258 XmlRpcServerMethod* method = _server->findMethod(methodName); in executeMethod()
[all …]
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/
DMethodLocator.java35 private final String methodName; field in MethodLocator
39 public MethodLocator(TypeLocator typeLocator, String methodName, List<String> parameterTypes) { in MethodLocator() argument
41 this.methodName = methodName; in MethodLocator()
55 && methodDeclaration.getName().getFullyQualifiedName().equals(methodName) in matches()
71 if (methodDeclaration.getName().getFullyQualifiedName().equals(methodName)) { in find()
86 return typeLocator.getStringFormTarget() + "#" + methodName in getStringFormTarget()
94 ", methodName='" + methodName + '\'' + in toString()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DOptionalMethod.java34 private final String methodName; field in OptionalMethod
45 public OptionalMethod(Class<?> returnType, String methodName, Class... methodParams) { in OptionalMethod() argument
47 this.methodName = methodName; in OptionalMethod()
109 throw new AssertionError("Method " + methodName + " not supported for object " + target); in invoke()
150 if (methodName != null) { in getMethod()
151 method = getPublicMethod(clazz, methodName, methodParams); in getMethod()
163 private static Method getPublicMethod(Class<?> clazz, String methodName, Class[] parameterTypes) { in getPublicMethod() argument
166 method = clazz.getMethod(methodName, parameterTypes); in getPublicMethod()
/external/guice/core/src/com/google/inject/internal/util/
DStackTraceElements.java131 String methodName = inMemoryStackTraceElements[i].getMethodName(); in convertToStackTraceElement() local
134 new StackTraceElement(declaringClass, methodName, UNKNOWN_SOURCE, lineNumber); in convertToStackTraceElement()
168 private String methodName; field in StackTraceElements.InMemoryStackTraceElement
175 InMemoryStackTraceElement(String declaringClass, String methodName, int lineNumber) { in InMemoryStackTraceElement() argument
177 this.methodName = methodName; in InMemoryStackTraceElement()
186 return methodName; in getMethodName()
203 methodName.equals(e.methodName); in equals()
208 int result = 31 * declaringClass.hashCode() + methodName.hashCode(); in hashCode()
215 return declaringClass + "." + methodName + "(" + lineNumber + ")"; in toString()
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/internal/
DReflectiveTypeFinder.java31 private final String methodName; field in ReflectiveTypeFinder
35 …public ReflectiveTypeFinder(String methodName, int expectedNumberOfParameters, int typedParameter)… in ReflectiveTypeFinder() argument
36 this.methodName = methodName; in ReflectiveTypeFinder()
49 throw new Error("Cannot determine correct type for " + methodName + "() method."); in findExpectedType()
57 return method.getName().equals(methodName) in canObtainExpectedTypeFrom()
/external/junit-params/src/test/java/junitparams/
DFilterableTest.java76 private Request requestSingleMethodRun(Class<SampleTestCase> clazz, String methodName) { in requestSingleMethodRun() argument
77 return Request.aClass(clazz).filterWith(new SingleMethodFilter(methodName)); in requestSingleMethodRun()
81 private final String methodName; field in FilterableTest.SingleMethodFilter
83 public SingleMethodFilter(String methodName) { in SingleMethodFilter() argument
84 this.methodName = methodName; in SingleMethodFilter()
89 return description.getDisplayName().contains(methodName); in shouldRun()
94 return methodName; in describe()
/external/testng/src/main/java/org/testng/internal/
DXmlMethodSelector.java164 String methodName = pkg != null ? pkg.getName() + "." + m.getName() : m.getName(); in includeMethodFromIncludeExclude() local
166 logInclusion(result ? "Including" : "Excluding", "method", methodName + "()"); in includeMethodFromIncludeExclude()
219 String methodName = im; in createQualifiedMethodNames() local
221 Pattern pattern = Pattern.compile(methodName); in createQualifiedMethodNames()
234 private String makeMethodName(String className, String methodName) { in makeMethodName() argument
235 return className + "." + methodName; in makeMethodName()
238 private void checkMethod(Class<?> c, String methodName) { in checkMethod() argument
239 Pattern p = Pattern.compile(methodName); in checkMethod()
245 Utils.log("Warning", 2, "The regular expression \"" + methodName + "\" didn't match any" + in checkMethod()
254 String methodName = makeMethodName(c.getName(), m.getName()); in setXmlClasses() local
[all …]
/external/proguard/src/proguard/
DGetAnnotationChecker.java63 String methodName = methodrefConstant.getName(clazz); in visitMethodrefConstant() local
65 if (methodName.equals(ClassConstants.METHOD_NAME_GET_ANNOTATION) || in visitMethodrefConstant()
66 methodName.equals(ClassConstants.METHOD_NAME_GET_ANNOTATIONS) || in visitMethodrefConstant()
67 methodName.equals(ClassConstants.METHOD_NAME_GET_DECLARED_ANNOTATIONS) || in visitMethodrefConstant()
68 methodName.equals(ClassConstants.METHOD_NAME_GET_PARAMETER_ANNOTATIONS)) in visitMethodrefConstant()
76 methodName + "'"); in visitMethodrefConstant()
/external/r8/src/main/java/com/android/tools/r8/graph/
DDexCallSite.java22 public final DexString methodName; field in DexCallSite
30 DexCallSite(DexString methodName, DexProto methodProto, in DexCallSite() argument
32 assert methodName != null; in DexCallSite()
37 this.methodName = methodName; in DexCallSite()
44 return methodName.hashCode() in computeHashCode()
53 return methodName.equals(o.methodName) in computeEquals()
63 new StringBuilder("CallSite: { Name: ").append(methodName.toSourceString()) in toString()
78 methodName.collectIndexedItems(indexedItems); in collectIndexedItems()
210 write(methodName); in build()
231 callSitesValues[valuesIndex++] = new DexValueString(methodName); in getEncodedArray()
/external/vogar/src/vogar/target/junit/
DJUnitUtils.java36 String methodName = description.getMethodName(); in getTestName() local
37 return getTestName(className, methodName); in getTestName()
43 public static String getTestName(String className, String methodName) { in getTestName() argument
44 if (methodName == null) { in getTestName()
47 return className + "#" + methodName; in getTestName()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/
DThisObjectTest.java111 …String methodName = debuggeeWrapper.vmMirror.getMethodName(frameIDs[i].location.classID, frameIDs[… in testThisObjectTest001() local
112 logWriter.println("==> method name=" + methodName); in testThisObjectTest001()
142 if (KNOWN_METHOD_NAMES[j].equals(methodName)) { in testThisObjectTest001()
146 … ("## FAILURE: StackFrame.ThisObject returned NULL ObjectID for known method: " + methodName); in testThisObjectTest001()
148 … fail("StackFrame.ThisObject returned NULL ObjectID for known method: " + methodName); in testThisObjectTest001()
153 … ("## FAILURE: Returned unexpected ObjectID for known method: " + methodName); in testThisObjectTest001()
157 … fail("Returned unexpected ObjectID for known method: " + methodName); in testThisObjectTest001()
165 … ("## FAILURE: StackFrame.ThisObject returned not OBJECT_TAG for known method: " + methodName); in testThisObjectTest001()
167 … fail("StackFrame.ThisObject returned not OBJECT_TAG for known method: " + methodName); in testThisObjectTest001()
173 if (mainMethod.equals(methodName)) { in testThisObjectTest001()
/external/testng/src/main/java/org/testng/internal/thread/
DTestNGThread.java9 public TestNGThread(String methodName) { in TestNGThread() argument
10 super("TestNGInvoker-" + methodName + "()"); in TestNGThread()
13 public TestNGThread(Runnable target, String methodName) { in TestNGThread() argument
14 super(target, "TestNGInvoker-" + methodName + "()"); in TestNGThread()
/external/vogar/test/vogar/target/
DAbstractTestRunnerTest.java138 public ExpectedResults failure(String methodName, String message) { in failure() argument
139 String output = outcome(testClassName, methodName, message, Result.EXEC_FAILED); in failure()
143 public ExpectedResults success(String methodName) { in success() argument
144 String output = outcome(testClassName, methodName, null, Result.SUCCESS); in success()
148 public ExpectedResults success(String methodName, String message) { in success() argument
149 String output = outcome(testClassName, methodName, message, Result.SUCCESS); in success()
180 String testClassName, String methodName, String message, Result result) { in outcome() argument
181 String testName = JUnitUtils.getTestName(testClassName, methodName); in outcome()
/external/testng/src/test/java/test/invokedmethodlistener/
DInvokedMethodNameListener.java23 String methodName = method.getTestMethod().getMethodName(); in afterInvocation() local
26 testMethods.add(methodName); in afterInvocation()
29 configurationMethods.add(methodName); in afterInvocation()
32 testMethodsFromTM.add(methodName); in afterInvocation()
42 configurationMethodsFromTM.add(methodName); in afterInvocation()
/external/emma/core/java12/com/vladium/jcd/lib/
DTypes.java363 …ing fullMethodDescriptorToUserName (final String classJavaName, String methodName, final String me… in fullMethodDescriptorToUserName() argument
365 if ("<init>".equals (methodName)) in fullMethodDescriptorToUserName()
366 methodName = simpleClassName (classJavaName); in fullMethodDescriptorToUserName()
367 if ("<clinit>".equals (methodName)) in fullMethodDescriptorToUserName()
368 methodName = "<static class initializer>"; in fullMethodDescriptorToUserName()
370 return methodName + ' ' + methodDescriptorToUserName (methoddescriptor); in fullMethodDescriptorToUserName()
374 …fullMethodDescriptorToFullUserName (final String classJavaName, String methodName, final String me… in fullMethodDescriptorToFullUserName() argument
376 if ("<init>".equals (methodName)) in fullMethodDescriptorToFullUserName()
377 methodName = simpleClassName (classJavaName); in fullMethodDescriptorToFullUserName()
378 if ("<clinit>".equals (methodName)) in fullMethodDescriptorToFullUserName()
[all …]

123456789