Ejemplo n.º 1
0
 def test_keyCombo_on_widget(self):
     self.runDemo('Builder')
     focus.button('Copy')
     keyCombo('<F7>')
     try:
         res = focus.dialog('About Builder demo')
     except:
         try:
             res = focus.dialog('About GtkBuilder demo')
         except:
             pass
     self.assertTrue(res)
Ejemplo n.º 2
0
 def test_keyCombo_on_widget(self):
     self.runDemo('Builder')
     focus.button('Copy')
     keyCombo('<F7>')
     try:
         res = focus.dialog('About Builder demo')
     except:
         try:
             res = focus.dialog('About GtkBuilder demo')
         except:
             pass
     self.assertTrue(res)
Ejemplo n.º 3
0
 def test_keyCombo(self):
     self.runDemo('Builder')
     keyCombo('<F7>')
     res = False
     try:
         res = focus.dialog('About Builder demo')
     except:
         try:
             res = focus.dialog('About GtkBuilder demo')
         except:
             pass
     self.assertTrue(res)
Ejemplo n.º 4
0
 def test_keyCombo(self):
     self.runDemo('Builder')
     keyCombo('<F7>')
     res = False
     try:
         res = focus.dialog('About Builder demo')
     except:
         try:
             res = focus.dialog('About GtkBuilder demo')
         except:
             pass
     self.assertTrue(res)
Ejemplo n.º 5
0
 def test_custom_actions_button(self):
     try:
         self.runDemo('Dialog and Message Boxes', retry=False)
         focus.window('Dialogs')
     except SearchError:
         self.runDemo('Dialogs and Message Boxes', retry=False)
         focus.window('Dialogs and Message Boxes')
     click.button('Interactive Dialog')
     self.assertTrue(focus.dialog("Interactive Dialog"))
Ejemplo n.º 6
0
 def test_custom_actions_button(self):
     try:
         self.runDemo('Dialog and Message Boxes', retry=False)
         focus.window('Dialogs')
     except SearchError:
         self.runDemo('Dialogs and Message Boxes', retry=False)
         focus.window('Dialogs and Message Boxes')
     click.button('Interactive Dialog')
     self.assertTrue(focus.dialog("Interactive Dialog"))
Ejemplo n.º 7
0
 def testKeyCombo(self):
     self.runDemo('Application window')
     focus.window('Application Window')
     keyCombo("<ctrl>a")
     focus.dialog('About GTK+ Code Demos')
Ejemplo n.º 8
0
 def test_keyCombo_on_widget(self):
     self.runDemo('Builder')
     focus.button('Copy')
     keyCombo('<F7>')
     self.assertTrue(focus.dialog('About GtkBuilder demo'))
Ejemplo n.º 9
0
 def test_keyCombo(self):
     self.runDemo('Builder')
     keyCombo('<F7>')
     self.assertTrue(focus.dialog('About GtkBuilder demo'))
Ejemplo n.º 10
0
 def test_custom_actions_button(self):
     self.runDemo('Dialog and Message Boxes')
     focus.window('Dialogs')
     click.button('Interactive Dialog')
     self.assertTrue(focus.dialog("Interactive Dialog"))
Ejemplo n.º 11
0
 def test_keyCombo_on_widget(self):
     self.runDemo('Application window')
     focus.window('Application Window')
     focus.icon('')
     keyCombo("<ctrl>a")
     focus.dialog('About GTK+ Code Demos')
Ejemplo n.º 12
0
 def test_keyCombo_on_widget(self):
     self.runDemo('Builder')
     focus.button('Copy')
     keyCombo('<F7>')
     self.assertTrue(focus.dialog('About GtkBuilder demo'))
Ejemplo n.º 13
0
 def test_keyCombo(self):
     self.runDemo('Builder')
     keyCombo('<F7>')
     self.assertTrue(focus.dialog('About GtkBuilder demo'))