コード例 #1
0
def testPrefPaneNav():
  "Test arrow-key navigaiton of preference panes."
  util.open_preferences()
  t=_prefTitleRegion()
  firstPrefPane(t, p("EditorPaneTitle.png"))
  nextPrefPane(t, p("FontsPaneTitle.png"))
  nextPrefPane(t, p("HintsPaneTitle.png"))
  nextPrefPane(t, p("KeyBindingsPaneTitle.png"))
  nextPrefPane(t, p("RunandDebugPaneTitle.png"))
  nextPrefPane(t, p("UpdatePaneTitle.png"))
  nextPrefPane(t, p("VisualThemePaneTitle.png"))
  wait(2)
  util.dismiss_dialog()
コード例 #2
0
ファイル: test-prefs.py プロジェクト: yongaru/bleeding_edge
def testPrefPaneNav():
    "Test arrow-key navigaiton of preference panes."
    util.open_preferences()
    t = _prefTitleRegion()
    firstPrefPane(t, p("EditorPaneTitle.png"))
    nextPrefPane(t, p("FontsPaneTitle.png"))
    nextPrefPane(t, p("HintsPaneTitle.png"))
    nextPrefPane(t, p("KeyBindingsPaneTitle.png"))
    nextPrefPane(t, p("RunandDebugPaneTitle.png"))
    nextPrefPane(t, p("UpdatePaneTitle.png"))
    nextPrefPane(t, p("VisualThemePaneTitle.png"))
    wait(2)
    util.dismiss_dialog()
コード例 #3
0
def testPrefPaneSelection():
  "Test preference pane selection by name."
  util.open_preferences()
  wait(5) # In case we start with Visual Theme, which we do
  selectEditorPrefPane() # Still in size large panes
  util.dismiss_dialog()
  util.open_preferences() # Back to size small panes
  selectFontsPrefPane()
  selectHintsPrefPane()
  selectKeyBindingsPane()
  selectRunandDebugPrefPane() # Medium size
  selectUpdatePrefPane()
  selectVisualThemePrefPane() # Large size
  util.dismiss_dialog()
  util.open_preferences()
  selectEditorPrefPane() # Start with small size next time
  util.dismiss_dialog()
コード例 #4
0
ファイル: test-prefs.py プロジェクト: yongaru/bleeding_edge
def testPrefPaneSelection():
    "Test preference pane selection by name."
    util.open_preferences()
    wait(5)  # In case we start with Visual Theme, which we do
    selectEditorPrefPane()  # Still in size large panes
    util.dismiss_dialog()
    util.open_preferences()  # Back to size small panes
    selectFontsPrefPane()
    selectHintsPrefPane()
    selectKeyBindingsPane()
    selectRunandDebugPrefPane()  # Medium size
    selectUpdatePrefPane()
    selectVisualThemePrefPane()  # Large size
    util.dismiss_dialog()
    util.open_preferences()
    selectEditorPrefPane()  # Start with small size next time
    util.dismiss_dialog()