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

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

Issue 1087093002: Roll web-page-replay to d6b0f311b2864581e4112ee839086737a51a4dc6. (attempt 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update DEPs. Created 5 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 | « tools/telemetry/telemetry/core/platform/android_platform_backend_unittest.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 74bd8e8f499437a70f8489d0be1691fb02183413..72fca71c99707b35568c5ef2dd3125bb58c0dda1 100644
--- a/tools/telemetry/telemetry/unittest_util/system_stub.py
+++ b/tools/telemetry/telemetry/unittest_util/system_stub.py
@@ -26,7 +26,8 @@ class Override(object):
'thermal_throttle': ThermalThrottleModuleStub,
'logging': LoggingStub,
'certutils': CertUtilsStub,
- 'adb_install_cert': AdbInstallCertStub
+ 'adb_install_cert': AdbInstallCertStub,
+ 'platformsettings': PlatformSettingsStub,
}
self.adb_commands = None
self.os = None
@@ -525,10 +526,6 @@ class CertUtilsStub(object):
def generate_dummy_ca_cert():
return '-', '-'
- @staticmethod
- def has_sni():
- return True
-
class AdbInstallCertStub(object):
class AndroidCertInstaller(object):
def __init__(self, device_id, _cert_name, _cert_path):
@@ -539,3 +536,8 @@ class AdbInstallCertStub(object):
def install_cert(self, overwrite_cert=False):
pass
+
+class PlatformSettingsStub(object):
+ @staticmethod
+ def HasSniSupport():
+ return True
« no previous file with comments | « tools/telemetry/telemetry/core/platform/android_platform_backend_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698