Index: tools/telemetry/telemetry/page/actions/gesture_action_unittest.py |
diff --git a/tools/telemetry/telemetry/page/actions/gesture_action_unittest.py b/tools/telemetry/telemetry/page/actions/gesture_action_unittest.py |
deleted file mode 100644 |
index 9a84fcc2d285f2182644f917c86487fb7720ba18..0000000000000000000000000000000000000000 |
--- a/tools/telemetry/telemetry/page/actions/gesture_action_unittest.py |
+++ /dev/null |
@@ -1,23 +0,0 @@ |
-# Copyright 2014 The Chromium Authors. All rights reserved. |
-# Use of this source code is governed by a BSD-style license that can be |
-# found in the LICENSE file. |
- |
-from telemetry.page.actions import gesture_action |
-from telemetry.unittest import tab_test_case |
- |
-class MockGestureAction(gesture_action.GestureAction): |
- """Mock gesture action that simply sleeps for a specified amount of time.""" |
- def __init__(self): |
- super(MockGestureAction, self).__init__() |
- self.was_run = False |
- |
- def RunGesture(self, tab): |
- self.was_run = True |
- |
- |
-class GestureActionTest(tab_test_case.TabTestCase): |
- def testGestureAction(self): |
- """Test that GestureAction.RunAction() calls RunGesture().""" |
- action = MockGestureAction() |
- action.RunAction(self._tab) |
- self.assertTrue(action.was_run) |