Changeset 563 for pjproject/trunk/pjsip/src/test-pjsip/test.h
- Timestamp:
- Jun 28, 2006 4:46:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/test-pjsip/test.h
r555 r563 32 32 #define INCLUDE_TSX_GROUP 1 33 33 34 /* 35 * Include tests that normally would fail under certain gcc 36 * optimization levels. 37 */ 38 #ifndef INCLUDE_GCC_TEST 39 # define INCLUDE_GCC_TEST 0 40 #endif 34 41 35 42 … … 37 44 #define INCLUDE_MSG_TEST INCLUDE_MESSAGING_GROUP 38 45 #define INCLUDE_TXDATA_TEST INCLUDE_MESSAGING_GROUP 46 #define INCLUDE_TSX_BENCH INCLUDE_MESSAGING_GROUP 39 47 #define INCLUDE_UDP_TEST INCLUDE_TRANSPORT_GROUP 40 48 #define INCLUDE_LOOP_TEST INCLUDE_TRANSPORT_GROUP 49 #define INCLUDE_TCP_TEST INCLUDE_TRANSPORT_GROUP 41 50 #define INCLUDE_TSX_TEST INCLUDE_TSX_GROUP 42 51 … … 48 57 int msg_err_test(void); 49 58 int txdata_test(void); 59 int tsx_bench(void); 50 60 int transport_udp_test(void); 51 61 int transport_loop_test(void); 52 int tsx_basic_test(void); 53 int tsx_uac_test(void); 54 int tsx_uas_test(void); 62 int transport_tcp_test(void); 63 64 struct tsx_test_param 65 { 66 int type; 67 int port; 68 char *tp_type; 69 }; 70 71 int tsx_basic_test(struct tsx_test_param *param); 72 int tsx_uac_test(struct tsx_test_param *param); 73 int tsx_uas_test(struct tsx_test_param *param); 55 74 56 75 /* Transport test helpers (transport_test.c). */ … … 58 77 int transport_send_recv_test( pjsip_transport_type_e tp_type, 59 78 pjsip_transport *ref_tp, 60 char *target_url ); 79 char *target_url, 80 int *p_usec_rtt); 61 81 int transport_rt_test( pjsip_transport_type_e tp_type, 62 82 pjsip_transport *ref_tp, … … 69 89 /* Test utilities. */ 70 90 void app_perror(const char *msg, pj_status_t status); 71 int init_msg_logger(void);72 int msg_logger_set_enabled(pj_bool_t enabled);91 int init_msg_logger(void); 92 int msg_logger_set_enabled(pj_bool_t enabled); 73 93 void flush_events(unsigned duration); 94 95 96 void report_ival(const char *name, int value, const char *valname, const char *desc); 97 void report_sval(const char *name, const char* value, const char *valname, const char *desc); 98 74 99 75 100 /* Settings. */
Note: See TracChangeset
for help on using the changeset viewer.