(case_setup_dap)
| 5837 | |
| 5838 | |
| 5839 | def test_gui_event_loop_custom(case_setup_dap): |
| 5840 | with case_setup_dap.test_file("_debugger_case_gui_event_loop.py") as writer: |
| 5841 | json_facade = JsonFacade(writer) |
| 5842 | json_facade.write_launch(guiEventLoop="__main__.LoopHolder.gui_loop", redirectOutput=True) |
| 5843 | break_line = writer.get_line_index_with_content("break here") |
| 5844 | json_facade.write_set_breakpoints(break_line) |
| 5845 | |
| 5846 | json_facade.write_make_initial_run() |
| 5847 | json_facade.wait_for_thread_stopped() |
| 5848 | |
| 5849 | json_facade.wait_for_json_message(OutputEvent, lambda msg: msg.body.category == "stdout" and "gui_loop() called" in msg.body.output) |
| 5850 | |
| 5851 | json_facade.write_continue() |
| 5852 | json_facade.wait_for_terminated() |
| 5853 | writer.finished_ok = True |
| 5854 | |
| 5855 | |
| 5856 | def test_gui_event_loop_qt5(case_setup_dap): |
nothing calls this directly
no test coverage detected