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

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

Issue 645753002: telemetry: Replace mostly_smooth by percentage_smooth. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unit test. Lower threshold to 17ms. Created 6 years, 2 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 | tools/perf/measurements/smoothness_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/measurements/repaint_unittest.py
diff --git a/tools/perf/measurements/repaint_unittest.py b/tools/perf/measurements/repaint_unittest.py
index 33c8cfc5d618da0d031ba573be94816e548e3a11..40a910f45f1fbccb6c61a810702ae88f67e0bfd2 100644
--- a/tools/perf/measurements/repaint_unittest.py
+++ b/tools/perf/measurements/repaint_unittest.py
@@ -50,9 +50,10 @@ class RepaintUnitTest(page_test_test_case.PageTestTestCase):
self.assertEquals(len(jank), 1)
self.assertGreater(jank[0].GetRepresentativeNumber(), 0)
- mostly_smooth = results.FindAllPageSpecificValuesNamed('mostly_smooth')
- self.assertEquals(len(mostly_smooth), 1)
- self.assertGreaterEqual(mostly_smooth[0].GetRepresentativeNumber(), 0)
+ percentage_smooth = results.FindAllPageSpecificValuesNamed(
+ 'percentage_smooth')
+ self.assertEquals(len(percentage_smooth), 1)
+ self.assertGreaterEqual(percentage_smooth[0].GetRepresentativeNumber(), 0)
@test.Disabled('android')
def testCleanUpTrace(self):
« no previous file with comments | « no previous file | tools/perf/measurements/smoothness_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698