summaryrefslogtreecommitdiff
path: root/tests/dbus/call-channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dbus/call-channel.c')
-rw-r--r--tests/dbus/call-channel.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/dbus/call-channel.c b/tests/dbus/call-channel.c
index 1269f2bdd..89e1ae59c 100644
--- a/tests/dbus/call-channel.c
+++ b/tests/dbus/call-channel.c
@@ -577,6 +577,8 @@ test_basics (Test *test,
tp_channel_get_target_contact (test->chan));
g_assert_cmpuint (GPOINTER_TO_UINT (v), ==,
TP_SENDING_STATE_PENDING_SEND);
+ g_assert (tp_proxy_get_factory (audio_stream) ==
+ tp_proxy_get_factory (test->call_chan));
g_assert_cmpuint (tp_call_stream_get_local_sending_state (audio_stream),
==, TP_SENDING_STATE_SENDING);
@@ -697,6 +699,8 @@ test_basics (Test *test,
g_assert_cmpuint (g_hash_table_size (remote_members), ==, 1);
v = g_hash_table_lookup (remote_members,
tp_channel_get_target_contact (test->chan));
+ g_assert (tp_proxy_get_factory (video_stream) ==
+ tp_proxy_get_factory (test->call_chan));
/* After a moment, the video stream becomes connected, and the remote user
* accepts our proposed direction change. These might happen in either