| Index: build/android/pylib/android_commands.py
|
| diff --git a/build/android/pylib/android_commands.py b/build/android/pylib/android_commands.py
|
| index 923ebe7c3e9ca14909b148913e09a655c305039c..5fc2fbd0b001ba6d22e338f35371c255357fd24a 100644
|
| --- a/build/android/pylib/android_commands.py
|
| +++ b/build/android/pylib/android_commands.py
|
| @@ -1802,30 +1802,6 @@ class AndroidCommands(object):
|
| """
|
| self._util_wrapper = util_wrapper
|
|
|
| - def RunInstrumentationTest(self, test, test_package, instr_args, timeout):
|
| - """Runs a single instrumentation test.
|
| -
|
| - Args:
|
| - test: Test class/method.
|
| - test_package: Package name of test apk.
|
| - instr_args: Extra key/value to pass to am instrument.
|
| - timeout: Timeout time in seconds.
|
| -
|
| - Returns:
|
| - An instance of am_instrument_parser.TestResult object.
|
| - """
|
| - instrumentation_path = ('%s/android.test.InstrumentationTestRunner' %
|
| - test_package)
|
| - args_with_filter = dict(instr_args)
|
| - args_with_filter['class'] = test
|
| - logging.info(args_with_filter)
|
| - (raw_results, _) = self._adb.StartInstrumentation(
|
| - instrumentation_path=instrumentation_path,
|
| - instrumentation_args=args_with_filter,
|
| - timeout_time=timeout)
|
| - assert len(raw_results) == 1
|
| - return raw_results[0]
|
| -
|
| def RunUIAutomatorTest(self, test, test_package, timeout):
|
| """Runs a single uiautomator test.
|
|
|
|
|