summaryrefslogtreecommitdiff
path: root/tests/test-nomination.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-nomination.c')
-rw-r--r--tests/test-nomination.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test-nomination.c b/tests/test-nomination.c
index 44764e3..72a95a7 100644
--- a/tests/test-nomination.c
+++ b/tests/test-nomination.c
@@ -77,7 +77,7 @@ static void cb_component_state_changed (NiceAgent *agent, guint stream_id, guint
global_components_ready++;
else if (state == NICE_COMPONENT_STATE_CONNECTED && ready_to_connected)
global_components_ready--;
- g_assert (state != NICE_COMPONENT_STATE_FAILED);
+ g_assert_true (state != NICE_COMPONENT_STATE_FAILED);
g_debug ("test-nomination: checks READY %u.", global_components_ready);
}
@@ -186,8 +186,8 @@ run_test(NiceNominationMode l_nomination_mode,
g_assert_cmpuint (rs_id, >, 0);
/* Gather candidates and test nice_agent_set_port_range */
- g_assert (nice_agent_gather_candidates (lagent, ls_id) == TRUE);
- g_assert (nice_agent_gather_candidates (ragent, rs_id) == TRUE);
+ g_assert_true (nice_agent_gather_candidates (lagent, ls_id) == TRUE);
+ g_assert_true (nice_agent_gather_candidates (ragent, rs_id) == TRUE);
nice_agent_attach_recv (lagent, ls_id, NICE_COMPONENT_TYPE_RTP,
g_main_context_default (), cb_nice_recv, GUINT_TO_POINTER (1));
@@ -197,10 +197,10 @@ run_test(NiceNominationMode l_nomination_mode,
g_debug ("test-nomination: Added streams, running context until 'candidate-gathering-done'...");
while (!global_lagent_gathering_done)
g_main_context_iteration (NULL, TRUE);
- g_assert (global_lagent_gathering_done == TRUE);
+ g_assert_true (global_lagent_gathering_done == TRUE);
while (!global_ragent_gathering_done)
g_main_context_iteration (NULL, TRUE);
- g_assert (global_ragent_gathering_done == TRUE);
+ g_assert_true (global_ragent_gathering_done == TRUE);
set_credentials (lagent, ls_id, ragent, rs_id);