[farsight2/master] Add test without associate-on-source

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:23:57 PST 2008


---
 tests/check/rtp/conference.c |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/tests/check/rtp/conference.c b/tests/check/rtp/conference.c
index f00f8c2..bc5d9d7 100644
--- a/tests/check/rtp/conference.c
+++ b/tests/check/rtp/conference.c
@@ -975,6 +975,19 @@ GST_END_TEST;
 
 
 
+GST_START_TEST (test_rtpconference_three_way_no_source_assoc)
+{
+  GParameter param = {0};
+
+  param.name = "associate-on-source";
+  g_value_init (&param.value, G_TYPE_BOOLEAN);
+  g_value_set_boolean (&param.value, FALSE);
+
+  nway_test (3, NULL, 1, &param);
+}
+GST_END_TEST;
+
+
 static Suite *
 fsrtpconference_suite (void)
 {
@@ -1034,6 +1047,10 @@ fsrtpconference_suite (void)
   tcase_add_test (tc_chain, test_rtpconference_no_rtcp);
   suite_add_tcase (s, tc_chain);
 
+  tc_chain = tcase_create ("fsrtpconfence_three_way_no_source_assoc");
+  tcase_add_test (tc_chain, test_rtpconference_three_way_no_source_assoc);
+  suite_add_tcase (s, tc_chain);
+
   return s;
 }
 
-- 
1.5.6.5




More information about the farsight-commits mailing list