| Index: tools/telemetry/telemetry/core/app.py
|
| diff --git a/tools/telemetry/telemetry/core/app.py b/tools/telemetry/telemetry/core/app.py
|
| index 1c032cc64e286201613d2a3d9f6c7b1a87b189a7..8831911310db32037b95f4cc8e38d8ff51ab39e6 100644
|
| --- a/tools/telemetry/telemetry/core/app.py
|
| +++ b/tools/telemetry/telemetry/core/app.py
|
| @@ -2,6 +2,7 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| +
|
| class App(object):
|
| """ A running application instance that can be controlled in a limited way.
|
|
|
| @@ -17,8 +18,24 @@ class App(object):
|
| self._platform_backend = platform_backend
|
|
|
| @property
|
| + def app_type(self):
|
| + return self._app_backend.app_type
|
| +
|
| + @property
|
| def platform(self):
|
| return self._platform_backend.platform
|
|
|
| + def __enter__(self):
|
| + return self
|
| +
|
| + def __exit__(self, *args):
|
| + self.Close()
|
| +
|
| def Close(self):
|
| raise NotImplementedError()
|
| +
|
| + def GetStandardOutput(self):
|
| + return self._app_backend.GetStandardOutput()
|
| +
|
| + def GetStackTrace(self):
|
| + return self._app_backend.GetStackTrace()
|
|
|