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

Unified Diff: build/android/pylib/instrumentation/instrumentation_test_instance.py

Issue 1981043004: Added the --screenshot option. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: corrected format Created 4 years, 7 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
« no previous file with comments | « no previous file | build/android/pylib/local/device/local_device_instrumentation_test_run.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/instrumentation/instrumentation_test_instance.py
diff --git a/build/android/pylib/instrumentation/instrumentation_test_instance.py b/build/android/pylib/instrumentation/instrumentation_test_instance.py
index 610f084ba054b787488f49cc00ef860143db3396..a87cb8626ce5a1e86dbdb6f5a16d229037334f0c 100644
--- a/build/android/pylib/instrumentation/instrumentation_test_instance.py
+++ b/build/android/pylib/instrumentation/instrumentation_test_instance.py
@@ -386,6 +386,7 @@ class InstrumentationTestInstance(test_instance.TestInstance):
self._driver_apk = None
def _initializeTestControlAttributes(self, args):
+ self._screenshot_dir = args.screenshot_dir
self._timeout_scale = args.timeout_scale or 1
@property
@@ -421,6 +422,10 @@ class InstrumentationTestInstance(test_instance.TestInstance):
return self._package_info
@property
+ def screenshot_dir(self):
+ return self._screenshot_dir
+
+ @property
def suite(self):
return self._suite
« no previous file with comments | « no previous file | build/android/pylib/local/device/local_device_instrumentation_test_run.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698