Index: tools/telemetry/telemetry/core/platform/android_platform_backend_unittest.py |
diff --git a/tools/telemetry/telemetry/core/platform/android_platform_backend_unittest.py b/tools/telemetry/telemetry/core/platform/android_platform_backend_unittest.py |
index fd1b6e0bed47e37f7c3633d9ca5f7d5c90cea148..73910bdbacd04010dfbef616d20fd78d36a825f8 100644 |
--- a/tools/telemetry/telemetry/core/platform/android_platform_backend_unittest.py |
+++ b/tools/telemetry/telemetry/core/platform/android_platform_backend_unittest.py |
@@ -37,6 +37,11 @@ class MockDevice(object): |
def ReadFile(self, device_path, as_root=False): # pylint: disable=W0613 |
return self.old_interface.GetProtectedFileContents(device_path) |
+ def GetProp(self, property_name): |
+ return self.old_interface.system_properties[property_name] |
+ |
+ def SetProp(self, property_name, property_value): |
+ self.old_interface.system_properties[property_name] = property_value |
class AndroidPlatformBackendTest(unittest.TestCase): |
def setUp(self): |