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

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

Issue 723343002: Update from https://crrev.com/304121 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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
« no previous file with comments | « build/android/pylib/instrumentation/test_jar.py ('k') | build/android/pylib/instrumentation/test_runner.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/instrumentation/test_result.py
diff --git a/build/android/pylib/instrumentation/test_result.py b/build/android/pylib/instrumentation/test_result.py
index a0eea658c1ab77117d5081a6df6986798f53c122..24e80a8e5fbcf0fe898b2244887b3761d3ef144c 100644
--- a/build/android/pylib/instrumentation/test_result.py
+++ b/build/android/pylib/instrumentation/test_result.py
@@ -18,7 +18,8 @@ class InstrumentationTestResult(base_test_result.BaseTestResult):
dur: Duration of the test run in milliseconds.
log: A string listing any errors.
"""
- super(InstrumentationTestResult, self).__init__(full_name, test_type, log)
+ super(InstrumentationTestResult, self).__init__(
+ full_name, test_type, dur, log)
name_pieces = full_name.rsplit('#')
if len(name_pieces) > 1:
self._test_name = name_pieces[1]
@@ -27,8 +28,3 @@ class InstrumentationTestResult(base_test_result.BaseTestResult):
self._class_name = full_name
self._test_name = full_name
self._start_date = start_date
- self._dur = dur
-
- def GetDur(self):
- """Get the test duration."""
- return self._dur
« no previous file with comments | « build/android/pylib/instrumentation/test_jar.py ('k') | build/android/pylib/instrumentation/test_runner.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698