on xenial help sign in
Launch the fake app with upstart.
48b4e96Leo Arias
tests/autopilot/unity8/application_lifecycle/tests/test_application_lifecycle.py+1−7
@@ -58,13 +58,7 @@ class ApplicationLifecycleTests(tests.ApplicationLifeCycleTestCase):
58 qml_file_path, desktop_file_path = self.create_test_application()
58 qml_file_path, desktop_file_path = self.create_test_application()
59 desktop_file_name = os.path.basename(desktop_file_path)
59 desktop_file_name = os.path.basename(desktop_file_path)
60 application_name, _ = os.path.splitext(desktop_file_name)
60 application_name, _ = os.path.splitext(desktop_file_name)
61− self.launch_test_application(
61+ self.launch_upstart_application(application_name)
62− base.get_qmlscene_launch_command(),
63− qml_file_path,
64− '--desktop_file_hint={0}'.format(
65− desktop_file_path),
66− emulator_base=toolkit_emulators.UbuntuUIToolkitEmulatorBase,
67− app_type='qt')
68 return application_name
62 return application_name
69
63
70 def test_can_launch_application(self):
64 def test_can_launch_application(self):