From 12902169a6f459b5cb80cc9899d45a1e711e99c7 Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Wed, 19 May 2010 16:13:16 -0400 Subject: Change the compatibility modes from DRAFT19 to RFC5245 --- tests/test-add-remove-stream.c | 2 +- tests/test-fallback.c | 4 ++-- tests/test-fullmode.c | 2 +- tests/test-mainloop.c | 2 +- tests/test-restart.c | 4 ++-- tests/test.c | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) (limited to 'tests') 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); -- cgit v1.2.1