Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(927)

Unified Diff: build/android/pylib/host_driven/test_case.py

Issue 235943002: [Android] Fix UIAutomator, Linker, and downstream tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/pylib/forwarder.py ('k') | build/android/pylib/linker/test_runner.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/host_driven/test_case.py
diff --git a/build/android/pylib/host_driven/test_case.py b/build/android/pylib/host_driven/test_case.py
index d072d3b7e9688d6074b6bbb178caad7fd7c38e5a..a5ef747afc11d7da4be4689eed7214c5b784b042 100644
--- a/build/android/pylib/host_driven/test_case.py
+++ b/build/android/pylib/host_driven/test_case.py
@@ -50,6 +50,7 @@ class HostDrivenTestCase(object):
instrumentation_options: An InstrumentationOptions object.
"""
class_name = self.__class__.__name__
+ self.adb = None
self.cleanup_test_files = False
self.device = None
self.device_id = ''
@@ -74,6 +75,7 @@ class HostDrivenTestCase(object):
self.device_id = device
self.shard_index = shard_index
self.device = device_utils.DeviceUtils(self.device_id)
+ self.adb = self.device.old_interface
self.push_deps = push_deps
self.cleanup_test_files = cleanup_test_files
if ports_to_forward:
« no previous file with comments | « build/android/pylib/forwarder.py ('k') | build/android/pylib/linker/test_runner.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698