summaryrefslogtreecommitdiff
path: root/pjsip/src/test-pjsip/tsx_uac_test.c
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-01-08 23:57:52 +0000
committerBenny Prijono <bennylp@teluu.com>2006-01-08 23:57:52 +0000
commit6207fdc832c448e6ef6359c97c186abcd3395bf5 (patch)
treec484ec4c9cbbf84ba1d19b84d03b3d62e5213341 /pjsip/src/test-pjsip/tsx_uac_test.c
parent634599d04d02252fd0457a19a06e8965bcdaed04 (diff)
Start working on UAS test functions
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@117 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src/test-pjsip/tsx_uac_test.c')
-rw-r--r--pjsip/src/test-pjsip/tsx_uac_test.c27
1 files changed, 11 insertions, 16 deletions
diff --git a/pjsip/src/test-pjsip/tsx_uac_test.c b/pjsip/src/test-pjsip/tsx_uac_test.c
index 7a5e6bfa..182269cd 100644
--- a/pjsip/src/test-pjsip/tsx_uac_test.c
+++ b/pjsip/src/test-pjsip/tsx_uac_test.c
@@ -77,15 +77,15 @@
*****************************************************************************
*/
-static char *TEST1_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-Test1";
-static char *TEST2_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-Test2";
-static char *TEST3_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-Test3";
-static char *TEST4_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-Test4";
-static char *TEST5_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-Test5";
-static char *TEST6_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-Test6";
-static char *TEST7_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-Test7";
-static char *TEST8_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-Test8";
-static char *TEST9_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-Test9";
+static char *TEST1_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAC-Test1";
+static char *TEST2_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAC-Test2";
+static char *TEST3_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAC-Test3";
+static char *TEST4_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAC-Test4";
+static char *TEST5_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAC-Test5";
+static char *TEST6_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAC-Test6";
+static char *TEST7_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAC-Test7";
+static char *TEST8_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAC-Test8";
+static char *TEST9_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAC-Test9";
#define TEST1_ALLOWED_DIFF (150)
#define TEST4_RETRANSMIT_CNT 3
@@ -99,7 +99,7 @@ static pj_bool_t msg_receiver_on_rx_request(pjsip_rx_data *rdata);
static pjsip_module tsx_user =
{
NULL, NULL, /* prev and next */
- { "Tsx-User", 8}, /* Name. */
+ { "Tsx-UAC-User", 12}, /* Name. */
-1, /* Id */
PJSIP_MOD_PRIORITY_APPLICATION-1, /* Priority */
NULL, /* User data. */
@@ -120,7 +120,7 @@ static pjsip_module tsx_user =
static pjsip_module msg_receiver =
{
NULL, NULL, /* prev and next */
- { "Test", 4}, /* Name. */
+ { "Msg-Receiver", 12}, /* Name. */
-1, /* Id */
PJSIP_MOD_PRIORITY_APPLICATION-1, /* Priority */
NULL, /* User data. */
@@ -973,11 +973,6 @@ static int perform_tsx_test(int dummy, char *target_uri, char *from_uri,
}
}
- if (status < 0) {
- pjsip_tx_data_dec_ref(tdata);
- return status;
- }
-
if (test_complete < 0) {
tsx = pjsip_tsx_layer_find_tsx(&tsx_key, PJ_TRUE);
if (tsx) {