summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/dbus/account-channel-request.c1
-rw-r--r--tests/dbus/call-cancellation.c4
-rw-r--r--tests/dbus/call-channel.c1
-rw-r--r--tests/dbus/client.c1
-rw-r--r--tests/dbus/disconnection.c4
-rw-r--r--tests/dbus/properties.c1
-rw-r--r--tests/dbus/proxy-preparation.c1
-rw-r--r--tests/dbus/simple-approver.c1
-rw-r--r--tests/dbus/simple-handler.c1
-rw-r--r--tests/dbus/simple-observer.c1
-rw-r--r--tests/lib/simple-channel-request.c1
11 files changed, 0 insertions, 17 deletions
diff --git a/tests/dbus/account-channel-request.c b/tests/dbus/account-channel-request.c
index abca8facb..a6bd45cc3 100644
--- a/tests/dbus/account-channel-request.c
+++ b/tests/dbus/account-channel-request.c
@@ -853,7 +853,6 @@ test_handle_delegated (Test *test,
g_assert (TP_IS_BASE_CLIENT (base_client));
client = tp_tests_object_new_static_class (TP_TYPE_CLIENT,
- "dbus-daemon", tp_base_client_get_dbus_daemon (base_client),
"bus-name", tp_base_client_get_bus_name (base_client),
"object-path", tp_base_client_get_object_path (base_client),
"factory", tp_proxy_get_factory (test->account),
diff --git a/tests/dbus/call-cancellation.c b/tests/dbus/call-cancellation.c
index 3cd107309..55a529fa1 100644
--- a/tests/dbus/call-cancellation.c
+++ b/tests/dbus/call-cancellation.c
@@ -241,17 +241,13 @@ new_proxy (Fixture *f,
int which)
{
TpClientFactory *local_factory;
- TpDBusDaemon *local_dbus_daemon;
if (which == TEST_F)
local_factory = f->private_factory;
else
local_factory = f->factory;
- local_dbus_daemon = tp_client_factory_get_dbus_daemon (local_factory);
-
return tp_tests_object_new_static_class (TP_TYPE_PROXY,
- "dbus-daemon", local_dbus_daemon,
"bus-name", tp_dbus_daemon_get_unique_name (
tp_client_factory_get_dbus_daemon (f->factory)),
"object-path", "/",
diff --git a/tests/dbus/call-channel.c b/tests/dbus/call-channel.c
index 9af965f09..114f30646 100644
--- a/tests/dbus/call-channel.c
+++ b/tests/dbus/call-channel.c
@@ -387,7 +387,6 @@ run_until_active_get_all_cb (TpProxy *proxy,
TpProxy *endpoint;
endpoint = g_object_new (TP_TYPE_PROXY,
- "dbus-daemon", tp_proxy_get_dbus_daemon (proxy),
"bus-name", tp_proxy_get_bus_name (proxy),
"object-path", object_path,
"factory", tp_proxy_get_factory (proxy),
diff --git a/tests/dbus/client.c b/tests/dbus/client.c
index 4b4b4aa0f..ba25b913b 100644
--- a/tests/dbus/client.c
+++ b/tests/dbus/client.c
@@ -59,7 +59,6 @@ test_new (Test *test,
gconstpointer data G_GNUC_UNUSED)
{
test->client = tp_tests_object_new_static_class (TP_TYPE_CLIENT,
- "dbus-daemon", tp_client_factory_get_dbus_daemon (test->factory),
"object-path", "/im/telepathy/v1/Client/whatever",
"bus-name", "im.telepathy.v1.Client.whatever",
"factory", test->factory,
diff --git a/tests/dbus/disconnection.c b/tests/dbus/disconnection.c
index ce1fcbaf4..4e3c2dfaf 100644
--- a/tests/dbus/disconnection.c
+++ b/tests/dbus/disconnection.c
@@ -198,17 +198,13 @@ new_proxy (Fixture *f,
int which)
{
TpClientFactory *local_factory;
- TpDBusDaemon *local_dbus_daemon;
if (which == TEST_F)
local_factory = f->private_factory;
else
local_factory = f->factory;
- local_dbus_daemon = tp_client_factory_get_dbus_daemon (local_factory);
-
return tp_tests_object_new_static_class (TP_TYPE_PROXY,
- "dbus-daemon", local_dbus_daemon,
"bus-name", tp_dbus_daemon_get_unique_name (
tp_client_factory_get_dbus_daemon (f->factory)),
"object-path", "/",
diff --git a/tests/dbus/properties.c b/tests/dbus/properties.c
index d055bee45..d8bb1ac5c 100644
--- a/tests/dbus/properties.c
+++ b/tests/dbus/properties.c
@@ -241,7 +241,6 @@ main (int argc, char **argv)
/* Open a D-Bus connection to myself */
ctx.proxy = TP_PROXY (tp_tests_object_new_static_class (TP_TYPE_PROXY,
- "dbus-daemon", dbus_daemon,
"bus-name", tp_dbus_daemon_get_unique_name (dbus_daemon),
"object-path", "/",
"factory", factory,
diff --git a/tests/dbus/proxy-preparation.c b/tests/dbus/proxy-preparation.c
index ed54b7611..0ede94f96 100644
--- a/tests/dbus/proxy-preparation.c
+++ b/tests/dbus/proxy-preparation.c
@@ -45,7 +45,6 @@ create_my_conn (Test *test)
factory = tp_client_factory_new (test->dbus);
test->my_conn = g_object_new (TP_TESTS_TYPE_MY_CONN_PROXY,
"factory", factory,
- "dbus-daemon", test->dbus,
"bus-name", tp_proxy_get_bus_name (test->connection),
"object-path", tp_proxy_get_object_path (test->connection),
NULL);
diff --git a/tests/dbus/simple-approver.c b/tests/dbus/simple-approver.c
index 1125a101b..7a3fcc732 100644
--- a/tests/dbus/simple-approver.c
+++ b/tests/dbus/simple-approver.c
@@ -184,7 +184,6 @@ create_simple_approver (Test *test,
/* Create client-side Client object */
test->client = tp_tests_object_new_static_class (TP_TYPE_CLIENT,
- "dbus-daemon", test->dbus,
"bus-name", tp_base_client_get_bus_name (test->simple_approver),
"object-path", tp_base_client_get_object_path (test->simple_approver),
"factory", test->factory,
diff --git a/tests/dbus/simple-handler.c b/tests/dbus/simple-handler.c
index 66daaaaf3..5d435737a 100644
--- a/tests/dbus/simple-handler.c
+++ b/tests/dbus/simple-handler.c
@@ -185,7 +185,6 @@ create_simple_handler (Test *test,
/* Create client-side Client object */
test->client = tp_tests_object_new_static_class (TP_TYPE_CLIENT,
- "dbus-daemon", test->dbus,
"bus-name", tp_base_client_get_bus_name (test->simple_handler),
"object-path", tp_base_client_get_object_path (test->simple_handler),
"factory", test->factory,
diff --git a/tests/dbus/simple-observer.c b/tests/dbus/simple-observer.c
index f9251e466..1b9a31d86 100644
--- a/tests/dbus/simple-observer.c
+++ b/tests/dbus/simple-observer.c
@@ -158,7 +158,6 @@ create_simple_observer (Test *test,
/* Create client-side Client object */
test->client = tp_tests_object_new_static_class (TP_TYPE_CLIENT,
- "dbus-daemon", test->dbus,
"bus-name", tp_base_client_get_bus_name (test->simple_observer),
"object-path", tp_base_client_get_object_path (test->simple_observer),
"factory", test->factory,
diff --git a/tests/lib/simple-channel-request.c b/tests/lib/simple-channel-request.c
index 71c0d8f24..e3d225bac 100644
--- a/tests/lib/simple-channel-request.c
+++ b/tests/lib/simple-channel-request.c
@@ -206,7 +206,6 @@ tp_tests_simple_channel_request_proceed (TpSvcChannelRequest *request,
g_assert (factory != NULL);
client = tp_tests_object_new_static_class (TP_TYPE_CLIENT,
- "dbus-daemon", tp_client_factory_get_dbus_daemon (factory),
"bus-name", self->priv->preferred_handler,
"object-path", client_path,
"factory", factory,