Commit 7baedfbd authored by Pekka Pessi's avatar Pekka Pessi
Browse files

torture_sip.c: removed tests for deprecated q-parameter of Accept-Contact header.

darcs-hash:20060919163042-65a35-ff1fc038cc5d3156e1516babea79a65340e940a5.gz
parent bff7962c
......@@ -2601,7 +2601,7 @@ int test_caller_prefs(void)
TEST_S(ac->cp_params[4], "q=1.0");
TEST(ac->cp_params[5], NULL);
TEST_S(ac->cp_q, "1.0");
/* TEST_S(ac->cp_q, "1.0"); */
TEST(ac->cp_require, 1);
TEST(ac->cp_explicit, 1);
......@@ -2657,12 +2657,12 @@ int test_caller_prefs(void)
TEST_S(m1->m_params[0], "+audio"); TEST(m1->m_params[1], NULL);
TEST_1(ac = sip_accept_contact_make(home, "*;q=0.9;require;explicit"));
TEST_S(ac->cp_q, "0.9");
/* TEST_S(ac->cp_q, "0.9"); */
TEST_1(ac->cp_require);
TEST_1(ac->cp_explicit);
TEST(msg_header_remove_param(ac->cp_common, "Q"), 1);
TEST(ac->cp_q, NULL);
/* TEST(ac->cp_q, NULL); */
TEST(msg_header_remove_param(ac->cp_common, "require="), 1);
TEST(ac->cp_require, 0);
TEST(msg_header_remove_param(ac->cp_common, "require="), 0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment