Copyright © 2000 Symbian Ltd. All rights reserved.
Test Harness: T_SMS
Component: SMS
Owner: AA
Brief Description: GT Messaging SMS Smoke Test
Detailed Description: Tests
- SMS Client MTM
- SMS utility classes (CSmsHeader, CSmsNumber, CSmsSettings, TSmsUtilities)
- Reading and writing Service Centres on the SIM
- Reading and writing messages to the SIM
- Sending and receiving messages
Input Files REQUIRED:
<DRIVE>:\msgtest\sms\defaults.script
<DRIVE>:\msgtest\sms\smoke_recv.script
<DRIVE>:\msgtest\sms\smoke_enum.script
Intermediate Files Produced: None
Output files produced: <DRIVE>:\msglogs\T_Sms.<PLATFORM>.<VARIANT>.log
Building Instructions:
cd \msg\test\smoke\
bldmake bldfiles
abld test build
Running Instructions:
All Platforms:
1. Build T_DB test harness from COMMDB component:
cd \commdb\group
bldmake bldfiles
abld test build t_db2. Run T_DB and select the your modem (probably GSM Mobile Phone)
3. Build the test utilities:
cd \msg\testutils\group\
bldmake bldfiles
abld test build4. Edit \epoc32\wins\c\msgtest\sms\defaults.script. Replace the telephone number ("Recipients") with your mobile's number. You may also need to change the service centre ("SC") number (the default is for Vodafone UK). For example, change the telephone number like so:
[Defaults]
SC= +447785016005
Encoding= 7
DeliveryReport= DEF
Bearer= NBS
Recipients= +447747065xxx
Recipients= +447747065511
endscript
WINS Only:
1. Run T_DB.exe (if it has not already been run) and select your modem (GSM mobile phone).
2. \epoc32\release\wins\<VARIANT>\T_Sms.exe can be used at the command prompt or executable can be run from Windows Explorer.
Platform other than WINS:
1. Copy \epoc32\release\<PLATFORM>\<VARIANT>\T_Sms.exe onto the other platform (or onto the CF card)
2. Copy \epoc32\release\<PLATFORM>\<VARIANT>\T_DB.exe onto the other platform (or onto the CF card)
3. Copy \epoc32\release\<PLATFORM>\<VARIANT>\MsvTestUtils.DLL into <DRIVE>:\system\libs on the other platform (or onto the CF card)
4. Copy \epoc32\release\<PLATFORM>\<VARIANT>\SmsTestUtils.DLL into <DRIVE>:\system\libs on the other platform (or onto the CF card)
5. Copy \epoc32\wins\c\msgtest\sms\smoke_recv.script, smoke_enum.script and defaults.script into <DRIVE>:\msgtest\sms on the other platform (or onto the CF card)
6. Run T_DB.exe on the other platform (if it has not already been run) and select your modem (GSM mobile phone).
7. Run T_Sms.exe on the other platform.