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.
This commit is contained in:
Ivan Molodetskikh
2024-12-20 08:49:18 +03:00
parent d38bfc4aff
commit 771ea1e815
1223 changed files with 18132 additions and 1 deletions
+3
View File
@@ -107,9 +107,12 @@ features = [
[dev-dependencies]
approx = "0.5.1"
calloop-wayland-source = "0.4.0"
insta.workspace = true
proptest = "1.5.0"
proptest-derive = { version = "0.5.0", features = ["boxed_union"] }
rayon = "1.10.0"
wayland-client = "0.31.7"
xshell = "0.2.6"
[features]