| 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
|
|
|