Commit 8ea3d49a authored by Marc-André Lureau's avatar Marc-André Lureau
Browse files

zb: more cleanup/simplification

parent ca5da70c
......@@ -669,13 +669,7 @@ mod tests {
let name_acquired_signaled = Arc::new(Mutex::new(false));
let name_acquired_signaled2 = Arc::new(Mutex::new(false));
let proxy = Proxy::new(
&conn,
"org.freedesktop.DBus",
"/org/freedesktop/DBus",
"org.freedesktop.DBus",
)?;
let proxy = fdo::AsyncDBusProxy::new(&conn);
let well_known = "org.freedesktop.zbus.async.ProxySignalConnectTest";
let unique_name = conn.unique_name().unwrap().to_string();
let name_owner_changed_id = {
......
......@@ -289,14 +289,7 @@ mod tests {
let owner_change_signaled = Arc::new(Mutex::new(false));
let name_acquired_signaled = Arc::new(Mutex::new(false));
let proxy = Proxy::new(
&conn,
"org.freedesktop.DBus",
"/org/freedesktop/DBus",
"org.freedesktop.DBus",
)
.unwrap();
let proxy = fdo::DBusProxy::new(&conn);
let well_known = "org.freedesktop.zbus.ProxySignalTest";
let unique_name = conn.unique_name().unwrap().to_string();
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment