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

1 2

  /external/mockito/src/main/java/org/mockito/internal/junit/
DefaultTestFinishedEvent.java 9 private final String testMethodName;
12 public DefaultTestFinishedEvent(Object testClassInstance, String testMethodName, Throwable testFailure) {
14 this.testMethodName = testMethodName;
25 return testClassInstance.getClass().getSimpleName() + "." + 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...]
  /cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
Utils.java 41 String testClassName, String testMethodName) throws DeviceNotAvailableException {
42 runDeviceTests(device, packageName, testClassName, testMethodName, device.getCurrentUser(),
47 String testClassName, String testMethodName, Map<String, String> testArgs)
49 runDeviceTests(device, packageName, testClassName, testMethodName, device.getCurrentUser(),
54 String testMethodName) throws DeviceNotAvailableException {
55 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, null);
59 String testMethodName, Map<String, String> testArgs)
61 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, testArgs);
65 String testMethodName, int userId) throws DeviceNotAvailableException {
66 runDeviceTests(device, packageName, testClassName, testMethodName, userId, null)
    [all...]
AccessSerialNumberTest.java 37 private void runDeviceTests(String packageName, String testClassName, String testMethodName)
39 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName);
DocumentsTestCase.java 65 public void runDeviceTests(String packageName, String testClassName, String testMethodName)
67 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName,
BaseAppSecurityTest.java 70 String testMethodName, boolean instant) throws DeviceNotAvailableException {
78 Utils.runDeviceTestsAsCurrentUser(getDevice(), packageName, testClassName, testMethodName,
StorageHostTest.java 227 public void runDeviceTests(String packageName, String testClassName, String testMethodName,
229 runDeviceTests(packageName, testClassName, testMethodName, userId, false);
232 public void runDeviceTests(String packageName, String testClassName, String testMethodName,
237 options.setTestMethodName(testMethodName);
KeySetHostTest.java 165 private boolean runDeviceTests(String pkgName, String testClassName, String testMethodName)
167 TestRunResult runResult = doRunTests(pkgName, testClassName, testMethodName);
179 String testMethodName) throws DeviceNotAvailableException {
183 if (testClassName != null && testMethodName != null) {
184 testRunner.setMethodName(testClassName, testMethodName);
DirectBootHostTest.java 206 String packageName, String testClassName, String testMethodName)
208 Utils.runDeviceTestsAsCurrentUser(getDevice(), packageName, testClassName, testMethodName);
MajorVersionTest.java 137 private void runVersionDeviceTests(String testMethodName) throws Exception {
138 runDeviceTests(PKG, PKG + ".VersionTest", testMethodName);
PrivilegedUpdateTests.java 154 private void runDeviceTests(String packageName, String testClassName, String testMethodName)
156 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName);
  /cts/hostsidetests/webkit/src/com/android/cts/webkit/
WebViewHostSideStartupTest.java 70 private void assertDeviceTestPasses(String testMethodName) throws DeviceNotAvailableException {
73 testMethodName);
84 String testMethodName) throws DeviceNotAvailableException {
89 testRunner.setMethodName(testClassName, testMethodName);
  /cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/
Utils.java 36 String testMethodName) throws DeviceNotAvailableException {
37 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, null);
41 String testMethodName, Map<String, String> testArgs)
43 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, testArgs);
47 String testMethodName, int userId) throws DeviceNotAvailableException {
48 runDeviceTests(device, packageName, testClassName, testMethodName, userId, null);
52 String testMethodName, int userId, Map<String, String> testArgs)
55 runDeviceTests(device, packageName, testClassName, testMethodName, userId, testArgs,
60 String testMethodName, int userId, Map<String, String> testArgs, long timeout,
70 if (testClassName != null && testMethodName != null)
    [all...]
  /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);
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/
JDWPStackFrameAccessTest.java 234 String testMethodName = methodInfo.getMethodName();
235 long testMethodID = getMethodID(classID, testMethodName);
236 assertTrue("No method " + testMethodName, testMethodID != -1);
240 assertNotNull("No variable table for method " + testMethodName, variables);
244 assertNotNull("Cannot find frame for method " + testMethodName, testMethodFrame);
245 logWriter.println("Found frame for " + testMethodName + ": " + testMethodFrame.frameID);
324 protected StackFrameChecker(String breakpointMethodName, String testMethodName,
326 this(breakpointMethodName, testMethodName);
330 protected StackFrameChecker(String breakpointMethodName, String testMethodName) {
332 this.testMethodName = testMethodName
    [all...]
  /cts/hostsidetests/media/src/android/media/session/cts/
MediaSessionManagerHostTest.java 239 private void runTest(String testMethodName) throws DeviceNotAvailableException {
240 runTestAsUser(testMethodName, getDevice().getPrimaryUserId());
243 private void runTestAsUser(String testMethodName, int userId)
246 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/hostsidetests/statsd/src/android/cts/statsd/atom/
BaseTestCase.java 119 * @param testMethodName Test method name.
123 @Nullable String testClassName, @Nullable String testMethodName)
131 if (testClassName != null && testMethodName != null) {
132 testRunner.setMethodName(testClassName, 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,
34 this.testMethodName = testMethodName;
41 public TestCase(String testName, String testClass, String testMethodName, Object[] values,
43 this(testName, testClass, testMethodName, values, expectedException,
49 String testMethodName;
222 if (m.getName().equals(tc.testMethodName)) {
230 tc.testMethodName + " in class " +
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
SensorCtsVerifierTestActivity.java 106 String testMethodName = testMethod.getName();
107 String testName = String.format("%s#%s", getTestClassName(), testMethodName);
  /cts/hostsidetests/angle/src/android/angle/cts/
CtsAngleCommon.java 132 * @param testMethodName
139 String testMethodName) throws Exception {
143 return test.runDeviceTests(pkgName, testClassName, testMethodName);
  /cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
UserRestrictionsTest.java 307 private void runGlobalRestrictionsTest(String testMethodName, int userId) throws Exception {
308 runTests(GLOBAL_RESTRICTIONS_TEST_CLASS, testMethodName, userId);
  /cts/hostsidetests/atrace/src/android/atrace/cts/
AtraceHostTestBase.java 133 * @param testMethodName Test method name.
137 String testClassName, String testMethodName)
146 if (testClassName != null && testMethodName != null) {
147 testRunner.setMethodName(testClassName, testMethodName);
  /cts/hostsidetests/dumpsys/src/android/dumpsys/cts/
BaseDumpsysTest.java 158 * @param testMethodName Test method name.
162 @Nullable String testClassName, @Nullable String testMethodName)
170 if (testClassName != null && testMethodName != null) {
171 testRunner.setMethodName(testClassName, testMethodName);

Completed in 1211 milliseconds

1 2