Skip to content

Commit

Permalink
Expose the successes count of gtest_unittest_result.
Browse files Browse the repository at this point in the history
BUG=388516

Review URL: https://codereview.chromium.org/355773002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279684 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
nednguyen@google.com committed Jun 25, 2014
1 parent 8a0f157 commit 387c792
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/telemetry/telemetry/unittest/gtest_unittest_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ def __init__(self, output_stream):
self._timestamp = None
self._successes_count = 0

@property
def successes_count(self):
return self._successes_count

def _GetMs(self):
return (time.time() - self._timestamp) * 1000

Expand Down

0 comments on commit 387c792

Please sign in to comment.