Searched refs:testMethodName (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
D | TestMethod.java | 33 private final String testMethodName; field in TestMethod 43 this.testMethodName = methodName; in TestMethod() 51 return testMethodName; in getName() 73 return instantiateTest(enclosingClass, testMethodName); in createTest() 126 if (testMethodName != null in equals() 127 ? !testMethodName.equals(that.testMethodName) in equals() 128 : that.testMethodName != null) { in equals() 138 result = 31 * result + (testMethodName != null ? testMethodName.hashCode() : 0); in hashCode() 144 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 | 47 public void setTestClassName(String testClassName, String testMethodName) { in setTestClassName() argument 50 if (shouldRunSingleTestMethod(testMethodName, testClass)) { in setTestClassName() 51 TestCase testCase = buildSingleTestMethod(testClass, testMethodName); in setTestClassName() 92 private TestCase buildSingleTestMethod(Class testClass, String testMethodName) { in buildSingleTestMethod() argument 95 testCase.setName(testMethodName); in buildSingleTestMethod() 106 private boolean shouldRunSingleTestMethod(String testMethodName, in shouldRunSingleTestMethod() argument 108 return testMethodName != null && TestCase.class.isAssignableFrom(testClass); in shouldRunSingleTestMethod()
|
D | InstrumentationTestRunner.java | 420 String testMethodName = null; in parseTestClass() local 423 testMethodName = testClassName.substring(methodSeparatorIndex + 1); in parseTestClass() 426 testSuiteBuilder.addTestClassByName(testClassName, testMethodName, getTargetContext()); in parseTestClass()
|
/frameworks/base/test-runner/tests/src/android/test/ |
D | AndroidTestRunnerTest.java | 163 String testMethodName = "testTwo"; in testRunSingleTestMethod() local 164 mAndroidTestRunner.setTestClassName(TwoTestTestCase.class.getName(), testMethodName); in testRunSingleTestMethod() local 170 assertEquals(Arrays.asList(testMethodName), testNames); in testRunSingleTestMethod() 183 String testMethodName = "testFail"; in testRunSkipExecution() local 185 OnePassOneErrorOneFailTestCase.class.getName(), testMethodName); in testRunSkipExecution() local
|