HomeSort by relevance Sort by last modified time
    Searched refs:testClassName (Results 1 - 25 of 42) sorted by null

1 2

  /cts/hostsidetests/appsecurity/src/com/android/cts/appsecurity/
Utils.java 36 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName,
38 if (testClassName != null && testClassName.startsWith(".")) {
39 testClassName = packageName + testClassName;
44 if (testClassName != null && testMethodName != null) {
45 testRunner.setMethodName(testClassName, testMethodName);
DocumentsTest.java 89 public void runDeviceTests(String packageName, String testClassName, String testMethodName)
91 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName);
KeySetHostTest.java 152 private boolean runDeviceTests(String pkgName, String testClassName, String testMethodName)
154 TestRunResult runResult = doRunTests(pkgName, testClassName, testMethodName);
165 private TestRunResult doRunTests(String pkgName, String testClassName,
170 if (testClassName != null && testMethodName != null) {
171 testRunner.setMethodName(testClassName, testMethodName);
AppSecurityTests.java 517 private boolean runDeviceTests(String pkgName, String testClassName, String testMethodName)
519 TestRunResult runResult = doRunTests(pkgName, testClassName, testMethodName);
530 private TestRunResult doRunTests(String pkgName, String testClassName,
535 if (testClassName != null && testMethodName != null) {
536 testRunner.setMethodName(testClassName, testMethodName);
581 String pkgName, String testClassName, String testMethodName, int userId)
584 final String cmd = "am instrument --user " + userId + " -w -r -e class " + testClassName
SplitTests.java 387 public void runDeviceTests(String packageName, String testClassName, String testMethodName)
389 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName);
  /cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
BaseDevicePolicyTest.java 159 protected boolean runDeviceTests(String pkgName, @Nullable String testClassName)
161 return runDeviceTests(pkgName, testClassName, null /*testMethodName*/, null /*userId*/);
166 String pkgName, @Nullable String testClassName, int userId)
168 return runDeviceTestsAsUser(pkgName, testClassName, null, userId);
173 String pkgName, @Nullable String testClassName, String testMethodName, int userId)
175 if (testClassName.startsWith(".")) {
176 testClassName = pkgName + testClassName;
178 return runDeviceTests(pkgName, testClassName, testMethodName, userId);
181 protected boolean runDeviceTests(String pkgName, @Nullable String testClassName,
    [all...]
DeviceOwnerTest.java 84 private void executeDeviceOwnerTest(String testClassName) throws Exception {
88 String testClass = DEVICE_OWNER_PKG + "." + testClassName;
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
ITestPackageRepo.java 56 * @param testClassName the test class name
59 public List<String> findPackageIdsForTest(String testClassName);
PrintTestRunner.java 111 public void setClassName(String testClassName) {
112 mTestClassName = testClassName;
TestPackageRepo.java 194 public List<String> findPackageIdsForTest(String testClassName) {
198 if (mTestMap.get(abi).get(name).isKnownTestClass(testClassName)) {
GeeTestResultParser.java 182 public ParsedTestInfo(String testName, String testClassName, String testRunTime) {
184 mTestClassName = testClassName;
  /cts/tools/utils/
VogarUtils.java 33 final String testClassName,
36 if (isVogarKnownFailure(expectationStore, testClassName, testMethodName)) {
48 final String testClassName,
53 String fullTestName = buildFullTestName(testClassName, testMethodName);
CollectAllTests.java 408 String testClassName = test.getName();
418 testClassName,
427 testClassName,
430 if (testCases.containsKey(testClassName)) {
431 testClass = testCases.get(testClassName);
433 testClass = new TestClass(testClassName, new ArrayList<TestMethod>());
434 testCases.put(testClassName, testClass);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
ClassLoaderTest.java 114 String testClassName = ClassLoaderTest.class.getName();
119 parentClassLoader.loadClass(testClassName);
125 assertSame(this.getClass(), testClassLoader.loadClass(testClassName));
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/bytecode/
RobolectricClassLoader.java 68 String testClassName = testClass.getName();
71 return loadClass(testClassName);
  /frameworks/base/test-runner/src/android/test/
AndroidTestRunner.java 49 public void setTestClassName(String testClassName, String testMethodName) {
50 Class testClass = loadTestClass(testClassName);
85 private Class<? extends Test> loadTestClass(String testClassName) {
87 return (Class<? extends Test>) mContext.getClassLoader().loadClass(testClassName);
89 runFailed("Could not find test class. Class: " + testClassName);
InstrumentationTestRunner.java 432 * @param testClassName - full package name of test class and optionally method to add.
436 private void parseTestClass(String testClassName, TestSuiteBuilder testSuiteBuilder) {
437 int methodSeparatorIndex = testClassName.indexOf('#');
441 testMethodName = testClassName.substring(methodSeparatorIndex + 1);
442 testClassName = testClassName.substring(0, methodSeparatorIndex);
444 testSuiteBuilder.addTestClassByName(testClassName, testMethodName, getTargetContext());
    [all...]
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
TestSuite.java 72 * @param testClassName the test class name
76 public Test findTest(List<String> suiteNames, String testClassName, String testName,
80 TestCase testCase = getTestCase(testClassName);
85 return suite.findTest(suiteNames, testClassName, testName, insertIfMissing);
  /frameworks/base/test-runner/tests/src/android/test/
InstrumentationTestRunnerTest.java 120 String testClassName = PlaceHolderTest.class.getName();
122 String classAndMethod = testClassName + "#" + invalidMethodName;
125 assertTestRunnerCalledWithExpectedParameters(testClassName,
  /cts/hostsidetests/net/src/com/android/cts/net/
HostsideNetworkTests.java 77 public void runDeviceTests(String packageName, String testClassName)
  /frameworks/base/test-runner/src/android/test/suitebuilder/
TestSuiteBuilder.java 73 public TestSuiteBuilder addTestClassByName(String testClassName, String testMethodName,
78 atr.setTestClassName(testClassName, testMethodName);
  /prebuilts/misc/common/android-support-test/
android-support-test.jar 
espresso-core.jar 
  /external/chromium_org/third_party/libaddressinput/src/java/
android.jar 
  /external/robolectric/lib/main/
android.jar 

Completed in 8787 milliseconds

1 2