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

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

Issue 2545653002: (Reland) Insert logcat as part of test result for android instrumentation tests. (Closed)
Patch Set: add more exceptions Created 4 years 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/base_test_result.py
diff --git a/build/android/pylib/base/base_test_result.py b/build/android/pylib/base/base_test_result.py
index 333211fa3219480837e4bbc38d5140e70ac57da7..527afb641eb96130c7ff3ef41914c059e585dfa9 100644
--- a/build/android/pylib/base/base_test_result.py
+++ b/build/android/pylib/base/base_test_result.py
@@ -42,6 +42,7 @@ class BaseTestResult(object):
self._duration = duration
self._log = log
self._tombstones = None
+ self._logcat_url = None
def __str__(self):
return self._name
@@ -95,6 +96,12 @@ class BaseTestResult(object):
def GetTombstones(self):
return self._tombstones
+ def SetLogcatUrl(self, logcat_url):
+ self._logcat_url = logcat_url
+
+ def GetLogcatUrl(self):
+ return self._logcat_url
+
class TestRunResults(object):
"""Set of results for a test run."""

Powered by Google App Engine
This is Rietveld 408576698