zed/crates/gpui/src/app
Nathan Sobo 09165c15dc
Some checks are pending
Congratsbot / check-author (push) Waiting to run
Congratsbot / congrats (push) Blocked by required conditions
run_tests / orchestrate (push) Waiting to run
run_tests / check_style (push) Waiting to run
run_tests / clippy_windows (push) Blocked by required conditions
run_tests / clippy_linux (push) Blocked by required conditions
run_tests / clippy_mac (push) Blocked by required conditions
run_tests / clippy_mac_x86_64 (push) Blocked by required conditions
run_tests / run_tests_windows (push) Blocked by required conditions
run_tests / run_tests_linux (push) Blocked by required conditions
run_tests / run_tests_mac (push) Blocked by required conditions
run_tests / miri_scheduler (push) Blocked by required conditions
run_tests / doctests (push) Blocked by required conditions
run_tests / check_workspace_binaries (push) Blocked by required conditions
run_tests / build_visual_tests_binary (push) Blocked by required conditions
run_tests / check_wasm (push) Blocked by required conditions
run_tests / check_dependencies (push) Blocked by required conditions
run_tests / check_docs (push) Blocked by required conditions
run_tests / check_licenses (push) Blocked by required conditions
run_tests / check_scripts (push) Blocked by required conditions
run_tests / check_postgres_and_protobuf_migrations (push) Blocked by required conditions
run_tests / extension_tests (push) Blocked by required conditions
run_tests / tests_pass (push) Blocked by required conditions
deploy_nightly_docs / deploy_docs (push) Has been skipped
gpui: Support prompt_for_paths in TestPlatform (#58139)
Implements the previously-`unimplemented!()`
`TestPlatform::prompt_for_paths` so tests can drive the platform Open
dialog deterministically.

Adds `TestAppContext::simulate_path_prompt_response` and
`did_prompt_for_paths`, mirroring the existing `prompt_for_new_path`
test helpers (`simulate_new_path_selection`). The simulated response
validates that callers don't return multiple paths when
`PathPromptOptions::multiple` is false.

Release Notes:

- N/A
2026-05-30 20:37:39 +00:00
..
async_context.rs Fix window crash (#57203) 2026-05-20 00:05:34 +00:00
context.rs Query for window instead of capturing (#55059) 2026-04-28 08:04:42 +00:00
entity_map.rs Query for window instead of capturing (#55059) 2026-04-28 08:04:42 +00:00
headless_app_context.rs Query for window instead of capturing (#55059) 2026-04-28 08:04:42 +00:00
test_app.rs GPUI updates (#51415) 2026-03-12 22:15:12 +00:00
test_context.rs gpui: Support prompt_for_paths in TestPlatform (#58139) 2026-05-30 20:37:39 +00:00
visual_test_context.rs Query for window instead of capturing (#55059) 2026-04-28 08:04:42 +00:00