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

Side by Side Diff: build/android/pylib/instrumentation/test_result.py

Issue 2237553003: (Reland) Added tombstones in instrumentation tests results. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from pylib.base import base_test_result 5 from pylib.base import base_test_result
6 6
7 7
8 class InstrumentationTestResult(base_test_result.BaseTestResult): 8 class InstrumentationTestResult(base_test_result.BaseTestResult):
9 """Result information for a single instrumentation test.""" 9 """Result information for a single instrumentation test."""
10 10
(...skipping 10 matching lines...) Expand all
21 super(InstrumentationTestResult, self).__init__( 21 super(InstrumentationTestResult, self).__init__(
22 full_name, test_type, dur, log) 22 full_name, test_type, dur, log)
23 name_pieces = full_name.rsplit('#') 23 name_pieces = full_name.rsplit('#')
24 if len(name_pieces) > 1: 24 if len(name_pieces) > 1:
25 self._test_name = name_pieces[1] 25 self._test_name = name_pieces[1]
26 self._class_name = name_pieces[0] 26 self._class_name = name_pieces[0]
27 else: 27 else:
28 self._class_name = full_name 28 self._class_name = full_name
29 self._test_name = full_name 29 self._test_name = full_name
30 self._start_date = start_date 30 self._start_date = start_date
31 self._tombstones = None
32
33 def SetTombstones(self, tombstones):
34 self._tombstones = tombstones
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698