mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-07 19:22:14 +09:00
test: remove infrastructure-dependent integration suites (#1573)
This commit is contained in:
@@ -289,34 +289,6 @@ mod tests {
|
||||
assert!(!is_routable_media_class(""));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn daemon_unreachable_returns_none_from_open() {
|
||||
let bridge = PipeWireBridge::open();
|
||||
if let Some(b) = bridge {
|
||||
let _ = b.inventory();
|
||||
b.release();
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn direct_open_returns_none_or_cleans_up() {
|
||||
let direct = PipeWireDirectCapture::open();
|
||||
if let Some(d) = direct {
|
||||
d.stop();
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn integration_smoke_apply_release_cycle_is_safe() {
|
||||
let Some(bridge) = PipeWireBridge::open() else {
|
||||
return;
|
||||
};
|
||||
bridge.apply(RoutingRule::default());
|
||||
std::thread::sleep(Duration::from_millis(20));
|
||||
bridge.release();
|
||||
let _ = bridge.inventory();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn virtual_sink_props_match_legacy_contract() {
|
||||
let props = build_virtual_sink_props();
|
||||
|
||||
Reference in New Issue
Block a user