summaryrefslogtreecommitdiff
path: root/tests/autopilot
diff options
authorChristopher Lee <chris.lee@canonical.com>2012-07-10 10:21:36 -0400
committerTarmac <>2012-07-10 10:21:36 -0400
commit0035928980c05d7097a76cfac9fa97a6b18158ed (patch)
treee1f9a770f8f1963692fb3751e9a7f862c61e8853 /tests/autopilot
parent9b1afe5ebf67ee6370eec4616dc83d283d56474d (diff)
parentf72a2e1c4dea67d38edeb6319d3aa44ccf8f347a (diff)
Removed 2 fast-switching tests, made them manual tests instead.. Fixes: . Approved by Thomi Richards.
(bzr r2484)
Diffstat (limited to 'tests/autopilot')
-rw-r--r--tests/autopilot/unity/tests/test_switcher.py36
1 files changed, 0 insertions, 36 deletions
diff --git a/tests/autopilot/unity/tests/test_switcher.py b/tests/autopilot/unity/tests/test_switcher.py
index 5324050c3..52254ea2d 100644
--- a/tests/autopilot/unity/tests/test_switcher.py
+++ b/tests/autopilot/unity/tests/test_switcher.py
@@ -100,42 +100,6 @@ class SwitcherTests(SwitcherTestCase):
self.switcher.terminate()
- def test_switcher_scroll_next_ignores_fast_events(self):
- """Ensures that smoothing is working correctly for next icon scrolling.
-
- Only the first event in a rapid fire string of events should be acted upon.
- The rest ignored.
-
- """
- self.switcher.initiate()
- self.addCleanup(self.switcher.terminate)
-
- # Quickly repeated events should be ignored (except the first)
- start = self.switcher.selection_index
- self.switcher.next_via_mouse()
- self.switcher.next_via_mouse()
- self.switcher.next_via_mouse()
-
- self.assertThat(self.switcher.selection_index, Equals(start + 1))
-
- def test_switcher_scroll_prev_ignores_fast_events(self):
- """Ensures that smoothing is working correctly for previous icon scrolling.
-
- Only the first event in a rapid fire string of events should be acted upon.
- The rest ignored.
-
- """
- self.switcher.initiate()
- self.addCleanup(self.switcher.terminate)
-
- # Quickly repeatead events should be ignored (except the first)
- start = self.switcher.selection_index
- self.switcher.previous_via_mouse()
- self.switcher.previous_via_mouse()
- self.switcher.previous_via_mouse()
-
- self.assertThat(self.switcher.selection_index, Equals(start - 1))
-
def test_switcher_arrow_key_does_not_init(self):
"""Ensure that Alt+Right does not initiate switcher.