Ignore:
Timestamp:
Jun 26, 2008 7:51:01 PM (13 years ago)
Author:
bennylp
Message:

Added various tests with invalid SDP and other SIP parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/test-pjsua/inc_sip.py

    r2033 r2066  
    1 # $Id:$ 
     1# $Id$ 
    22# 
    33from socket import * 
     
    208208        # Initial SDP 
    209209        sdp = "" 
     210        # Extra headers to add to request 
     211        extra_headers = "" 
    210212        # Expected code 
    211213        resp_code = 0 
     
    217219        resp_exclude = [] 
    218220        # Constructor 
    219         def __init__(self, name, pjsua_args, sdp, resp_code, resp_inc=[], resp_exc=[], use_tcp=False): 
     221        def __init__(self, name, pjsua_args, sdp, resp_code,  
     222                     resp_inc=[], resp_exc=[], use_tcp=False, 
     223                     extra_headers=""): 
    220224                self.sdp = sdp 
    221225                self.resp_code = resp_code 
     
    223227                self.resp_exclude = resp_exc 
    224228                self.use_tcp = use_tcp 
     229                self.extra_headers = extra_headers 
    225230                self.inst_param = cfg.InstanceParam("pjsua", pjsua_args) 
    226231 
Note: See TracChangeset for help on using the changeset viewer.