summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-03-14 12:56:45 +0100
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-03-14 13:00:59 +0100
commit9415b529a87ed63faa770799655c9506c86ea6b4 (patch)
tree5692e79158ac4af9ff356d5b01b4142dd5b08a6b /tests
parentdb4715246a5ccb28dd427f467cfdd4a34b4e65ff (diff)
downloadtelepathy-glib-9415b529a87ed63faa770799655c9506c86ea6b4.tar.gz
call-channel: pass our factory to TpCallStream objects
Partially fix fdo#76168.
Diffstat (limited to 'tests')
-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