コード例 #1
0
def user_preferences_dialog(parent):
    return UserPreferencesDialogDriver(window(QDialog, named('settings_dialog'), showing_on_screen()), parent.prober,
                                       parent.gesture_performer)
コード例 #2
0
def driver(prober, automaton):
    tab_driver = ContributorsTabDriver(window(ContributorsTab), prober, automaton)
    yield tab_driver
    close_(tab_driver, pause=30)
コード例 #3
0
def driver(prober, automaton):
    dialog_driver = UserPreferencesDialogDriver(window(QDialog, named('settings_dialog')), prober, automaton)
    yield dialog_driver
    close_(dialog_driver)
コード例 #4
0
def driver(prober, automaton):
    dialog_driver = SelectProjectDestinationDialogDriver(
        window(QFileDialog, named("select_project_destination_dialog")),
        prober, automaton)
    yield dialog_driver
    close_(dialog_driver)
コード例 #5
0
def driver(prober, automaton):
    dialog_driver = SaveAsDialogDriver(window(QFileDialog, named("save_as_dialog")), prober, automaton)
    yield dialog_driver
    close_(dialog_driver)
コード例 #6
0
def driver(prober, automaton):
    page_driver = ProjectEditionPageDriver(window(ProjectEditionPage, named("project_edition_page")), prober, automaton)
    yield page_driver
    close_(page_driver)
コード例 #7
0
def message_box(parent):
    return QMessageBoxDriver(window(QMessageBox, named("message_box")), parent.prober, parent.gesture_performer)
コード例 #8
0
ファイル: test_closeable.py プロジェクト: Iconoclasteinc/tgit
def driver(prober, automaton):
    return WidgetDriver(window(QWidget), prober, automaton)
コード例 #9
0
def driver(prober, automaton):
    dialog_driver = QFileDialogDriver(window(QFileDialog), prober, automaton)
    yield dialog_driver
    close_(dialog_driver)
コード例 #10
0
def driver(prober, automaton):
    dialog_driver = AboutDialogDriver(window(AboutDialog, named("about_tgit_dialog")), prober, automaton)
    yield dialog_driver
    close_(dialog_driver)
コード例 #11
0
def driver_with_close_delay(prober, automaton):
    dialog_driver = AboutDialogDriver(window(AboutDialog, named("about_tgit_dialog")), prober, automaton)
    yield dialog_driver
    close_(dialog_driver, pause=PAUSE_AFTER_CLOSE)
コード例 #12
0
def export_as_dialog(parent):
    return ExportAsDialogDriver(window(QFileDialog, named('export-as-dialog')),
                                parent.prober, parent.gesture_performer)
コード例 #13
0
def file_selection_dialog(parent):
    return FileDialogDriver(window(QFileDialog), parent.prober,
                            parent.gesture_performer)
コード例 #14
0
def driver(prober, automaton):
    dialog_driver = LoadProjectDialogDriver(window(QFileDialog, named("load_project_dialog")), prober, automaton)
    yield dialog_driver
    close_(dialog_driver)
コード例 #15
0
def isni_assignation_review_dialog(parent):
    return IsniAssignationReviewDialogDriver(window(ISNIAssignationReviewDialog), parent.prober,
                                             parent.gesture_performer)
コード例 #16
0
ファイル: conftest.py プロジェクト: Iconoclasteinc/tgit
def driver(prober, automaton):
    return QMessageBoxDriver(window(QMessageBox, named("message_box")), prober, automaton)
コード例 #17
0
def driver(prober, automaton):
    dialog_driver = SaveAsDialogDriver(
        window(QFileDialog, named("save_as_dialog")), prober, automaton)
    yield dialog_driver
    close_(dialog_driver)
コード例 #18
0
def isni_assignation_review_dialog(parent):
    return IsniAssignationReviewDialogDriver(
        window(ISNIAssignationReviewDialog), parent.prober,
        parent.gesture_performer)
コード例 #19
0
def driver(prober, automaton):
    dialog_driver = SignInDialogDriver(window(SignInDialog, named("sign_in_dialog")), prober, automaton)
    yield dialog_driver
    close_(dialog_driver)
コード例 #20
0
def driver(prober, automaton):
    dialog_driver = AboutDialogDriver(
        window(AboutDialog, named("about_tgit_dialog")), prober, automaton)
    yield dialog_driver
    close_(dialog_driver)
コード例 #21
0
def driver(prober, automaton):
    tab_driver = TrackListTabDriver(window(TrackListTab, named("track_list_tab")), prober, automaton)
    yield tab_driver
    close_(tab_driver)
コード例 #22
0
def driver_with_close_delay(prober, automaton):
    dialog_driver = AboutDialogDriver(
        window(AboutDialog, named("about_tgit_dialog")), prober, automaton)
    yield dialog_driver
    close_(dialog_driver, pause=PAUSE_AFTER_CLOSE)
コード例 #23
0
def sign_in_dialog(parent):
    return SignInDialogDriver(window(SignInDialog, named("sign_in_dialog")), parent.prober, parent.gesture_performer)
コード例 #24
0
def driver(prober, automaton):
    main_window_driver = MainWindowDriver(window(MainWindow, named("main_window")), prober, automaton)
    yield main_window_driver
    close_(main_window_driver)
コード例 #25
0
def driver(prober, automaton):
    screen_driver = ProjectScreenDriver(window(ProjectScreen, named("project_screen")), prober, automaton)
    yield screen_driver
    close_(screen_driver)
コード例 #26
0
def driver(prober, automaton):
    dialog_driver = IsniLookupDialogDriver(window(ISNILookupDialog), prober, automaton)
    yield dialog_driver
    close_(dialog_driver)
コード例 #27
0
def isni_lookup_dialog(parent):
    return IsniLookupDialogDriver(window(ISNILookupDialog, named("isni_lookup_dialog")), parent.prober,
                                  parent.gesture_performer)
コード例 #28
0
def driver(prober, automaton):
    page_driver = TrackEditionPageDriver(window(TrackEditionPage, named("track_edition_page")), prober, automaton)
    yield page_driver
    close_(page_driver)
コード例 #29
0
def track_selection_dialog(parent):
    return TrackSelectionDialogDriver(
        window(QFileDialog, named("track-selection-dialog")), parent.prober, parent.gesture_performer)
コード例 #30
0
def driver(prober, automaton):
    page_driver = WelcomePageDriver(window(WelcomePage, named("welcome_page")), prober, automaton)
    yield page_driver
    close_(page_driver)
コード例 #31
0
def export_as_dialog(parent):
    return ExportAsDialogDriver(window(QFileDialog, named('export-as-dialog')), parent.prober, parent.gesture_performer)
コード例 #32
0
def driver(prober, automaton):
    dialog_driver = FileDialogDriver(window(QFileDialog), prober, automaton)
    yield dialog_driver
    close_(dialog_driver)
コード例 #33
0
def select_project_destination_dialog(parent):
    return SelectProjectDestinationDialogDriver(window(QFileDialog, named("select_project_destination_dialog")),
                                                parent.prober, parent.gesture_performer)
コード例 #34
0
def driver(prober, automaton):
    page_driver = MusicianTabDriver(window(MusicianTab), prober, automaton)
    yield page_driver
    close_(page_driver)