Ignore:
Timestamp:
Jun 15, 2008 7:43:43 PM (16 years ago)
Author:
bennylp
Message:

Added presence pjsua unit tests

File:
1 edited

Legend:

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

    • Property svn:eol-style set to native
    • Property svn:keywords set to id
    r2017 r2025  
    22import imp 
    33import sys 
    4 import inc_param as param 
    54 
    65 
     
    87cfg_file = imp.load_source("cfg_file", sys.argv[2]) 
    98 
    10 # Test title 
    11 title = "Basic pjsua" 
    12  
    13 # Param to spawn pjsua 
    14 p1 = param.Pjsua("pjsua", args=cfg_file.config.arg,  
    15                  echo=cfg_file.config.echo_enabled,  
    16                  trace=cfg_file.config.trace_enabled) 
    17  
    189# Here where it all comes together 
    19 test = param.Test(title, run=[p1]) 
     10test = cfg_file.test_param 
Note: See TracChangeset for help on using the changeset viewer.