summaryrefslogtreecommitdiffstats
path: root/Tools/Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2011-05-18 13:36:51 +0100
committerSteve Block <steveblock@google.com>2011-05-24 15:38:28 +0100
commit2fc2651226baac27029e38c9d6ef883fa32084db (patch)
treee396d4bf89dcce6ed02071be66212495b1df1dec /Tools/Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py
parentb3725cedeb43722b3b175aaeff70552e562d2c94 (diff)
downloadexternal_webkit-2fc2651226baac27029e38c9d6ef883fa32084db.zip
external_webkit-2fc2651226baac27029e38c9d6ef883fa32084db.tar.gz
external_webkit-2fc2651226baac27029e38c9d6ef883fa32084db.tar.bz2
Merge WebKit at r78450: Initial merge by git.
Change-Id: I6d3e5f1f868ec266a0aafdef66182ddc3f265dc1
Diffstat (limited to 'Tools/Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py')
-rw-r--r--Tools/Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py29
1 files changed, 1 insertions, 28 deletions
diff --git a/Tools/Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py b/Tools/Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py
index ce99765..95da8fb 100644
--- a/Tools/Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py
+++ b/Tools/Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py
@@ -94,7 +94,7 @@ class JSONGeneratorTest(unittest.TestCase):
failed_count_map = dict([(t, 1) for t in failed_tests])
# Test incremental json results
- incremental_json = generator.get_json(incremental=True)
+ incremental_json = generator.get_json()
self._verify_json_results(
tests_set,
test_timings,
@@ -106,33 +106,6 @@ class JSONGeneratorTest(unittest.TestCase):
incremental_json,
1)
- # Test aggregated json results
- generator.set_archived_results(self._json)
- json = generator.get_json(incremental=False)
- self._json = json
- self._num_runs += 1
- self._tests_set |= tests_set
- self._test_timings.update(test_timings)
- self._PASS_count += len(PASS_tests)
- self._DISABLED_count += len(DISABLED_tests)
- self._FLAKY_count += len(FLAKY_tests)
- self._fixable_count += len(DISABLED_tests | failed_tests)
-
- get = self._failed_count_map.get
- for test in failed_count_map.iterkeys():
- self._failed_count_map[test] = get(test, 0) + 1
-
- self._verify_json_results(
- self._tests_set,
- self._test_timings,
- self._failed_count_map,
- self._PASS_count,
- self._DISABLED_count,
- self._FLAKY_count,
- self._fixable_count,
- self._json,
- self._num_runs)
-
def _verify_json_results(self, tests_set, test_timings, failed_count_map,
PASS_count, DISABLED_count, FLAKY_count,
fixable_count,