Home
last modified time | relevance | path

Searched refs:testClassName (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/test-runner/src/android/test/
DAndroidTestRunner.java53 public void setTestClassName(String testClassName, String testMethodName) { in setTestClassName() argument
54 Class testClass = loadTestClass(testClassName); in setTestClassName()
90 private Class<? extends Test> loadTestClass(String testClassName) { in loadTestClass() argument
92 return (Class<? extends Test>) mContext.getClassLoader().loadClass(testClassName); in loadTestClass()
94 runFailed("Could not find test class. Class: " + testClassName); in loadTestClass()
DInstrumentationTestRunner.java445 private void parseTestClass(String testClassName, TestSuiteBuilder testSuiteBuilder) { in parseTestClass() argument
446 int methodSeparatorIndex = testClassName.indexOf('#'); in parseTestClass()
450 testMethodName = testClassName.substring(methodSeparatorIndex + 1); in parseTestClass()
451 testClassName = testClassName.substring(0, methodSeparatorIndex); in parseTestClass()
453 testSuiteBuilder.addTestClassByName(testClassName, testMethodName, getTargetContext()); in parseTestClass()
/frameworks/base/test-runner/tests/src/android/test/
DInstrumentationTestRunnerTest.java120 String testClassName = PlaceHolderTest.class.getName(); in testBadMethodArgument() local
122 String classAndMethod = testClassName + "#" + invalidMethodName; in testBadMethodArgument()
125 assertTestRunnerCalledWithExpectedParameters(testClassName, in testBadMethodArgument()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestSuiteBuilder.java75 public TestSuiteBuilder addTestClassByName(String testClassName, String testMethodName, in addTestClassByName() argument
80 atr.setTestClassName(testClassName, testMethodName); in addTestClassByName()
/frameworks/base/tests/utils/testutils/java/com/android/test/filters/
DSelectTest.java119 String testClassName = description.getClassName(); in shouldRun() local
121 return mPackageSet.accept(testClassName, testMethodName); in shouldRun()