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

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

Issue 2451523002: Insert logcat as part of test result for android instrumentation tests. (Closed)
Patch Set: using logdog Created 4 years, 1 month 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..8f537ab027d62df354c80a3358d205e8060a1500 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 = None
def __str__(self):
return self._name
@@ -95,6 +96,12 @@ class BaseTestResult(object):
def GetTombstones(self):
return self._tombstones
+ def SetLogcat(self, logcat):
jbudorick 2016/11/18 02:31:42 Should these two be *LogcatURL now?
BigBossZhiling 2016/11/22 02:54:37 Done.
+ self._logcat = logcat
+
+ def GetLogcat(self):
+ return self._logcat
+
class TestRunResults(object):
"""Set of results for a test run."""

Powered by Google App Engine
This is Rietveld 408576698