Searched refs:testMethodName (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
D | TestMethod.java | 37 private final String testMethodName; field in TestMethod 47 this.testMethodName = methodName; in TestMethod() 55 return testMethodName; in getName() 77 return instantiateTest(enclosingClass, testMethodName); in createTest() 130 if (testMethodName != null in equals() 131 ? !testMethodName.equals(that.testMethodName) in equals() 132 : that.testMethodName != null) { in equals() 142 result = 31 * result + (testMethodName != null ? testMethodName.hashCode() : 0); in hashCode() 148 return enclosingClassname + "." + testMethodName; in toString()
|
D | TestSuiteBuilder.java | 75 public TestSuiteBuilder addTestClassByName(String testClassName, String testMethodName, in addTestClassByName() argument 80 atr.setTestClassName(testClassName, testMethodName); in addTestClassByName()
|
/frameworks/base/test-runner/src/android/test/ |
D | AndroidTestRunner.java | 53 public void setTestClassName(String testClassName, String testMethodName) { in setTestClassName() argument 56 if (shouldRunSingleTestMethod(testMethodName, testClass)) { in setTestClassName() 57 TestCase testCase = buildSingleTestMethod(testClass, testMethodName); in setTestClassName() 99 private TestCase buildSingleTestMethod(Class testClass, String testMethodName) { in buildSingleTestMethod() argument 102 return newSingleTestMethod(testClass, testMethodName, c); in buildSingleTestMethod() 108 return newSingleTestMethod(testClass, testMethodName, c, testMethodName); in buildSingleTestMethod() 115 private TestCase newSingleTestMethod(Class testClass, String testMethodName, in newSingleTestMethod() argument 119 testCase.setName(testMethodName); in newSingleTestMethod() 133 private boolean shouldRunSingleTestMethod(String testMethodName, in shouldRunSingleTestMethod() argument 135 return testMethodName != null && TestCase.class.isAssignableFrom(testClass); in shouldRunSingleTestMethod()
|
D | InstrumentationTestRunner.java | 446 String testMethodName = null; in parseTestClass() local 449 testMethodName = testClassName.substring(methodSeparatorIndex + 1); in parseTestClass() 452 testSuiteBuilder.addTestClassByName(testClassName, testMethodName, getTargetContext()); in parseTestClass()
|
/frameworks/base/test-runner/tests/src/android/test/ |
D | AndroidTestRunnerTest.java | 162 String testMethodName = "testTwo"; in testRunSingleTestMethod() local 163 mAndroidTestRunner.setTestClassName(TwoTestTestCase.class.getName(), testMethodName); in testRunSingleTestMethod() local 169 assertEquals(Arrays.asList(testMethodName), testNames); in testRunSingleTestMethod() 182 String testMethodName = "testFail"; in testRunSkipExecution() local 184 OnePassOneErrorOneFailTestCase.class.getName(), testMethodName); in testRunSkipExecution() local
|
/frameworks/base/tests/utils/testutils/java/com/android/test/filters/ |
D | SelectTest.java | 120 String testMethodName = description.getMethodName(); in shouldRun() local 121 return mPackageSet.accept(testClassName, testMethodName); in shouldRun()
|
/frameworks/opt/telephony/ |
D | README.txt | 35 atest <testClassName>#<testMethodName>
|