Changeset 117
- Timestamp:
- Jan 8, 2006 11:57:52 PM (19 years ago)
- Location:
- pjproject/trunk/pjsip
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/build/test_pjsip.dsp
r109 r117 126 126 # Begin Source File 127 127 128 SOURCE="..\src\test-pjsip\tsx_uas_test.c" 129 # End Source File 130 # Begin Source File 131 128 132 SOURCE="..\src\test-pjsip\txdata_test.c" 129 133 # End Source File -
pjproject/trunk/pjsip/src/test-pjsip/test.c
r111 r117 132 132 //DO_TEST(transport_loop_test()); 133 133 //DO_TEST(tsx_basic_test()); 134 DO_TEST(tsx_uac_test()); 134 //DO_TEST(tsx_uac_test()); 135 DO_TEST(tsx_uas_test()); 135 136 136 137 on_return: -
pjproject/trunk/pjsip/src/test-pjsip/test.h
r111 r117 35 35 int tsx_basic_test(void); 36 36 int tsx_uac_test(void); 37 int tsx_uas_test(void); 37 38 38 39 /* Transport test helpers (transport_test.c). */ -
pjproject/trunk/pjsip/src/test-pjsip/tsx_uac_test.c
r113 r117 78 78 */ 79 79 80 static char *TEST1_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "- Test1";81 static char *TEST2_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "- Test2";82 static char *TEST3_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "- Test3";83 static char *TEST4_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "- Test4";84 static char *TEST5_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "- Test5";85 static char *TEST6_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "- Test6";86 static char *TEST7_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "- Test7";87 static char *TEST8_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "- Test8";88 static char *TEST9_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "- Test9";80 static char *TEST1_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAC-Test1"; 81 static char *TEST2_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAC-Test2"; 82 static char *TEST3_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAC-Test3"; 83 static char *TEST4_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAC-Test4"; 84 static char *TEST5_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAC-Test5"; 85 static char *TEST6_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAC-Test6"; 86 static char *TEST7_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAC-Test7"; 87 static char *TEST8_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAC-Test8"; 88 static char *TEST9_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAC-Test9"; 89 89 90 90 #define TEST1_ALLOWED_DIFF (150) … … 100 100 { 101 101 NULL, NULL, /* prev and next */ 102 { "Tsx-U ser", 8},/* Name. */102 { "Tsx-UAC-User", 12}, /* Name. */ 103 103 -1, /* Id */ 104 104 PJSIP_MOD_PRIORITY_APPLICATION-1, /* Priority */ … … 121 121 { 122 122 NULL, NULL, /* prev and next */ 123 { " Test", 4},/* Name. */123 { "Msg-Receiver", 12}, /* Name. */ 124 124 -1, /* Id */ 125 125 PJSIP_MOD_PRIORITY_APPLICATION-1, /* Priority */ … … 974 974 } 975 975 976 if (status < 0) {977 pjsip_tx_data_dec_ref(tdata);978 return status;979 }980 981 976 if (test_complete < 0) { 982 977 tsx = pjsip_tsx_layer_find_tsx(&tsx_key, PJ_TRUE);
Note: See TracChangeset
for help on using the changeset viewer.