mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
test: remove infrastructure-dependent integration suites (#1573)
This commit is contained in:
1 parent
f88b0f69b2
commit
10fc79ab37
199 files changed
+688
-46963
No files matched your search
@@ -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