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

Unified Diff: Tools/TestResultServer/model/jsonresults.py

Issue 18501009: Remove dead code for computing fixable test counts. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/TestResultServer/model/jsonresults.py
diff --git a/Tools/TestResultServer/model/jsonresults.py b/Tools/TestResultServer/model/jsonresults.py
index aa8cc6fe2113d1aebb67f540430dff655da8a082..35b56c9da674601944f39ab1079e6c12b5d4d122 100755
--- a/Tools/TestResultServer/model/jsonresults.py
+++ b/Tools/TestResultServer/model/jsonresults.py
@@ -367,20 +367,12 @@ class JsonResults(object):
def _convert_full_results_format_to_aggregate(cls, full_results_format):
num_total_tests = 0
num_failing_tests = 0
- fixableCounts = {}
failures_by_type = full_results_format[FAILURES_BY_TYPE_KEY]
# FIXME: full_results format has "FAIL" entries, but that is no longer a possible result type.
if 'FAIL' in failures_by_type:
del failures_by_type['FAIL']
- for failure_type in failures_by_type:
- count = failures_by_type[failure_type]
- num_total_tests += count
- if failure_type != PASS_STRING:
- num_failing_tests += count
- fixableCounts[FAILURE_TO_CHAR[failure_type]] = count
-
tests = {}
cls._populate_tests_from_full_results(full_results_format[TESTS_KEY], tests)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698