mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-21 02:01:55 +07:00
771ea1e815
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.
34 lines
597 B
Rust
34 lines
597 B
Rust
#[macro_use]
|
|
extern crate tracing;
|
|
|
|
pub mod animation;
|
|
pub mod backend;
|
|
pub mod cli;
|
|
pub mod cursor;
|
|
#[cfg(feature = "dbus")]
|
|
pub mod dbus;
|
|
pub mod frame_clock;
|
|
pub mod handlers;
|
|
pub mod input;
|
|
pub mod ipc;
|
|
pub mod layer;
|
|
pub mod layout;
|
|
pub mod niri;
|
|
pub mod protocols;
|
|
pub mod render_helpers;
|
|
pub mod rubber_band;
|
|
pub mod ui;
|
|
pub mod utils;
|
|
pub mod window;
|
|
|
|
#[cfg(not(feature = "xdp-gnome-screencast"))]
|
|
pub mod dummy_pw_utils;
|
|
#[cfg(feature = "xdp-gnome-screencast")]
|
|
pub mod pw_utils;
|
|
|
|
#[cfg(not(feature = "xdp-gnome-screencast"))]
|
|
pub use dummy_pw_utils as pw_utils;
|
|
|
|
#[cfg(test)]
|
|
mod tests;
|