messagingappbase/obexmtms/TObexMTM/readme.txt
changeset 0 72b543305e3a
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     1 
       
     2 OBEX MTM Test Harness Setup
       
     3 ---------------------------
       
     4 
       
     5 [1] Build "msvtestutils.dll" from "\common\messaging\test\testutils\base\group".
       
     6     Build "t_obexmtm.exe" and it's support dlls from "\common\messaging\obex\tobexmtm\group".
       
     7 
       
     8     Note, on the emulator platforms it is necessary to build the test version of
       
     9         "mailinit.dll", from "\common\messaging\framework\server\test\base\group".
       
    10         There can be a conflict with the production version of "mailint" and the
       
    11         messaging test harnesses.
       
    12 
       
    13 [2] Copy the following folders to "c:\msgtest\obexsmoke folder"
       
    14 
       
    15     \tobexmtm\mediaobjects
       
    16     \tobexmtm\scripts
       
    17 
       
    18     For the wins + winscw platforms these folders are setup automatically at
       
    19     build time.
       
    20 
       
    21     The "script.txt" file in the "scripts" folder is used to tell "t_obexmtm.exe" which
       
    22     test scripts to actually run. Each line the the "script.txt" refers to a path
       
    23     and a filename of the test to carry out where the path is relative to the 
       
    24     "c:\msgtest\obexsmoke\scripts" folder.
       
    25 
       
    26 [3] The commdb will need updating to use the correct Infrared modem. The second entry
       
    27     (Commdb_id = 2) in the [ModemBearer] table must be changed to use a Infrared Modem driver.
       
    28 
       
    29 [4] To execute the harness, run "t_obexmtm.exe" from the cmd line or the development IDE,
       
    30     a single test can be executed by using the "-i" parameter.
       
    31 
       
    32     To run all tests held in the "script.txt" file:
       
    33         type t_obexmtm
       
    34 
       
    35     To run a single test script, for example "mtm_registering_script.txt" held in the
       
    36     "common" folder:
       
    37         type t_obexmtm -i common\mtm_registering_script.txt
       
    38 
       
    39     The result log for each test can be found in "c:\msglogs" where each log name is of
       
    40     the format "T_OBEXMTM_XXXXXX.PLATFORM.BUILD.LOG", where XXXXXX is the name of test
       
    41     script.
       
    42 
       
    43 [5] Ensure the IR and BT OBEX MTMs are registered before any tests are run. Do this by
       
    44     running the "mtm_registering_script.txt" script,
       
    45         type t_obexmtm -i common\mtm_registering_script.txt
       
    46 
       
    47     Also the MTMs can be un-registered by using the "mtm_unregistering_script.txt" script.