Changeset 4385 for pjproject/branches/1.x/pjsip/src/test/tsx_uac_test.c
- Timestamp:
- Feb 27, 2013 10:11:59 AM (10 years ago)
- Location:
- pjproject/branches/1.x
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/1.x
- Property svn:mergeinfo changed
/pjproject/trunk merged: 4208,4296
- Property svn:mergeinfo changed
-
pjproject/branches/1.x/pjsip/src/test/tsx_uac_test.c
r3553 r4385 160 160 static void tsx_user_on_tsx_state(pjsip_transaction *tsx, pjsip_event *e) 161 161 { 162 if (pj_str cmp2(&tsx->branch, TEST1_BRANCH_ID)==0) {162 if (pj_stricmp2(&tsx->branch, TEST1_BRANCH_ID)==0) { 163 163 /* 164 164 * Transaction with TEST1_BRANCH_ID should terminate with transaction … … 214 214 } 215 215 216 } else if (pj_str cmp2(&tsx->branch, TEST2_BRANCH_ID)==0) {216 } else if (pj_stricmp2(&tsx->branch, TEST2_BRANCH_ID)==0) { 217 217 /* 218 218 * Transaction with TEST2_BRANCH_ID should terminate with transport error. … … 232 232 } 233 233 234 } else if (pj_str cmp2(&tsx->branch, TEST3_BRANCH_ID)==0) {234 } else if (pj_stricmp2(&tsx->branch, TEST3_BRANCH_ID)==0) { 235 235 /* 236 236 * This test terminates the transaction while resolver is still … … 257 257 } 258 258 259 } else if (pj_str cmp2(&tsx->branch, TEST4_BRANCH_ID)==0) {259 } else if (pj_stricmp2(&tsx->branch, TEST4_BRANCH_ID)==0) { 260 260 /* 261 261 * This test simulates transport failure after several … … 285 285 286 286 287 } else if (pj_str cmp2(&tsx->branch, TEST5_BRANCH_ID)==0) {287 } else if (pj_stricmp2(&tsx->branch, TEST5_BRANCH_ID)==0) { 288 288 /* 289 289 * This test simulates transport failure after several … … 313 313 314 314 315 } else if (pj_str cmp2(&tsx->branch, TEST6_BRANCH_ID)==0) {315 } else if (pj_stricmp2(&tsx->branch, TEST6_BRANCH_ID)==0) { 316 316 /* 317 317 * Successfull non-INVITE transaction. … … 356 356 } 357 357 358 } else if (pj_str cmp2(&tsx->branch, TEST7_BRANCH_ID)==0) {358 } else if (pj_stricmp2(&tsx->branch, TEST7_BRANCH_ID)==0) { 359 359 /* 360 360 * Successfull non-INVITE transaction. … … 409 409 410 410 411 } else if (pj_str cmp2(&tsx->branch, TEST8_BRANCH_ID)==0) {411 } else if (pj_stricmp2(&tsx->branch, TEST8_BRANCH_ID)==0) { 412 412 /* 413 413 * Failed INVITE transaction. … … 469 469 470 470 471 } else if (pj_str cmp2(&tsx->branch, TEST9_BRANCH_ID)==0) {471 } else if (pj_stricmp2(&tsx->branch, TEST9_BRANCH_ID)==0) { 472 472 /* 473 473 * Failed INVITE transaction with provisional response. … … 584 584 static pj_bool_t msg_receiver_on_rx_request(pjsip_rx_data *rdata) 585 585 { 586 if (pj_str cmp2(&rdata->msg_info.via->branch_param, TEST1_BRANCH_ID) == 0) {586 if (pj_stricmp2(&rdata->msg_info.via->branch_param, TEST1_BRANCH_ID) == 0) { 587 587 /* 588 588 * The TEST1_BRANCH_ID test performs the verifications for transaction … … 652 652 653 653 } else 654 if (pj_str cmp2(&rdata->msg_info.via->branch_param, TEST4_BRANCH_ID) == 0) {654 if (pj_stricmp2(&rdata->msg_info.via->branch_param, TEST4_BRANCH_ID) == 0) { 655 655 /* 656 656 * The TEST4_BRANCH_ID test simulates transport failure after several … … 673 673 674 674 } else 675 if (pj_str cmp2(&rdata->msg_info.via->branch_param, TEST5_BRANCH_ID) == 0) {675 if (pj_stricmp2(&rdata->msg_info.via->branch_param, TEST5_BRANCH_ID) == 0) { 676 676 /* 677 677 * The TEST5_BRANCH_ID test simulates user terminating the transaction … … 704 704 705 705 } else 706 if (pj_str cmp2(&rdata->msg_info.via->branch_param, TEST6_BRANCH_ID) == 0) {706 if (pj_stricmp2(&rdata->msg_info.via->branch_param, TEST6_BRANCH_ID) == 0) { 707 707 /* 708 708 * The TEST6_BRANCH_ID test successfull non-INVITE transaction. … … 729 729 730 730 } else 731 if (pj_str cmp2(&rdata->msg_info.via->branch_param, TEST7_BRANCH_ID) == 0) {731 if (pj_stricmp2(&rdata->msg_info.via->branch_param, TEST7_BRANCH_ID) == 0) { 732 732 /* 733 733 * The TEST7_BRANCH_ID test successfull non-INVITE transaction … … 779 779 780 780 } else 781 if (pj_str cmp2(&rdata->msg_info.via->branch_param, TEST8_BRANCH_ID) == 0) {781 if (pj_stricmp2(&rdata->msg_info.via->branch_param, TEST8_BRANCH_ID) == 0) { 782 782 /* 783 783 * The TEST8_BRANCH_ID test failed INVITE transaction. … … 842 842 843 843 } else 844 if (pj_str cmp2(&rdata->msg_info.via->branch_param, TEST9_BRANCH_ID) == 0) {844 if (pj_stricmp2(&rdata->msg_info.via->branch_param, TEST9_BRANCH_ID) == 0) { 845 845 /* 846 846 * The TEST9_BRANCH_ID test failed INVITE transaction with
Note: See TracChangeset
for help on using the changeset viewer.