/external/mockito/src/main/java/org/mockito/internal/junit/ |
DefaultTestFinishedEvent.java | 5 private final String testMethodName; 8 public DefaultTestFinishedEvent(Object testClassInstance, String testMethodName, Throwable testFailure) { 10 this.testMethodName = testMethodName; 23 return testMethodName;
|
/external/mockito/src/main/java/org/mockito/internal/runners/ |
DefaultTestFinishedEvent.java | 8 private final String testMethodName; 11 DefaultTestFinishedEvent(Object testClassInstance, String testMethodName, Throwable failure) { 13 this.testMethodName = testMethodName; 24 return testMethodName;
|
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
TestMethod.java | 37 private final String testMethodName; 47 this.testMethodName = methodName; 55 return testMethodName; 77 return instantiateTest(enclosingClass, testMethodName); 130 if (testMethodName != null 131 ? !testMethodName.equals(that.testMethodName) 132 : that.testMethodName != null) { 142 result = 31 * result + (testMethodName != null ? testMethodName.hashCode() : 0) [all...] |
/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...] |
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
Utils.java | 55 String testMethodName) throws DeviceNotAvailableException { 56 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, null); 60 String testMethodName, Map<String, String> testArgs) 62 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, testArgs); 66 String testMethodName, int userId) throws DeviceNotAvailableException { 67 runDeviceTests(device, packageName, testClassName, testMethodName, userId, null); 71 String testMethodName, int userId, Map<String, String> testArgs) 79 if (testClassName != null && testMethodName != null) { 80 testRunner.setMethodName(testClassName, testMethodName);
|
DocumentsTestCase.java | 65 public void runDeviceTests(String packageName, String testClassName, String testMethodName) 67 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName);
|
InstantCookieHostTest.java | 101 private void runDeviceTests(String packageName, String testClassName, String testMethodName) 103 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName);
|
UsesLibraryHostTest.java | 83 private void runDeviceTests(String packageName, String testClassName, String testMethodName) 85 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName);
|
PrivilegedUpdateTests.java | 134 private void runDeviceTests(String packageName, String testClassName, String testMethodName) 136 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName);
|
EphemeralTest.java | 265 private void runDeviceTests(String packageName, String testClassName, String testMethodName) 267 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); 270 private void runDeviceTests(String packageName, String testClassName, String testMethodName, 272 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName, testArgs);
|
InstantAppUserTest.java | 182 private void runDeviceTests(String packageName, String testClassName, String testMethodName) 184 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); 188 String testMethodName, int userId) 190 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName, userId);
|
KeySetHostTest.java | 167 private boolean runDeviceTests(String pkgName, String testClassName, String testMethodName) 169 TestRunResult runResult = doRunTests(pkgName, testClassName, testMethodName); 181 String testMethodName) throws DeviceNotAvailableException { 185 if (testClassName != null && testMethodName != null) { 186 testRunner.setMethodName(testClassName, testMethodName);
|
/cts/hostsidetests/content/src/android/content/cts/ |
InvalidSyncAuthoritiesHostTest.java | 75 private void runDeviceTests(String packageName, String testClassName, String testMethodName) 77 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName);
|
SyncAdapterAccountAccessHostTest.java | 104 private void runDeviceTests(String packageName, String testClassName, String testMethodName) 106 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName);
|
/cts/hostsidetests/webkit/src/com/android/cts/webkit/ |
WebViewHostSideStartupTest.java | 58 String testMethodName) throws DeviceNotAvailableException { 63 testRunner.setMethodName(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);
|
/cts/hostsidetests/media/src/android/media/session/cts/ |
MediaSessionManagerHostTest.java | 140 private void runTest(String testMethodName) throws DeviceNotAvailableException { 141 runTestAsUser(testMethodName, getDevice().getPrimaryUserId()); 144 private void runTestAsUser(String testMethodName, int userId) 147 testMethodName, userId);
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
AppWidgetIncidentTest.java | 108 private WidgetProto prepare(String testMethodName) throws Exception { 109 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, DEVICE_TEST_CLASS, testMethodName);
|
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/ |
CompatibilityHostTestBase.java | 201 return runDeviceTests(pkgName, testClassName, null /*testMethodName*/); 209 * @param testMethodName the test method to run. All tests from the class or package are run 217 @Nullable String testMethodName) 219 TestRunResult runResult = doRunTests(pkgName, testClassName, testMethodName); 230 String testMethodName) throws DeviceNotAvailableException { 233 if (testClassName != null && testMethodName != null) { 234 testRunner.setMethodName(testClassName, 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; 209 if (m.getName().equals(tc.testMethodName)) { 217 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);
|