Searched refs:methodName (Results 1 - 25 of 281) sorted by relevance

1234567891011>>

/external/testng/src/main/java/org/testng/internal/thread/
H A DTestNGThread.java9 public TestNGThread(String methodName) { argument
10 super("TestNGInvoker-" + methodName + "()");
13 public TestNGThread(Runnable target, String methodName) { argument
14 super(target, "TestNGInvoker-" + methodName + "()");
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/
H A DBreakpoint.java33 public String methodName; field in class:Breakpoint
41 methodName = new String();
54 methodName = method;
/external/guava/guava-tests/test/com/google/common/util/concurrent/
H A DTestThread.java90 public void callAndAssertReturns(String methodName, Object... arguments) throws Exception { argument
91 checkNotNull(methodName);
93 sendRequest(methodName, arguments);
94 assertSame(null, getResponse(methodName).getResult());
101 public void callAndAssertReturns(boolean expected, String methodName, Object... arguments) argument
103 checkNotNull(methodName);
105 sendRequest(methodName, arguments);
106 assertEquals(expected, getResponse(methodName).getResult());
113 public void callAndAssertReturns(int expected, String methodName, Object... arguments) argument
115 checkNotNull(methodName);
125 callAndAssertThrows(Class<? extends Throwable> expected, String methodName, Object... arguments) argument
139 callAndAssertBlocks(String methodName, Object... arguments) argument
156 callAndAssertWaits(String methodName, Object conditionLikeObject) argument
172 assertPriorCallReturns(@ullable String methodName) argument
180 assertPriorCallReturns(boolean expected, @Nullable String methodName) argument
191 sendRequest(String methodName, Object... arguments) argument
206 getResponse(String methodName) argument
215 invokeMethod(String methodName, Object... arguments) argument
219 getMethod(String methodName, Object... arguments) argument
264 final String methodName; field in class:TestThread.Request
267 Request(String methodName, Object[] arguments) argument
274 final String methodName; field in class:TestThread.Response
278 Response(String methodName, Object result, Throwable throwable) argument
[all...]
/external/testng/src/test/java/test/methodinterceptors/multipleinterceptors/
H A DMethodNameFilterInterceptor.java13 private final String methodName; field in class:MethodNameFilterInterceptor
15 protected MethodNameFilterInterceptor(String methodName) { argument
16 this.methodName = methodName;
25 if (!name.equals(methodName)) {
29 method.setDescription(methodName);
31 method.setDescription(currentDescription + methodName);
/external/testng/src/test/java/test/tmp/
H A DTestFixture.java9 public static int printGlobalCallSequence(String methodName) { argument
11 System.err.println("*** " + methodName + ": globalCallSequence=" + globalCallSequence);
/external/mockito/src/org/mockito/internal/invocation/
H A DSerializableMethod.java18 private String methodName; field in class:SerializableMethod
26 methodName = method.getName();
34 return methodName;
55 return declaringClass.getDeclaredMethod(methodName, parameterTypes);
59 "Please report this as a defect with an example of how to reproduce it.", declaringClass, methodName);
64 "Please report this as a defect with an example of how to reproduce it.", declaringClass, methodName);
88 if (methodName == null) {
89 if (other.methodName != null)
91 } else if (!methodName.equals(other.methodName))
[all...]
/external/testng/src/test/java/test/testng317/
H A DClassB.java33 String methodName = sTrace[1].getMethodName();
35 System.out.printf("*********** executing --- %s %s\n", className, methodName);
37 VerifyTest.m_methods.add(className + "." + methodName);
H A DClassA.java46 String methodName = sTrace[1].getMethodName();
48 System.out.printf("*********** executing --- %s %s\n", className, methodName);
50 VerifyTest.m_methods.add(className + "." + methodName);
/external/antlr/antlr-3.4/gunit/src/main/resources/org/antlr/gunit/
H A Djunit.stg47 testTreeRuleMethod(methodName,testTreeRuleName,testRuleName,test,tokenType,expecting) ::= <<
48 public void <methodName>() throws Exception {
58 testTreeRuleMethod2(methodName,testTreeRuleName,testRuleName,test,returnType,expecting) ::= <<
59 public void <methodName>() throws Exception {
67 testRuleMethod(isLexicalRule,methodName,testRuleName,test,tokenType,expecting) ::= <<
68 public void <methodName>() throws Exception {
78 testRuleMethod2(methodName,testRuleName,test,returnType,expecting) ::= <<
79 public void <methodName>() throws Exception {
/external/caliper/caliper/src/main/java/com/google/caliper/model/
H A DBenchmarkSpec.java45 private String methodName; field in class:BenchmarkSpec
51 this.methodName = "";
57 this.methodName = builder.methodName;
65 public String methodName() { method in class:BenchmarkSpec
66 return methodName;
79 && this.methodName.equals(that.methodName)
101 .add("methodName", methodName)
118 private String methodName; field in class:BenchmarkSpec.Builder
126 methodName(String methodName) argument
[all...]
/external/proguard/src/proguard/
H A DGetEnclosingClassChecker.java61 String methodName = methodrefConstant.getName(clazz);
63 if (methodName.equals(ClassConstants.METHOD_NAME_CLASS_GET_ENCLOSING_CLASS) ||
64 methodName.equals(ClassConstants.METHOD_NAME_CLASS_GET_DECLARING_CLASS))
72 methodName + "'");
H A DGetEnclosingMethodChecker.java61 String methodName = methodrefConstant.getName(clazz);
63 if (methodName.equals(ClassConstants.METHOD_NAME_CLASS_GET_ENCLOSING_CONSTRUCTOR) ||
64 methodName.equals(ClassConstants.METHOD_NAME_CLASS_GET_ENCLOSING_METHOD))
72 methodName + "'");
H A DGetSignatureChecker.java63 String methodName = methodrefConstant.getName(clazz);
65 if (methodName.startsWith(ClassConstants.METHOD_NAME_GET_TYPE_PREFIX) ||
66 methodName.startsWith(ClassConstants.METHOD_NAME_GET_GENERIC_PREFIX))
74 methodName + "'");
H A DGetAnnotationChecker.java63 String methodName = methodrefConstant.getName(clazz);
65 if (methodName.equals(ClassConstants.METHOD_NAME_GET_ANNOTATION) ||
66 methodName.equals(ClassConstants.METHOD_NAME_GET_ANNOTATIONS) ||
67 methodName.equals(ClassConstants.METHOD_NAME_GET_DECLARED_ANNOTATIONS) ||
68 methodName.equals(ClassConstants.METHOD_NAME_GET_PARAMETER_ANNOTATIONS))
76 methodName + "'");
/external/icu/android_icu4j/runner/src/main/java/android/icu/junit/
H A DIcuFrameworkTest.java47 private final String methodName; field in class:IcuFrameworkTest
49 IcuFrameworkTest(TestFmwk testFmwk, TestFmwk.Target target, String methodName) { argument
52 this.methodName = methodName;
56 return methodName;
126 return Description.createTestDescription(testFmwk.getClass(), methodName);
131 return methodName.compareTo(o.methodName);
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/
H A DMethodLocator.java35 private final String methodName; field in class:MethodLocator
39 public MethodLocator(TypeLocator typeLocator, String methodName, List<String> parameterTypes) { argument
41 this.methodName = methodName;
55 && methodDeclaration.getName().getFullyQualifiedName().equals(methodName)
71 if (methodDeclaration.getName().getFullyQualifiedName().equals(methodName)) {
86 return typeLocator.getStringFormTarget() + "#" + methodName
94 ", methodName='" + methodName + '\'' +
/external/javassist/src/main/javassist/convert/
H A DTransformAccessArrayField.java128 String methodName = getMethodName(opcode);
129 if (methodName != null) {
149 int methodref = cp.addMethodrefInfo(mi, methodName, signature);
166 String methodName = null;
169 methodName = names.objectRead();
172 methodName = names.byteOrBooleanRead();
175 methodName = names.charRead();
178 methodName = names.doubleRead();
181 methodName = names.floatRead();
184 methodName
[all...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
H A DOptionalMethod.java34 private final String methodName; field in class:OptionalMethod
42 * @param methodName the name of the method
45 public OptionalMethod(Class<?> returnType, String methodName, Class... methodParams) { argument
47 this.methodName = methodName;
109 throw new AssertionError("Method " + methodName + " not supported for object " + target);
150 if (methodName != null) {
151 method = getPublicMethod(clazz, methodName, methodParams);
163 private static Method getPublicMethod(Class<?> clazz, String methodName, Class[] parameterTypes) { argument
166 method = clazz.getMethod(methodName, parameterType
[all...]
/external/testng/src/test/java/test/invokedmethodlistener/
H A DInvokedMethodNameListener.java23 String methodName = method.getTestMethod().getMethodName();
26 testMethods.add(methodName);
29 configurationMethods.add(methodName);
32 testMethodsFromTM.add(methodName);
42 configurationMethodsFromTM.add(methodName);
/external/testng/src/main/java/org/testng/junit/
H A DJUnitTestMethod.java18 protected JUnitTestMethod(JUnitTestClass owner, String methodName, Method method, Object instance) { argument
19 super(methodName, method, null, instance);
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
H A DFramesTest.java85 String methodName, classSignature;
89 methodName = getMethodName(frame.loc.classID, frame.loc.methodID);
93 + methodName
139 String methodName, classSignature;
143 methodName = getMethodName(frame.loc.classID, frame.loc.methodID);
147 + methodName
194 String methodName, classSignature;
198 methodName = getMethodName(frame.loc.classID, frame.loc.methodID);
202 + methodName
254 String methodName, classSignatur
[all...]
/external/proguard/src/proguard/obfuscate/
H A DMappingProcessor.java68 * @param methodName the original external method name.
76 String methodName,
72 processMethodMapping(String className, int firstLineNumber, int lastLineNumber, String methodReturnType, String methodName, String methodArguments, String newMethodName) argument
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/bytecode/
H A DClassHandler.java16 Object methodInvoked(Class clazz, String methodName, Object instance, String[] paramTypes, Object[] params) throws Throwable; argument
H A DShadowWrangler.java87 public Object methodInvoked(Class clazz, String methodName, Object instance, String[] paramTypes, Object[] params) throws Throwable { argument
88 InvocationPlan invocationPlan = new InvocationPlan(clazz, methodName, instance, paramTypes);
90 reportNoShadowMethodFound(clazz, methodName, paramTypes);
95 throw new I18nException("Method " + methodName + " on class " + clazz.getName() + " is not i18n-safe.");
124 private void reportNoShadowMethodFound(Class clazz, String methodName, String[] paramTypes) { argument
126 System.out.println("No Shadow method found for " + clazz.getSimpleName() + "." + methodName + "(" +
289 private String methodName; field in class:ShadowWrangler.InvocationPlan
296 public InvocationPlan(Class clazz, String methodName, Object instance, String... paramTypes) { argument
299 this.methodName = methodName;
372 findDeclaredShadowClassForMethod(Class<?> originalClass, String methodName, Class<?>[] paramClasses) argument
377 findDeclaringClassForMethod(String methodName, Class<?>[] paramClasses, Class<?> originalClass) argument
402 getMethod(Class<?> clazz, String methodName, Class<?>[] paramClasses) argument
[all...]
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
H A DNumberFormatTest.java78 private NumberFormat getJDKInstance(int type, Locale loc, String[] methodName) { argument
104 if (methodName != null) {
105 methodName[0] = method;
110 private com.ibm.icu.text.NumberFormat getICUInstance(int type, Locale loc, String[] methodName) { argument
136 if (methodName != null) {
137 methodName[0] = method;
175 String[] methodName = new String[1];
179 NumberFormat nf = getJDKInstance(type, iculoc, methodName);
191 + methodName[0] + ") in locale " + loc + " - JDK:" + s1 + " ICU:" + s2);
209 + " NumberFormat(" + methodName[
[all...]

Completed in 4990 milliseconds

1234567891011>>