summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorYouness Alaoui <youness.alaoui@collabora.co.uk>2010-05-19 16:13:16 -0400
committerYouness Alaoui <youness.alaoui@collabora.co.uk>2010-05-19 16:13:16 -0400
commit12902169a6f459b5cb80cc9899d45a1e711e99c7 (patch)
tree23fb3921fe862cde679ed50f7a04765b9f0c27cd /tests
parente5bdf37121570bf1ff4963269c2d42c29175f4d3 (diff)
downloadlibnice-12902169a6f459b5cb80cc9899d45a1e711e99c7.tar.gz
Change the compatibility modes from DRAFT19 to RFC5245
Diffstat (limited to 'tests')
-rw-r--r--tests/test-add-remove-stream.c2
-rw-r--r--tests/test-fallback.c4
-rw-r--r--tests/test-fullmode.c2
-rw-r--r--tests/test-mainloop.c2
-rw-r--r--tests/test-restart.c4
-rw-r--r--tests/test.c2
6 files changed, 8 insertions, 8 deletions
diff --git a/tests/test-add-remove-stream.c b/tests/test-add-remove-stream.c
index f59cb54..af797c4 100644
--- a/tests/test-add-remove-stream.c
+++ b/tests/test-add-remove-stream.c
@@ -57,7 +57,7 @@ main (void)
if (!nice_address_set_from_string (&addr, "127.0.0.1"))
g_assert_not_reached ();
- agent = nice_agent_new (NULL, NICE_COMPATIBILITY_DRAFT19);
+ agent = nice_agent_new (NULL, NICE_COMPATIBILITY_RFC5245);
nice_agent_add_local_address (agent, &addr);
g_assert (nice_agent_add_stream (agent, 1) == 1);
diff --git a/tests/test-fallback.c b/tests/test-fallback.c
index c68f1b4..e7437b6 100644
--- a/tests/test-fallback.c
+++ b/tests/test-fallback.c
@@ -493,8 +493,8 @@ int main (void)
*/
/* step: create the agents L and R */
- lagent = nice_agent_new (g_main_loop_get_context (global_mainloop), NICE_COMPATIBILITY_DRAFT19);
- ragent = nice_agent_new (g_main_loop_get_context (global_mainloop), NICE_COMPATIBILITY_DRAFT19);
+ lagent = nice_agent_new (g_main_loop_get_context (global_mainloop), NICE_COMPATIBILITY_RFC5245);
+ ragent = nice_agent_new (g_main_loop_get_context (global_mainloop), NICE_COMPATIBILITY_RFC5245);
diff --git a/tests/test-fullmode.c b/tests/test-fullmode.c
index 4816e37..2e9f84c 100644
--- a/tests/test-fullmode.c
+++ b/tests/test-fullmode.c
@@ -73,7 +73,7 @@
#endif
#else
-#define NICE_COMPATIBILITY NICE_COMPATIBILITY_DRAFT19
+#define NICE_COMPATIBILITY NICE_COMPATIBILITY_RFC5245
#if USE_LOOPBACK
#define USE_TURN_SERVER_ORG 1
#else
diff --git a/tests/test-mainloop.c b/tests/test-mainloop.c
index fdc9ef8..9c3852a 100644
--- a/tests/test-mainloop.c
+++ b/tests/test-mainloop.c
@@ -76,7 +76,7 @@ main (void)
g_thread_init (NULL);
loop = g_main_loop_new (NULL, FALSE);
- agent = nice_agent_new (g_main_loop_get_context (loop), NICE_COMPATIBILITY_DRAFT19);
+ agent = nice_agent_new (g_main_loop_get_context (loop), NICE_COMPATIBILITY_RFC5245);
nice_address_set_ipv4 (&addr, 0x7f000001);
nice_agent_add_local_address (agent, &addr);
stream = nice_agent_add_stream (agent, 1);
diff --git a/tests/test-restart.c b/tests/test-restart.c
index 4886720..fce7f2a 100644
--- a/tests/test-restart.c
+++ b/tests/test-restart.c
@@ -404,8 +404,8 @@ int main (void)
/* step: create the agents L and R */
- lagent = nice_agent_new (g_main_loop_get_context (global_mainloop), NICE_COMPATIBILITY_DRAFT19);
- ragent = nice_agent_new (g_main_loop_get_context (global_mainloop), NICE_COMPATIBILITY_DRAFT19);
+ lagent = nice_agent_new (g_main_loop_get_context (global_mainloop), NICE_COMPATIBILITY_RFC5245);
+ ragent = nice_agent_new (g_main_loop_get_context (global_mainloop), NICE_COMPATIBILITY_RFC5245);
/* step: add a timer to catch state changes triggered by signals */
diff --git a/tests/test.c b/tests/test.c
index a08ad54..a76b1a4 100644
--- a/tests/test.c
+++ b/tests/test.c
@@ -62,7 +62,7 @@ main (void)
g_assert (nice_address_set_from_string (&addr_remote, "127.0.0.1"));
nice_address_set_port (&addr_remote, 2345);
- agent = nice_agent_new ( NULL, NICE_COMPATIBILITY_DRAFT19);
+ agent = nice_agent_new ( NULL, NICE_COMPATIBILITY_RFC5245);
g_assert (agent->local_addresses == NULL);