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

Unified Diff: build/android/pylib/base/environment.py

Issue 2933993002: Add local results details pages.
Patch Set: Fix some of Johns comments. Created 3 years, 4 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
Index: build/android/pylib/base/environment.py
diff --git a/build/android/pylib/base/environment.py b/build/android/pylib/base/environment.py
index 3f49f41f29916ed0ebd5f27e5a24b08f725abd92..e4549f5f834e3aa4217e6373cc4b68bdbe4b61fe 100644
--- a/build/android/pylib/base/environment.py
+++ b/build/android/pylib/base/environment.py
@@ -16,8 +16,14 @@ class Environment(object):
machine.
"""
- def __init__(self):
- pass
+ def __init__(self, output_manager):
+ """Environment constructor.
+
+ Args:
+ output_manager: Instance of |output_manager.OutputManager| used to
+ save test output.
+ """
+ self._output_manager = output_manager
def SetUp(self):
raise NotImplementedError
@@ -32,3 +38,6 @@ class Environment(object):
def __exit__(self, _exc_type, _exc_val, _exc_tb):
self.TearDown()
+ @property
+ def output_manager(self):
+ return self._output_manager
« no previous file with comments | « build/android/pylib/android/logdog_logcat_monitor.py ('k') | build/android/pylib/base/environment_factory.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698