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 |