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

Unified Diff: tools/perf/measurements/page_cycler_unittest.py

Issue 1092393002: Telemetry: Quiescent power benchmarks for Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@safari-backend
Patch Set: Fix unit test Created 5 years, 8 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 | « tools/perf/benchmarks/power.py ('k') | tools/perf/measurements/power.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/measurements/page_cycler_unittest.py
diff --git a/tools/perf/measurements/page_cycler_unittest.py b/tools/perf/measurements/page_cycler_unittest.py
index c6ce6363ade6dda1984c08c569d5287772af3bee..a29737a42839891fc61dc6bad2b6dcb8018e0ba2 100644
--- a/tools/perf/measurements/page_cycler_unittest.py
+++ b/tools/perf/measurements/page_cycler_unittest.py
@@ -227,7 +227,7 @@ class PageCyclerUnitTest(unittest.TestCase):
# On Mac, there is an additional measurement: the number of keychain
# accesses.
- value_count = 4
+ value_count = 3
if sys.platform == 'darwin':
value_count += 1
self.assertEqual(value_count, len(values))
@@ -237,7 +237,7 @@ class PageCyclerUnitTest(unittest.TestCase):
self.assertEqual(values[0].name, '%s.page_load_time' % chart_name)
self.assertEqual(values[0].units, 'ms')
- expected_values = ['gpu', 'renderer', 'browser']
+ expected_values = ['gpu', 'browser']
for value, expected in zip(values[1:len(expected_values) + 1],
expected_values):
self.assertEqual(value.page, page)
« no previous file with comments | « tools/perf/benchmarks/power.py ('k') | tools/perf/measurements/power.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698