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

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

Issue 1089223003: Move all the page actions from repaint measurements to repaint pages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/measurements/repaint.py ('k') | tools/perf/page_sets/key_mobile_sites_repaint.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 145d65b2caa94d75a17425bd21bfa2a74dacb7be..535c758214c2a1df14f40f4089e9207fda280862 100644
--- a/tools/perf/measurements/repaint_unittest.py
+++ b/tools/perf/measurements/repaint_unittest.py
@@ -9,6 +9,7 @@ from telemetry.unittest_util import options_for_unittests
from telemetry.unittest_util import page_test_test_case
from measurements import repaint
+from page_sets import repaint_helpers
class TestRepaintPage(page_module.Page):
@@ -17,8 +18,7 @@ class TestRepaintPage(page_module.Page):
page_set, base_dir)
def RunPageInteractions(self, action_runner):
- with action_runner.CreateInteraction('Repaint'):
- action_runner.RepaintContinuously(seconds=2)
+ repaint_helpers.Repaint(action_runner)
class RepaintUnitTest(page_test_test_case.PageTestTestCase):
« no previous file with comments | « tools/perf/measurements/repaint.py ('k') | tools/perf/page_sets/key_mobile_sites_repaint.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698