Commit 1fac4392 authored by nednguyen's avatar nednguyen Committed by Commit bot

[Telemetry] Rename RunRepaint to RunPageInteractions

BUG=418375

Review URL: https://codereview.chromium.org/820063003

Cr-Commit-Position: refs/heads/master@{#309559}
parent c3ab6e7b
......@@ -19,9 +19,8 @@ from telemetry.util import classes
# crbug.com/418375
_ACTION_NAMES_WHITE_LIST = (
'',
'RunPageInteractions',
'RunSmoothness',
'RunRepaint',
'RunPageInteractions',
'RunNavigateSteps',
)
......
......@@ -8,7 +8,7 @@ from telemetry.page import page_test
class Repaint(page_test.PageTest):
def __init__(self, mode='viewport', width=None, height=None):
super(Repaint, self).__init__('RunRepaint', False)
super(Repaint, self).__init__('RunPageInteractions', False)
self._smoothness_controller = None
self._micro_benchmark_id = None
self._mode = mode
......
......@@ -15,7 +15,7 @@ class TestRepaintPage(page_module.Page):
super(TestRepaintPage, self).__init__('file://blank.html',
page_set, base_dir)
def RunRepaint(self, action_runner):
def RunPageInteractions(self, action_runner):
action_runner.RepaintContinuously(seconds=2)
......
......@@ -14,7 +14,7 @@ def _RepaintContinously(action_runner):
def _CreatePageClassWithRepaintInteractions(page_cls):
class DerivedRepaintPage(page_cls): # pylint: disable=W0232
def RunRepaintness(self, action_runner):
def RunPageInteractions(self, action_runner):
_RepaintContinously(action_runner)
return DerivedRepaintPage
......@@ -28,7 +28,7 @@ class KeyMobileSitesRepaintPage(page_module.Page):
self.user_agent_type = 'mobile'
self.archive_data_file = 'data/key_mobile_sites_repaint.json'
def RunRepaintness(self, action_runner):
def RunPageInteractions(self, action_runner):
_RepaintContinously(action_runner)
......
......@@ -17,14 +17,14 @@ class TopRepaintPage(page_module.Page):
self.archive_data_file = 'data/top_25_repaint.json'
self.credentials = credentials
def RunRepaint(self, action_runner):
def RunPageInteractions(self, action_runner):
action_runner.RepaintContinuously(seconds=5)
def _CreatePageClassWithRepaintInteractions(page_cls):
class DerivedRepaintPage(page_cls): # pylint: disable=W0232
def RunRepaint(self, action_runner):
def RunPageInteractions(self, action_runner):
action_runner.RepaintContinuously(seconds=5)
return DerivedRepaintPage
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment