/external/testng/src/main/java/org/testng/internal/thread/ |
TestNGThread.java | 9 public TestNGThread(String methodName) { 10 super("TestNGInvoker-" + methodName + "()"); 13 public TestNGThread(Runnable target, String methodName) { 14 super(target, "TestNGInvoker-" + methodName + "()");
|
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/ |
MethodRef.java | 8 public final String methodName; 10 public MethodRef(Class<?> clazz, String methodName) { 11 this(clazz.getName(), methodName); 14 public MethodRef(String className, String methodName) { 16 this.methodName = methodName; 26 return className.equals(methodRef.className) && methodName.equals(methodRef.methodName); 31 result = 31 * result + methodName.hashCode(); 39 ", methodName='" + methodName + '\'' [all...] |
MethodSignature.java | 8 public final String methodName; 12 private MethodSignature(String className, String methodName, String[] paramTypes, String returnType) { 14 this.methodName = methodName; 23 String methodName = internalString.substring(methodStart + 1, parenStart); 31 return new MethodSignature(className, methodName, paramTypes, returnType); 36 return className + "." + methodName + "(" + Join.join(", ", (Object[]) paramTypes) + ")"; 39 boolean matches(String className, String methodName) { 40 return this.className.equals(className) && this.methodName.equals(methodName); [all...] |
InvocationProfile.java | 7 public final String methodName; 15 this.methodName = methodSignature.methodName; 51 if (methodName != null ? !methodName.equals(that.methodName) : that.methodName != null) return false; 60 result = 31 * result + (methodName != null ? methodName.hashCode() : 0);
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/ |
Breakpoint.java | 33 public String methodName; 41 methodName = new String(); 54 methodName = method;
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
TestThread.java | 90 public void callAndAssertReturns(String methodName, Object... arguments) throws Exception { 91 checkNotNull(methodName); 93 sendRequest(methodName, arguments); 94 assertSame(null, getResponse(methodName).getResult()); 101 public void callAndAssertReturns(boolean expected, String methodName, Object... arguments) 103 checkNotNull(methodName); 105 sendRequest(methodName, arguments); 106 assertEquals(expected, getResponse(methodName).getResult()); 113 public void callAndAssertReturns(int expected, String methodName, Object... arguments) 115 checkNotNull(methodName); [all...] |
/external/annotation-tools/annotation-file-utilities/src/annotator/find/ |
NewCriterion.java | 14 private final String methodName; 19 public NewCriterion(String methodName, RelativeLocation loc) { 20 this.methodName = methodName.substring(0, methodName.lastIndexOf(")") + 1); 22 if (!(methodName.startsWith("init for field") || 23 methodName.startsWith("static init number") 24 || methodName.startsWith("instance init number"))) { 26 this.inMethodCriterion = Criteria.inMethod(methodName); 62 int indexInClass = NewScanner.getMethodNewIndex(methodName, loc.offset) [all...] |
MethodBoundCriterion.java | 10 private final String methodName; 15 public MethodBoundCriterion(String methodName, BoundLocation boundLoc) { 16 this.methodName = methodName; 18 this.sigMethodCriterion = Criteria.inMethod(methodName); 43 return "MethodBoundCriterion: method: " + methodName + " bound boundLoc: " + boundLoc;
|
CastCriterion.java | 14 private final String methodName; 17 public CastCriterion(String methodName, RelativeLocation loc) { 18 this.methodName = methodName.substring(0, methodName.lastIndexOf(")") + 1); 42 int indexInClass = CastScanner.getMethodCastIndex(methodName, loc.offset); 64 return "CastCriterion: in method: " + methodName + " location: " + loc;
|
ReturnTypeCriterion.java | 11 private final String methodName; 15 public ReturnTypeCriterion(String className, String methodName) { 16 this.methodName = methodName; 18 this.sigMethodCriterion = methodName.isEmpty() ? null 19 : Criteria.isSigMethod(methodName); 68 return "ReturnTypeCriterion for method: " + methodName;
|
/external/testng/src/test/java/test/methodinterceptors/multipleinterceptors/ |
MethodNameFilterInterceptor.java | 13 private final String methodName; 15 protected MethodNameFilterInterceptor(String methodName) { 16 this.methodName = methodName; 25 if (!name.equals(methodName)) { 29 method.setDescription(methodName); 31 method.setDescription(currentDescription + methodName);
|
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/internal/ |
ReflectiveTypeFinder.java | 31 private final String methodName; 35 public ReflectiveTypeFinder(String methodName, int expectedNumberOfParameters, int typedParameter) { 36 this.methodName = methodName; 49 throw new Error("Cannot determine correct type for " + methodName + "() method."); 57 return method.getName().equals(methodName)
|
/external/tensorflow/tensorflow/python/estimator/canned/ |
linear_test.py | 40 def __init__(self, methodName='runTest'): # pylint: disable=invalid-name 41 test.TestCase.__init__(self, methodName) 49 def __init__(self, methodName='runTest'): # pylint: disable=invalid-name 50 test.TestCase.__init__(self, methodName) 58 def __init__(self, methodName='runTest'): # pylint: disable=invalid-name 59 test.TestCase.__init__(self, methodName) 67 def __init__(self, methodName='runTest'): # pylint: disable=invalid-name 68 test.TestCase.__init__(self, methodName) 76 def __init__(self, methodName='runTest'): # pylint: disable=invalid-name 77 test.TestCase.__init__(self, methodName) [all...] |
/external/testng/src/test/java/test/tmp/ |
TestFixture.java | 9 public static int printGlobalCallSequence(String methodName) { 11 System.err.println("*** " + methodName + ": globalCallSequence=" + globalCallSequence);
|
/external/vogar/src/vogar/target/junit/ |
JUnitUtils.java | 36 String methodName = description.getMethodName(); 37 return getTestName(className, methodName); 43 public static String getTestName(String className, String methodName) { 44 if (methodName == null) { 47 return className + "#" + methodName;
|
/libcore/ojluni/src/main/java/java/lang/ |
StackTraceElement.java | 45 private String methodName; 55 * @param methodName the name of the method containing the execution point 66 * {@code methodName} is null 69 public StackTraceElement(String declaringClass, String methodName, 72 this.methodName = Objects.requireNonNull(methodName, "Method name is null"); 131 return methodName; 175 result.append(getClassName()).append(".").append(methodName); 222 Objects.equals(methodName, e.methodName) & [all...] |
/external/testng/src/test/java/test/testng317/ |
ClassB.java | 33 String methodName = sTrace[1].getMethodName(); 35 System.out.printf("*********** executing --- %s %s\n", className, methodName); 37 VerifyTest.m_methods.add(className + "." + methodName);
|
/art/test/629-vdex-speed/src/ |
Main.java | 25 private native static boolean isAotCompiled(Class<?> cls, String methodName);
|
/art/test/708-jit-cache-churn/src/ |
Main.java | 30 static native void ensureJitCompiled(Class<?> klass, String methodName);
|
/external/antlr/antlr-3.4/gunit/src/main/resources/org/antlr/gunit/ |
junit.stg | 47 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/ |
BenchmarkSpec.java | 45 private String methodName; 51 this.methodName = ""; 57 this.methodName = builder.methodName; 65 public String methodName() { 66 return methodName; 79 && this.methodName.equals(that.methodName) 101 .add("methodName", methodName) [all...] |
/external/proguard/src/proguard/ |
GetEnclosingClassChecker.java | 61 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 + "'");
|
GetEnclosingMethodChecker.java | 61 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 + "'");
|
GetSignatureChecker.java | 63 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 + "'");
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/ |
SysTrace.java | 99 * @param methodName The method name to appear in the trace. 102 public static void beginSectionAsync(String methodName, int cookie) { 104 Log.v(TAG, "beginSectionAsync " + methodName + " " + cookie); 113 * @param methodName The method name to appear in the trace. 116 public static void endSectionAsync(String methodName, int cookie) { 118 Log.v(TAG, "endSectionAsync " + methodName + " " + cookie);
|