Files
zed/crates/gpui/src
Nathan Sobo 09165c15dc 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
..
2026-03-21 14:37:34 -04:00
2026-04-21 07:25:22 +00:00
2026-05-13 09:57:17 +00:00
2026-05-27 18:17:59 +00:00
2026-05-27 18:17:59 +00:00
2026-03-21 14:37:34 -04:00
2026-03-21 14:37:34 -04:00
2026-05-27 18:17:59 +00:00
2026-02-26 18:36:50 +01:00
2025-11-12 20:27:04 +00:00
2026-04-24 08:31:43 +00:00
2026-05-05 09:35:08 +00:00
2026-04-24 08:31:43 +00:00