diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-12-20 08:49:18 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-12-22 15:19:46 +0300 |
| commit | 771ea1e81557ffe7af9cbdbec161601575b64d81 (patch) | |
| tree | 39cd56c9e6f6620d0985a35f0f16c4dba2f2354a /src/lib.rs | |
| parent | d38bfc4affb27c04530fad98e12cedadcdd6a0f9 (diff) | |
| download | niri-771ea1e81557ffe7af9cbdbec161601575b64d81.tar.gz niri-771ea1e81557ffe7af9cbdbec161601575b64d81.tar.bz2 niri-771ea1e81557ffe7af9cbdbec161601575b64d81.zip | |
Implement client-server test infra and window opening tests
These tests make a real Niri instance and real Wayland clients (via manual
wayland-rs implementation), both on the same event loop local to the test. This
allows testing the full Wayland interaction, including arbitrary event ordering
and delays.
To start off, add a massive powerset test for the settings that influence where
a window may open.
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -28,3 +28,6 @@ pub mod pw_utils; #[cfg(not(feature = "xdp-gnome-screencast"))] pub use dummy_pw_utils as pw_utils; + +#[cfg(test)] +mod tests; |
