diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2015-09-30 17:59:04 +0100 |
---|---|---|
committer | Philip Withnall <philip.withnall@collabora.co.uk> | 2015-10-01 09:21:19 +0100 |
commit | da70716162b2085ca4db6e7efd446fcda7bd488d (patch) | |
tree | 08ad91556b7489116521f41f9ba7a6c201938c40 /tests | |
parent | 66e47aa39f9cd3666e610fab78caa0c7d8f9c410 (diff) | |
download | libnice-da70716162b2085ca4db6e7efd446fcda7bd488d.tar.gz |
tests: Update expected priority values in test-priority
This is a follow up to T3324, to update the test case to match the new
values generated.
Bug: https://phabricator.freedesktop.org/T3324
Reviewed-by: Olivier CrĂȘte <olivier.crete@collabora.com>
Differential Revision: https://phabricator.freedesktop.org/D301
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-priority.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test-priority.c b/tests/test-priority.c index 4b5a0ea..5d8a5e3 100644 --- a/tests/test-priority.c +++ b/tests/test-priority.c @@ -61,17 +61,17 @@ main (void) g_assert_cmpuint (nice_candidate_ice_priority (candidate, TRUE, FALSE), ==, 0x3C0001FF); /* Host tcp-active unreliable */ candidate->transport = NICE_CANDIDATE_TRANSPORT_TCP_ACTIVE; - g_assert_cmpuint (nice_candidate_ice_priority (candidate, FALSE, FALSE), ==, 0x3CC001FF); + g_assert_cmpuint (nice_candidate_ice_priority (candidate, FALSE, FALSE), ==, 0x3CC003FF); /* Host tcp-active reliable */ candidate->transport = NICE_CANDIDATE_TRANSPORT_TCP_ACTIVE; /* Host tcp-active reliable */ - g_assert_cmpuint (nice_candidate_ice_priority (candidate, TRUE, FALSE), ==, 0x78C001FF); + g_assert_cmpuint (nice_candidate_ice_priority (candidate, TRUE, FALSE), ==, 0x78C003FF); /* srv-reflexive tcp-active reliable */ candidate->type = NICE_CANDIDATE_TYPE_SERVER_REFLEXIVE; candidate->transport = NICE_CANDIDATE_TRANSPORT_TCP_ACTIVE; - g_assert_cmpuint (nice_candidate_ice_priority (candidate, TRUE, FALSE), ==, 0x648001FF); + g_assert_cmpuint (nice_candidate_ice_priority (candidate, TRUE, FALSE), ==, 0x648003FF); /* nat-assisted srv-reflexive tcp-active reliable */ - g_assert_cmpuint (nice_candidate_ice_priority (candidate, TRUE, TRUE), ==, 0x698001FF); + g_assert_cmpuint (nice_candidate_ice_priority (candidate, TRUE, TRUE), ==, 0x698003FF); nice_candidate_free (candidate); /* test 2 */ |