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

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

Issue 2874173002: Retreive screenshots captured by tests from test devices. (Closed)
Patch Set: Use Instrumentation arg for device directory Created 3 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 adf36d29a41c038b0a781e00495fa0658883b1e6..4f5f611f9ebfc9bd982517507155f4c9e61e34c8 100644
--- a/build/android/pylib/instrumentation/instrumentation_test_instance.py
+++ b/build/android/pylib/instrumentation/instrumentation_test_instance.py
@@ -668,6 +668,7 @@ class InstrumentationTestInstance(test_instance.TestInstance):
def _initializeTestControlAttributes(self, args):
self._screenshot_dir = args.screenshot_dir
self._timeout_scale = args.timeout_scale or 1
+ self._ui_screenshot_dir = args.ui_screenshot_dir
def _initializeTestCoverageAttributes(self, args):
self._coverage_directory = args.coverage_dir
@@ -801,6 +802,10 @@ class InstrumentationTestInstance(test_instance.TestInstance):
def total_external_shards(self):
return self._total_external_shards
+ @property
+ def ui_screenshot_dir(self):
+ return self._ui_screenshot_dir
+
#override
def TestType(self):
return 'instrumentation'
« 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