コード例 #1
0
def testPrefPaneNav():
    "Test arrow-key navigaiton of preference panes."
    util.open_preferences()
    t = _prefTitleRegion()
    firstPrefPane(t, "EditorPaneTitle.png")
    nextPrefPane(t, "FontsPaneTitle.png")
    nextPrefPane(t, "HintsPaneTitle.png")
    nextPrefPane(t, "KeyBindingsPaneTitle.png")
    nextPrefPane(t, "RunandDebugPaneTitle.png")
    nextPrefPane(t, "UpdatePaneTitle.png")
    nextPrefPane(t, "VisualThemePaneTitle.png")
    type(Key.ESC)
コード例 #2
0
ファイル: test-prefs.py プロジェクト: abetss/bleeding_edge
def testPrefPaneNav():
  "Test arrow-key navigaiton of preference panes."
  util.open_preferences()
  t=_prefTitleRegion()
  firstPrefPane(t, "EditorPaneTitle.png")
  nextPrefPane(t, "FontsPaneTitle.png")
  nextPrefPane(t, "HintsPaneTitle.png")
  nextPrefPane(t, "KeyBindingsPaneTitle.png")
  nextPrefPane(t, "RunandDebugPaneTitle.png")
  nextPrefPane(t, "UpdatePaneTitle.png")
  nextPrefPane(t, "VisualThemePaneTitle.png")
  type(Key.ESC)
コード例 #3
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()
コード例 #4
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()
コード例 #5
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
    type(Key.ESC)
    util.open_preferences()  # Back to size small panes
    selectFontsPrefPane()
    selectHintsPrefPane()
    selectKeyBindingsPane()
    selectRunandDebugPrefPane()  # Medium size
    selectUpdatePrefPane()
    selectVisualThemePrefPane()  # Large size
    selectEditorPrefPane()  # Start with small size next time
    type(Key.ESC)
コード例 #6
0
ファイル: test-prefs.py プロジェクト: abetss/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
  type(Key.ESC)
  util.open_preferences() # Back to size small panes
  selectFontsPrefPane()
  selectHintsPrefPane()
  selectKeyBindingsPane()
  selectRunandDebugPrefPane() # Medium size
  selectUpdatePrefPane()
  selectVisualThemePrefPane() # Large size
  selectEditorPrefPane() # Start with small size next time
  type(Key.ESC)