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

Unified Diff: tools/telemetry/telemetry/core/backends/app_backend.py

Issue 761863007: [Telemetry] Fix NotImplementedError exceptions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Lint and reorder Created 6 years 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/backends/android_app_backend.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/core/backends/app_backend.py
diff --git a/tools/telemetry/telemetry/core/backends/app_backend.py b/tools/telemetry/telemetry/core/backends/app_backend.py
index 64314ca902c29b21869752f8450c8edc16913f05..b74d96041f31dcdc03257be5a2dc0aab726992b1 100644
--- a/tools/telemetry/telemetry/core/backends/app_backend.py
+++ b/tools/telemetry/telemetry/core/backends/app_backend.py
@@ -23,21 +23,21 @@ class AppBackend(object):
def app_type(self):
return self._app_type
+ @property
+ def pid(self):
+ raise NotImplementedError
+
def Start(self):
- NotImplementedError()
+ raise NotImplementedError
def Close(self):
- NotImplementedError()
-
- @property
- def pid(self):
- NotImplementedError()
+ raise NotImplementedError
def IsAppRunning(self):
- NotImplementedError()
+ raise NotImplementedError
def GetStandardOutput(self):
- NotImplementedError()
+ raise NotImplementedError
def GetStackTrace(self):
- NotImplementedError()
+ raise NotImplementedError
« no previous file with comments | « tools/telemetry/telemetry/core/backends/android_app_backend.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698