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

Unified Diff: tools/telemetry/telemetry/page/actions/action_runner_unittest.py

Issue 356243002: Delete gesture_action.py and remove support for JSON attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and address review comments. Created 6 years, 5 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
Index: tools/telemetry/telemetry/page/actions/action_runner_unittest.py
diff --git a/tools/telemetry/telemetry/page/actions/action_runner_unittest.py b/tools/telemetry/telemetry/page/actions/action_runner_unittest.py
index 24289bf1a5125375e694bfc00d4924bf6849e2ec..3ab9018a07f1f67390788777b9728bec637460a4 100644
--- a/tools/telemetry/telemetry/page/actions/action_runner_unittest.py
+++ b/tools/telemetry/telemetry/page/actions/action_runner_unittest.py
@@ -7,8 +7,8 @@ from telemetry.core import exceptions
from telemetry.core import util
from telemetry.core.backends.chrome import tracing_backend
from telemetry.timeline import model
-from telemetry.page.actions import gesture_action
from telemetry.page.actions import action_runner as action_runner_module
+from telemetry.page.actions import page_action
from telemetry.unittest import tab_test_case
from telemetry.web_perf import timeline_interaction_record as tir_module
@@ -179,7 +179,7 @@ class ActionRunnerTest(tab_test_case.TabTestCase):
self.assertRaises(exceptions.EvaluateException, WillFail)
def testScroll(self):
- if not gesture_action.GestureAction.IsGestureSourceTypeSupported(
+ if not page_action.IsGestureSourceTypeSupported(
self._tab, 'touch'):
return
@@ -201,7 +201,7 @@ class ActionRunnerTest(tab_test_case.TabTestCase):
'document.body.scrollLeft') > 75)
def testSwipe(self):
- if not gesture_action.GestureAction.IsGestureSourceTypeSupported(
+ if not page_action.IsGestureSourceTypeSupported(
self._tab, 'touch'):
return
« no previous file with comments | « tools/telemetry/telemetry/page/actions/action_runner.py ('k') | tools/telemetry/telemetry/page/actions/gesture_action.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698