@@ -1,6 +1,6 @@
1# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
1# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
3−# Unity8 Autopilot Test Suite
3+# Unity Autopilot Test Suite
4# Copyright (C) 2012-2013 Canonical
4# Copyright (C) 2012-2013 Canonical
6# This program is free software: you can redistribute it and/or modify
6# This program is free software: you can redistribute it and/or modify
@@ -17,7 +17,7 @@
17# along with this program. If not, see <http://www.gnu.org/licenses/>.
17# along with this program. If not, see <http://www.gnu.org/licenses/>.
20−"""unity8 autopilot tests."""
20+"""unity autopilot tests."""
22from autopilot.platform import model
22from autopilot.platform import model
23from autopilot.testcase import AutopilotTestCase
23from autopilot.testcase import AutopilotTestCase
@@ -29,7 +29,7 @@ import os.path
29from testtools.matchers import Equals, NotEquals
29from testtools.matchers import Equals, NotEquals
31from unity8 import get_lib_path, get_binary_path, get_mocks_library_path
31from unity8 import get_lib_path, get_binary_path, get_mocks_library_path
32−from unity8.shell.emulators import Unity8EmulatorBase
32+from unity8.shell.emulators import UnityEmulatorBase
33from unity8.shell.emulators.dash import Dash
33from unity8.shell.emulators.dash import Dash
34from unity8.shell.emulators.main_window import MainWindow
34from unity8.shell.emulators.main_window import MainWindow
@@ -58,12 +58,12 @@ def _get_device_emulation_scenarios():
61−class Unity8TestCase(AutopilotTestCase):
61+class UnityTestCase(AutopilotTestCase):
63− """A test case base class for the Unity8 shell tests."""
63+ """A test case base class for the Unity shell tests."""
65 def setUp(self):
65 def setUp(self):
66− super(Unity8TestCase, self).setUp()
66+ super(UnityTestCase, self).setUp()
67 self._proxy = None
67 self._proxy = None
68 self.touch = Touch.create()
68 self.touch = Touch.create()
69 self._setup_display_details()
69 self._setup_display_details()
@@ -123,7 +123,7 @@ class Unity8TestCase(AutopilotTestCase):
123 return divisor
123 return divisor
125 def launch_unity(self):
125 def launch_unity(self):
126− """Launch the unity8 shell, return a proxy object for it."""
126+ """Launch the unity shell, return a proxy object for it."""
127 binary_path = get_binary_path()
127 binary_path = get_binary_path()
128 lib_path = get_lib_path()
128 lib_path = get_lib_path()
@@ -139,14 +139,14 @@ class Unity8TestCase(AutopilotTestCase):
139 binary_path,
139 binary_path,
140 *self.unity_geometry_args,
140 *self.unity_geometry_args,
141 app_type='qt',
141 app_type='qt',
142− emulator_base=Unity8EmulatorBase
142+ emulator_base=UnityEmulatorBase
144 self._set_proxy(app_proxy)
144 self._set_proxy(app_proxy)
146 # Ensure that the dash is visible before we return:
146 # Ensure that the dash is visible before we return:
147− logger.debug("Unity8 started, waiting for it to be ready.")
147+ logger.debug("Unity started, waiting for it to be ready.")
148 self.assertUnityReady()
148 self.assertUnityReady()
149− logger.debug("Unity8 loaded and ready.")
149+ logger.debug("Unity loaded and ready.")
151 return app_proxy
151 return app_proxy