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

1 2 3

  /frameworks/base/test-runner/src/android/test/suitebuilder/
TestMethod.java 33 private final String testMethodName;
43 this.testMethodName = methodName;
51 return testMethodName;
73 return instantiateTest(enclosingClass, testMethodName);
126 if (testMethodName != null
127 ? !testMethodName.equals(that.testMethodName)
128 : that.testMethodName != null) {
138 result = 31 * result + (testMethodName != null ? testMethodName.hashCode() : 0)
    [all...]
TestSuiteBuilder.java 73 public TestSuiteBuilder addTestClassByName(String testClassName, String testMethodName,
78 atr.setTestClassName(testClassName, testMethodName);
  /cts/tools/utils/
VogarUtils.java 35 final String testMethodName) {
37 if (isVogarKnownFailure(expectationStore, testClassName, testMethodName)) {
50 final String testMethodName) {
54 String fullTestName = buildFullTestName(testClassName, testMethodName);
89 public static String buildFullTestName(String testClass, String testMethodName) {
90 return String.format("%s#%s", testClass, testMethodName);
139 final String testMethodName) {
145 testMethodName));
156 final String testMethodName) {
160 String fullTestName = buildFullTestName(testClassName, testMethodName);
    [all...]
  /frameworks/base/test-runner/src/android/test/
AndroidTestRunner.java 56 public void setTestClassName(String testClassName, String testMethodName) {
59 if (shouldRunSingleTestMethod(testMethodName, testClass)) {
60 TestCase testCase = buildSingleTestMethod(testClass, testMethodName);
101 private TestCase buildSingleTestMethod(Class testClass, String testMethodName) {
104 return newSingleTestMethod(testClass, testMethodName, c);
110 return newSingleTestMethod(testClass, testMethodName, c, testMethodName);
117 private TestCase newSingleTestMethod(Class testClass, String testMethodName,
121 testCase.setName(testMethodName);
135 private boolean shouldRunSingleTestMethod(String testMethodName,
    [all...]
InstrumentationTestRunner.java 443 String testMethodName = null;
446 testMethodName = testClassName.substring(methodSeparatorIndex + 1);
449 testSuiteBuilder.addTestClassByName(testClassName, testMethodName, getTargetContext());
    [all...]
  /cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DocumentsTestCase.java 67 public void runDeviceTests(String packageName, String testClassName, String testMethodName)
69 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName);
Utils.java 57 String testMethodName) throws DeviceNotAvailableException {
58 runDeviceTests(device, packageName, testClassName, testMethodName, USER_OWNER);
62 String testMethodName, int userId) throws DeviceNotAvailableException {
69 if (testClassName != null && testMethodName != null) {
70 testRunner.setMethodName(testClassName, testMethodName);
UsesLibraryHostTest.java 85 private void runDeviceTests(String packageName, String testClassName, String testMethodName)
87 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName);
DirectBootHostTest.java 193 private void runDeviceTests(String packageName, String testClassName, String testMethodName,
196 Log.d(TAG, "runDeviceTests " + testMethodName + " u" + user);
197 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName, user);
PrivilegedUpdateTests.java 134 private void runDeviceTests(String packageName, String testClassName, String testMethodName)
136 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName);
KeySetHostTest.java 166 private boolean runDeviceTests(String pkgName, String testClassName, String testMethodName)
168 TestRunResult runResult = doRunTests(pkgName, testClassName, testMethodName);
180 String testMethodName) throws DeviceNotAvailableException {
184 if (testClassName != null && testMethodName != null) {
185 testRunner.setMethodName(testClassName, testMethodName);
AppSecurityTests.java 296 private void runDeviceTests(String packageName, String testClassName, String testMethodName)
298 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName);
ExternalStorageHostTest.java 252 private void runDeviceTests(String packageName, String testClassName, String testMethodName,
254 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName, userId);
PermissionsHostTest.java 291 private void runDeviceTests(String packageName, String testClassName, String testMethodName)
293 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName);
AdoptableHostTest.java 325 private void runDeviceTests(String packageName, String testClassName, String testMethodName)
327 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName);
SplitTests.java 442 public void runDeviceTests(String packageName, String testClassName, String testMethodName)
444 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName);
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/
JDWPStackFrameAccessTest.java 233 String testMethodName = methodInfo.getMethodName();
234 long testMethodID = getMethodID(classID, testMethodName);
235 assertTrue("No method " + testMethodName, testMethodID != -1);
239 assertNotNull("No variable table for method " + testMethodName, variables);
243 assertNotNull("Cannot find frame for method " + testMethodName, testMethodFrame);
244 logWriter.println("Found frame for " + testMethodName + ": " + testMethodFrame.frameID);
323 protected StackFrameChecker(String breakpointMethodName, String testMethodName,
325 this(breakpointMethodName, testMethodName);
329 protected StackFrameChecker(String breakpointMethodName, String testMethodName) {
331 this.testMethodName = testMethodName
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
SensorCtsVerifierTestActivity.java 87 String testMethodName = testMethod.getName();
88 String testName = String.format("%s#%s", getTestClassName(), testMethodName);
93 getTestLogger().logTestStart(testMethodName);
  /frameworks/base/test-runner/tests/src/android/test/
AndroidTestRunnerTest.java 163 String testMethodName = "testTwo";
164 mAndroidTestRunner.setTestClassName(TwoTestTestCase.class.getName(), testMethodName);
170 assertEquals(Arrays.asList(testMethodName), testNames);
183 String testMethodName = "testFail";
185 OnePassOneErrorOneFailTestCase.class.getName(), testMethodName);
  /external/autotest/tko/parsers/test/
unittest_hotfix.py 51 testMethodName = self.__testMethodName
54 testMethodName = self._testMethodName
57 testMethod = getattr(self, testMethodName)
  /art/test/800-smali/src/
Main.java 29 public TestCase(String testName, String testClass, String testMethodName, Object[] values,
33 this.testMethodName = testMethodName;
41 String testMethodName;
207 if (m.getName().equals(tc.testMethodName)) {
215 tc.testMethodName + " in class " +
  /cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/
BaseShortcutManagerHostTest.java 120 runDeviceTestsAsUser(pkgName, testClassName, null /*testMethodName*/, userId);
125 String pkgName, @Nullable String testClassName, String testMethodName, int userId)
128 runDeviceTestsAsUser(pkgName, testClassName, testMethodName, userId, params);
132 @Nullable String testMethodName, int userId,
140 if (testClassName != null && testMethodName != null) {
141 testRunner.setMethodName(testClassName, testMethodName);
  /cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
BaseDevicePolicyTest.java 221 return runDeviceTestsAsUser(pkgName, testClassName, null /*testMethodName*/, userId);
226 String pkgName, @Nullable String testClassName, String testMethodName, int userId)
229 return runDeviceTestsAsUser(pkgName, testClassName, testMethodName, userId, params);
233 @Nullable String testMethodName, int userId,
241 if (testClassName != null && testMethodName != null) {
242 testRunner.setMethodName(testClassName, testMethodName);
ManagedProfileTest.java     [all...]
  /external/vogar/test/vogar/target/
TestRunnerTest.java 50 + "//00xx{\"outcome\":\"" + JUnit3Test.class.getName() + "#testMethodName\","
76 String failingTestName = JUnit3Test.class.getName() + "#testMethodName";
90 public void testMethodName() {
198 String methodName = "testMethodName";

Completed in 887 milliseconds

1 2 3