From 7cabc2c13da0d7283936f3ea17fe6d264c0a80ba Mon Sep 17 00:00:00 2001 From: faumaray Date: Tue, 27 Oct 2026 10:10:11 +0300 Subject: [PATCH] docs/ui.md: which of the GPUI tests need a display The Tests bullet said the tests need no display and then named tests/launch_failure.rs, one case of which starts the binary on the test display of VOELIN_X11_TEST_DISPLAY (skipped without it, like the X11 tests of voelin-media and voelin-platform); the other case needs no display at all. Co-Authored-By: Claude Sonnet 5.5 --- docs/ui.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/ui.md b/docs/ui.md index 4c89a4a..22e6ab3 100644 --- a/docs/ui.md +++ b/docs/ui.md @@ -1000,7 +1000,7 @@ crates/voelin-gpui/ the version, the voice connections up, the engine events handled, the seconds up; each part moves by one of the loops. The window's start shows no store: the shell slice opens it with the settings and the bookmarks. -- **Tests** need no display (GPUI's test platform, `#[gpui::test]`, with +- **Tests**: the unit tests need no display (GPUI's test platform, `#[gpui::test]`, with `gpui-pre`'s `test-support` as a dev-dependency beside gpui-kit's own pin: its `test-support` feature would make Cargo lock the unused `gpui-fast` backend and pin taffy 0.15.0): an injected engine event, a real engine's event, the tick @@ -1008,7 +1008,9 @@ crates/voelin-gpui/ gpui-component, follows the window's appearance and the text size; the Slint file's tokens equal the Rust ones (below); the icons and fonts load. `tests/launch_failure.rs` starts the built binary where its window cannot - open (below). `cargo test -p voelin-gpui`. + open (below): one of its two cases needs the test display of + `VOELIN_X11_TEST_DISPLAY` and is skipped without it, as the X11 tests of + the other crates are. `cargo test -p voelin-gpui`. ### Running it