[Telepathy-commits] [telepathy-glib/master] callable-example test: don't assert about the stream directions
Simon McVittie
simon.mcvittie at collabora.co.uk
Mon Mar 16 07:51:29 PDT 2009
At the moment it's unclear what direction each stream should start with
(see mailing list discussion), but NONE (as currently implemented) is
clearly the wrong answer.
---
tests/dbus/callable-example.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/tests/dbus/callable-example.c b/tests/dbus/callable-example.c
index 4c6084b..78e5e9a 100644
--- a/tests/dbus/callable-example.c
+++ b/tests/dbus/callable-example.c
@@ -573,9 +573,11 @@ test_basics (Test *test,
TP_MEDIA_STREAM_TYPE_AUDIO);
g_assert_cmpuint (g_value_get_uint (audio_info->values + 3), ==,
TP_MEDIA_STREAM_STATE_DISCONNECTED);
+#if 0
g_assert_cmpuint (g_value_get_uint (audio_info->values + 4), ==,
TP_MEDIA_STREAM_DIRECTION_NONE);
g_assert_cmpuint (g_value_get_uint (audio_info->values + 5), ==, 0);
+#endif
/* ListStreams again: now we have the audio stream */
@@ -604,9 +606,11 @@ test_basics (Test *test,
TP_MEDIA_STREAM_TYPE_AUDIO);
g_assert_cmpuint (g_value_get_uint (audio_info->values + 3), ==,
TP_MEDIA_STREAM_STATE_DISCONNECTED);
+#if 0
g_assert_cmpuint (g_value_get_uint (audio_info->values + 4), ==,
TP_MEDIA_STREAM_DIRECTION_NONE);
g_assert_cmpuint (g_value_get_uint (audio_info->values + 5), ==, 0);
+#endif
/* There should be one stream event, the addition of the audio stream */
@@ -714,9 +718,11 @@ test_basics (Test *test,
TP_MEDIA_STREAM_TYPE_VIDEO);
g_assert_cmpuint (g_value_get_uint (video_info->values + 3), ==,
TP_MEDIA_STREAM_STATE_DISCONNECTED);
+#if 0
g_assert_cmpuint (g_value_get_uint (video_info->values + 4), ==,
TP_MEDIA_STREAM_DIRECTION_NONE);
g_assert_cmpuint (g_value_get_uint (video_info->values + 5), ==, 0);
+#endif
/* ListStreams again: now we have the video stream too */
--
1.5.6.5
More information about the telepathy-commits
mailing list