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

Unified Diff: tools/telemetry/telemetry/unittest_util/system_stub.py

Issue 745733002: Add support in Telemetry for specifying exact Android APK (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Final nit Created 5 years, 11 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 | « tools/telemetry/telemetry/core/exceptions.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/unittest_util/system_stub.py
diff --git a/tools/telemetry/telemetry/unittest_util/system_stub.py b/tools/telemetry/telemetry/unittest_util/system_stub.py
index 25bc8412b3ea494bae1f97fc6ec1f22c3a3b4203..2d2283e91574637da9db09fb61e129ee929d3388 100644
--- a/tools/telemetry/telemetry/unittest_util/system_stub.py
+++ b/tools/telemetry/telemetry/unittest_util/system_stub.py
@@ -121,6 +121,7 @@ class AdbCommandsModuleStub(object):
def __init__(self):
self.attached_devices = []
+ self.apk_package_name = None
self.adb_device = AdbDevice()
def AdbCommandsStubConstructor(device=None):
@@ -131,6 +132,9 @@ class AdbCommandsModuleStub(object):
def IsAndroidSupported():
return True
+ def GetPackageName(self, _):
+ return self.apk_package_name
+
def GetAttachedDevices(self):
return self.attached_devices
« no previous file with comments | « tools/telemetry/telemetry/core/exceptions.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698