~bzoltan/ubuntu-ui-toolkit/add_default_tools

« back to all changes in this revision

Viewing changes to tests/autopilot/ubuntuuitoolkit/tests/test_emulators.py

  • Committer: Tarmac
  • Author(s): Leo Arias
  • Date: 2013-09-20 14:46:34 UTC
  • mfrom: (746.1.31 base_autopilot_class)
  • Revision ID: tarmac-20130920144634-dd9uatim7f3l0myc
Added UbuntuUIToolkitAppTestCase as a base test case for the autopilot tests. Fixes: https://bugs.launchpad.net/bugs/1227355.

Approved by PS Jenkins bot, Omer Akram.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
        self.assertIsInstance(keyword_args['device'], input.Touch)
47
47
 
48
48
 
49
 
class MainViewTestCase(tests.UbuntuUiToolkitTestCase):
 
49
class MainViewTestCase(tests.QMLStringAppTestCase):
50
50
 
51
51
    test_qml = ("""
52
52
import QtQuick 2.0
84
84
            error.message, 'The MainView has no Tabs.')
85
85
 
86
86
 
87
 
class PageTestCase(tests.UbuntuUiToolkitTestCase):
 
87
class PageTestCase(tests.QMLStringAppTestCase):
88
88
 
89
89
    test_qml = ("""
90
90
import QtQuick 2.0
107
107
        self.assertEqual(header.title, "Test title")
108
108
 
109
109
 
110
 
class ToolbarTestCase(tests.UbuntuUiToolkitTestCase):
 
110
class ToolbarTestCase(tests.QMLStringAppTestCase):
111
111
 
112
112
    test_qml = ("""
113
113
import QtQuick 2.0
184
184
            error.message, 'Button with objectName "unexisting" not found.')
185
185
 
186
186
 
187
 
class TabsTestCase(tests.UbuntuUiToolkitTestCase):
 
187
class TabsTestCase(tests.QMLStringAppTestCase):
188
188
 
189
189
    test_qml = ("""
190
190
import QtQuick 2.0
308
308
            error.message, 'Tab with objectName "unexisting" not found.')
309
309
 
310
310
 
311
 
class ActionSelectionPopoverTestCase(tests.UbuntuUiToolkitTestCase):
 
311
class ActionSelectionPopoverTestCase(tests.QMLStringAppTestCase):
312
312
 
313
313
    test_qml = ("""
314
314
import QtQuick 2.0