smsprotocols/smsstack/wapprot/test/Te_wapprot/Te_WapProt.script
changeset 0 3553901f7fa8
child 14 7ef16719d8cb
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Te_WapProtSuite.script
       
    15 // 
       
    16 //
       
    17 
       
    18 ced -i z:\TestData\configs\WapProtSuite\WapProtSuite.cfg ced.log
       
    19 
       
    20 LOAD_SUITE TE_WapProt
       
    21 
       
    22 //delete any existing config.txt
       
    23 RUN_UTILS  MakeReadWrite c:\config.txt
       
    24 RUN_UTILS  DeleteFile c:\config.txt
       
    25 
       
    26 //copy our config file
       
    27 RUN_UTILS copyfile z:\testdata\configs\wapprotsuite\config.txt c:\config.txt
       
    28 RUN_UTILS  MakeReadWrite c:\config.txt
       
    29 
       
    30 START_TESTCASE SMS-SMSStack-NA-8000
       
    31 //!@SYMTestCaseID SMS-SMSStack-NA-8000
       
    32 //!@SYMREQ REQ0000
       
    33 //!@SYMTestCaseDesc IoctlStep_1
       
    34 //!@SYMTestPriority critical
       
    35 //!@SYMTestActions IoctlStep 1
       
    36 //!@SYMTestExpectedResults Pass
       
    37 //!@SYMTestType CT
       
    38 RUN_TEST_STEP 100 TE_WapProt  IoctlStep_1 z:\testdata\configs\WapProtSuite\WapProtSuite.ini TestStep1
       
    39 
       
    40 END_TESTCASE SMS-SMSStack-NA-8000
       
    41 
       
    42 START_TESTCASE SMS-SMSStack-NA-8001
       
    43 //!@SYMTestCaseID SMS-SMSStack-NA-8001
       
    44 //!@SYMREQ REQ0000
       
    45 //!@SYMTestCaseDesc IoctlStep_2
       
    46 //!@SYMTestPriority critical
       
    47 //!@SYMTestActions IoctlStep 2
       
    48 //!@SYMTestExpectedResults Pass
       
    49 //!@SYMTestType CT
       
    50 RUN_TEST_STEP 100 TE_WapProt  IoctlStep_2 z:\testdata\configs\WapProtSuite\WapProtSuite.ini TestStep2
       
    51 
       
    52 END_TESTCASE SMS-SMSStack-NA-8001
       
    53 
       
    54 START_TESTCASE SMS-SMSStack-NA-8002
       
    55 //!@SYMTestCaseID SMS-SMSStack-NA-8002
       
    56 //!@SYMREQ REQ0000
       
    57 //!@SYMTestCaseDesc IoctlStep_3
       
    58 //!@SYMTestPriority critical
       
    59 //!@SYMTestActions IoctlStep 3
       
    60 //!@SYMTestExpectedResults Pass
       
    61 //!@SYMTestType CT
       
    62 RUN_TEST_STEP 100 TE_WapProt  IoctlStep_3 z:\testdata\configs\WapProtSuite\WapProtSuite.ini TestStep3
       
    63 
       
    64 END_TESTCASE SMS-SMSStack-NA-8002
       
    65 
       
    66 START_TESTCASE SMS-SMSStack-NA-8003
       
    67 //!@SYMTestCaseID SMS-SMSStack-NA-8003
       
    68 //!@SYMREQ REQ0000
       
    69 //!@SYMTestCaseDesc IoctlStep_4
       
    70 //!@SYMTestPriority critical
       
    71 //!@SYMTestActions IoctlStep 4
       
    72 //!@SYMTestExpectedResults Pass
       
    73 //!@SYMTestType CT
       
    74 RUN_TEST_STEP 100 TE_WapProt  IoctlStep_4 z:\testdata\configs\WapProtSuite\WapProtSuite.ini TestStep4
       
    75 
       
    76 END_TESTCASE SMS-SMSStack-NA-8003
       
    77 
       
    78 START_TESTCASE SMS-SMSStack-NA-8004
       
    79 //!@SYMTestCaseID SMS-SMSStack-NA-8004
       
    80 //!@SYMREQ REQ0000
       
    81 //!@SYMTestCaseDesc IoctlStep_5
       
    82 //!@SYMTestPriority critical
       
    83 //!@SYMTestActions IoctlStep 5
       
    84 //!@SYMTestExpectedResults Pass
       
    85 //!@SYMTestType CT
       
    86 RUN_TEST_STEP 400 TE_WapProt  IoctlStep_5 z:\testdata\configs\WapProtSuite\WapProtSuite.ini TestStep5
       
    87 
       
    88 END_TESTCASE SMS-SMSStack-NA-8004
       
    89 
       
    90 START_TESTCASE SMS-SMSStack-NA-8005
       
    91 //!@SYMTestCaseID SMS-SMSStack-NA-8005
       
    92 //!@SYMREQ REQ0000
       
    93 //!@SYMTestCaseDesc IoctlStep_6
       
    94 //!@SYMTestPriority critical
       
    95 //!@SYMTestActions IoctlStep 6
       
    96 //!@SYMTestExpectedResults Pass
       
    97 //!@SYMTestType CT
       
    98 RUN_TEST_STEP 100 TE_WapProt  IoctlStep_6 z:\testdata\configs\WapProtSuite\WapProtSuite.ini TestStep6
       
    99 
       
   100 END_TESTCASE SMS-SMSStack-NA-8005
       
   101 
       
   102 START_TESTCASE SMS-SMSStack-NA-8006
       
   103 //!@SYMTestCaseID SMS-SMSStack-NA-8006
       
   104 //!@SYMREQ REQ0000
       
   105 //!@SYMTestCaseDesc IoctlStep_7
       
   106 //!@SYMTestPriority critical
       
   107 //!@SYMTestActions IoctlStep_7
       
   108 //!@SYMTestExpectedResults Pass
       
   109 //!@SYMTestType CT
       
   110 RUN_TEST_STEP 100 TE_WapProt  IoctlStep_7 z:\testdata\configs\WapProtSuite\WapProtSuite.ini TestStep7
       
   111 
       
   112 END_TESTCASE SMS-SMSStack-NA-8006
       
   113 
       
   114 START_TESTCASE SMS-SMSStack-NA-8007
       
   115 //!@SYMTestCaseID SMS-SMSStack-NA-8007
       
   116 //!@SYMREQ REQ0000
       
   117 //!@SYMTestCaseDesc IoctlStep_8
       
   118 //!@SYMTestPriority critical
       
   119 //!@SYMTestActions IoctlStep 8
       
   120 //!@SYMTestExpectedResults Pass
       
   121 //!@SYMTestType CT
       
   122 RUN_TEST_STEP 100 TE_WapProt  IoctlStep_8 z:\testdata\configs\WapProtSuite\WapProtSuite.ini TestStep8
       
   123 
       
   124 END_TESTCASE SMS-SMSStack-NA-8007
       
   125 
       
   126 START_TESTCASE SMS-SMSStack-NA-8008
       
   127 //!@SYMTestCaseID SMS-SMSStack-NA-8008
       
   128 //!@SYMREQ REQ0000
       
   129 //!@SYMTestCaseDesc IoctlStep 9
       
   130 //!@SYMTestPriority critical
       
   131 //!@SYMTestActions IoctlStep_9
       
   132 //!@SYMTestExpectedResults Pass
       
   133 //!@SYMTestType CT
       
   134 RUN_TEST_STEP 100 TE_WapProt  IoctlStep_9 z:\testdata\configs\WapProtSuite\WapProtSuite.ini TestStep9
       
   135 
       
   136 END_TESTCASE SMS-SMSStack-NA-8008
       
   137 
       
   138 START_TESTCASE SMS-SMSStack-NA-8009
       
   139 //!@SYMTestCaseID SMS-SMSStack-NA-8009
       
   140 //!@SYMREQ REQ0000
       
   141 //!@SYMTestCaseDesc IoctlStep_10
       
   142 //!@SYMTestPriority critical
       
   143 //!@SYMTestActions IoctlStep 10
       
   144 //!@SYMTestExpectedResults Pass
       
   145 //!@SYMTestType CT
       
   146 RUN_TEST_STEP 100 TE_WapProt  IoctlStep_10 z:\testdata\configs\WapProtSuite\WapProtSuite.ini TestStep10
       
   147 
       
   148 END_TESTCASE SMS-SMSStack-NA-8009
       
   149 
       
   150 START_TESTCASE SMS-SMSStack-NA-8010
       
   151 //!@SYMTestCaseID SMS-SMSStack-NA-8010
       
   152 //!@SYMREQ REQ0000
       
   153 //!@SYMTestCaseDesc IoctlStep_11
       
   154 //!@SYMTestPriority critical
       
   155 //!@SYMTestActions IoctlStep 11
       
   156 //!@SYMTestExpectedResults Pass
       
   157 //!@SYMTestType CT
       
   158 RUN_TEST_STEP 100 TE_WapProt  IoctlStep_11 z:\testdata\configs\WapProtSuite\WapProtSuite.ini TestStep11
       
   159 
       
   160 END_TESTCASE SMS-SMSStack-NA-8010
       
   161 
       
   162 START_TESTCASE SMS-SMSStack-NA-8011
       
   163 //!@SYMTestCaseID SMS-SMSStack-NA-8011
       
   164 //!@SYMREQ REQ0000
       
   165 //!@SYMTestCaseDesc IoctlStep_12
       
   166 //!@SYMTestPriority critical
       
   167 //!@SYMTestActions IoctlStep 12
       
   168 //!@SYMTestExpectedResults Pass
       
   169 //!@SYMTestType CT
       
   170 RUN_TEST_STEP 100 TE_WapProt  IoctlStep_12 z:\testdata\configs\WapProtSuite\WapProtSuite.ini TestStep12
       
   171 
       
   172 END_TESTCASE SMS-SMSStack-NA-8011
       
   173 
       
   174 START_TESTCASE SMS-SMSStack-NA-8012
       
   175 //!@SYMTestCaseID SMS-SMSStack-NA-8012
       
   176 //!@SYMREQ REQ0000
       
   177 //!@SYMTestCaseDesc IoctlStep_13
       
   178 //!@SYMTestPriority critical
       
   179 //!@SYMTestActions IoctlStep 13
       
   180 //!@SYMTestExpectedResults Pass
       
   181 //!@SYMTestType CT
       
   182 RUN_TEST_STEP 100 TE_WapProt  IoctlStep_13 z:\testdata\configs\WapProtSuite\WapProtSuite.ini TestStep13
       
   183 
       
   184 END_TESTCASE SMS-SMSStack-NA-8012
       
   185 
       
   186 START_TESTCASE SMS-SMSStack-NA-8013
       
   187 //!@SYMTestCaseID SMS-SMSStack-NA-8013
       
   188 //!@SYMREQ REQ0000
       
   189 //!@SYMTestCaseDesc IoctlStep_14
       
   190 //!@SYMTestPriority critical
       
   191 //!@SYMTestActions IoctlStep 14
       
   192 //!@SYMTestExpectedResults Pass
       
   193 //!@SYMTestType CT
       
   194 RUN_TEST_STEP 100 TE_WapProt  IoctlStep_14 z:\testdata\configs\WapProtSuite\WapProtSuite.ini TestStep14
       
   195 
       
   196 END_TESTCASE SMS-SMSStack-NA-8013
       
   197 
       
   198 START_TESTCASE SMS-SMSStack-NA-8015
       
   199 //!@SYMTestCaseID SMS-SMSStack-NA-8015
       
   200 //!@SYMREQ DEF077494 
       
   201 //!@SYMTestCaseDesc IoctlStep_15
       
   202 //!@SYMTestPriority critical
       
   203 //!@SYMTestActions IoctlStep 15   
       
   204 //!@SYMTestExpectedResults Pass
       
   205 //!@SYMTestType CT
       
   206 RUN_TEST_STEP 100 TE_WapProt  IoctlStep_15 z:\testdata\configs\WapProtSuite\WapProtSuite.ini TestStep15
       
   207 
       
   208 END_TESTCASE SMS-SMSStack-NA-8015
       
   209 
       
   210 START_TESTCASE SMS-SMSStack-NA-8014
       
   211 //!@SYMTestCaseID SMS-SMSStack-NA-8014
       
   212 //!@SYMREQ REQ0000
       
   213 //!@SYMTestCaseDesc IoctlStep_16
       
   214 //!@SYMTestPriority critical
       
   215 //!@SYMTestActions IoctlStep 16
       
   216 //!@SYMTestExpectedResults Pass
       
   217 //!@SYMTestType CT
       
   218 RUN_TEST_STEP 100 TE_WapProt  BackupRestoreStep z:\testdata\configs\WapProtSuite\WapProtSuite.ini TestStep16
       
   219 
       
   220 END_TESTCASE SMS-SMSStack-NA-8014
       
   221 
       
   222 START_TESTCASE                 SMS-SMSStack-NA-8017
       
   223 //! @SYMTestCaseID               SMS-SMSStack-NA-8017
       
   224 //! @SYMTestCaseDesc             Sends a 7_Bit business card. Using IOCTL query SMS transport parameters
       
   225 //! @SYMCR                    CR0929
       
   226 //! @SYMTestPriority             High
       
   227 //! @SYMTestActions              1. Define and open the socket
       
   228 //!                              2. Send a business card
       
   229 //!                              3. Issue Ioctl for getting both the sms parameter length and sms parameter
       
   230 //!                              4. Internalise the sms data and check values
       
   231 //!                              5. Close the socket
       
   232 //!@SYMTestExpectedResults Check on values as expected
       
   233 //!@SYMTestType CT
       
   234 RUN_TEST_STEP 100 TE_WapProt  IoctlStep_17 z:\testdata\configs\WapProtSuite\WapProtSuite.ini TestStep1
       
   235 
       
   236 END_TESTCASE SMS-SMSStack-NA-8017
       
   237 
       
   238 
       
   239 START_TESTCASE                 SMS-SMSStack-NA-8018
       
   240 //! @SYMTestCaseID               SMS-SMSStack-NA-8018
       
   241 //! @SYMTestCaseDesc             Sends a 7-Bit calendar entry (two segments). Using IOCTL query SMS transport parameters.
       
   242 //! @SYMCR                    CR0929
       
   243 //! @SYMTestPriority             High
       
   244 //! @SYMTestActions              1. Define and open the socket
       
   245 //!                              2. Send a calendar entry
       
   246 //!                              3. Issue Ioctl for getting both the sms parameter length and sms parameter
       
   247 //!                              4. Internalise the sms data and check values
       
   248 //!                              5. Close the socket
       
   249 //!@SYMTestExpectedResults Check on values as expected
       
   250 //!@SYMTestType CT
       
   251 RUN_TEST_STEP 100 TE_WapProt  IoctlStep_18 z:\testdata\configs\WapProtSuite\WapProtSuite.ini TestStep2
       
   252 
       
   253 END_TESTCASE SMS-SMSStack-NA-8018
       
   254 
       
   255 
       
   256 START_TESTCASE                 SMS-SMSStack-NA-8019
       
   257 //! @SYMTestCaseID               SMS-SMSStack-NA-8019
       
   258 //! @SYMTestCaseDesc             Send/receive one 7-Bit two segments message and one 7-Bit one segment message
       
   259 //! @SYMCR                    CR0929
       
   260 //! @SYMTestPriority             High
       
   261 //! @SYMTestActions              1. Define and open the socket
       
   262 //!                              2. Send a calendar entry
       
   263 //!                              3. Send a business card
       
   264 //!                              4. Issue Ioctl for getting both the sms parameter length and sms parameter of first message
       
   265 //!                              5. Internalise the sms data and check values
       
   266 //!                              6. Receive the first message and confirm the receipt of the message
       
   267 //!                              7. Issue Ioctl for getting both the sms parameter length and sms parameter of second message
       
   268 //!                              8. Internalise the sms data and check values
       
   269 //!                              9. Receive the second message and confirm the receipt of the message
       
   270 //!                              10. Close the socket
       
   271 //!@SYMTestExpectedResults Check on values as expected
       
   272 //!@SYMTestType CT
       
   273 RUN_TEST_STEP 100 TE_WapProt  IoctlStep_19 z:\testdata\configs\WapProtSuite\WapProtSuite.ini TestStep3
       
   274 
       
   275 END_TESTCASE SMS-SMSStack-NA-8019
       
   276 
       
   277 
       
   278 START_TESTCASE                 SMS-SMSStack-NA-8020
       
   279 //! @SYMTestCaseID               SMS-SMSStack-NA-8020
       
   280 //! @SYMTestCaseDesc             Simulating client crash conditions with 7bit message. Using IOCTL query SMS transport parameters.
       
   281 //! @SYMCR                    CR0929
       
   282 //! @SYMTestPriority             High
       
   283 //! @SYMTestActions              1. Define and open the socket
       
   284 //!                              2. Send a business card
       
   285 //!                              3. Issue Ioctl for getting both the sms parameter length and sms parameter
       
   286 //!                              4. Internalise the sms data and check values
       
   287 //!                              5. Close socket
       
   288 //!                              6. Open the socket
       
   289 //!                              7. Issue Ioctl for getting the sms parameter length and sms parameter
       
   290 //!                              8. Internalise the sms data and check values
       
   291 //!                              9. Close the socket
       
   292 //!@SYMTestExpectedResults Check on values as expected
       
   293 //!@SYMTestType CT
       
   294 RUN_TEST_STEP 100 TE_WapProt  IoctlStep_20 z:\testdata\configs\WapProtSuite\WapProtSuite.ini TestStep4
       
   295 
       
   296 END_TESTCASE SMS-SMSStack-NA-8020
       
   297 
       
   298 
       
   299 START_TESTCASE                 SMS-SMSStack-NA-8021
       
   300 //! @SYMTestCaseID               SMS-SMSStack-NA-8021
       
   301 //! @SYMTestCaseDesc             Simulating client crash conditions with 8bit push message. Using IOCTL query SMS transport parameters.
       
   302 //! @SYMCR                    CR0929
       
   303 //! @SYMTestPriority             High
       
   304 //! @SYMTestActions              1. Define and open the socket
       
   305 //!                              2. Push a 8 bit business card
       
   306 //!                              3. Issue Ioctl for getting both the sms parameter length and sms parameter
       
   307 //!                              4. Internalise the sms data and check values
       
   308 //!                              5. Close socket
       
   309 //!                              6. Open the socket
       
   310 //!                              7. Issue Ioctl for getting both the sms parameter length and sms parameter
       
   311 //!                              8. Internalise the sms data and check values
       
   312 //!                              9. Close the socket
       
   313 //!@SYMTestExpectedResults Check on values as expected
       
   314 //!@SYMTestType CT
       
   315 RUN_TEST_STEP 400 TE_WapProt  IoctlStep_21 z:\testdata\configs\WapProtSuite\WapProtSuite.ini TestStep5
       
   316 
       
   317 END_TESTCASE SMS-SMSStack-NA-8021
       
   318 
       
   319 
       
   320 START_TESTCASE                 SMS-SMSStack-NA-8022
       
   321 //! @SYMTestCaseID               SMS-SMSStack-NA-8022
       
   322 //! @SYMTestCaseDesc             Push Message (8-Bit). Using IOCTL query SMS transport parameters
       
   323 //! @SYMCR                    CR0929
       
   324 //! @SYMTestPriority             High
       
   325 //! @SYMTestActions              1. Define and open the socket
       
   326 //!                              2. Push a 8-Bit business card
       
   327 //!                              3. Issue Ioctl for getting both the sms parameter length and sms parameter
       
   328 //!                              4. Internalise the sms data and check values
       
   329 //!                              5. Close the socket
       
   330 //!@SYMTestExpectedResults Check on values as expected
       
   331 //!@SYMTestType CT
       
   332 RUN_TEST_STEP 100 TE_WapProt  IoctlStep_22 z:\testdata\configs\WapProtSuite\WapProtSuite.ini TestStep7
       
   333 
       
   334 END_TESTCASE SMS-SMSStack-NA-8022
       
   335 
       
   336 
       
   337 START_TESTCASE                 SMS-SMSStack-NA-8023
       
   338 //! @SYMTestCaseID               SMS-SMSStack-NA-8023
       
   339 //! @SYMTestCaseDesc             Two Push Messages (8-Bit). Using IOCTL query SMS transport parameters
       
   340 //! @SYMCR                    CR0929
       
   341 //! @SYMTestPriority             High
       
   342 //! @SYMTestActions              1. Define and open the socket
       
   343 //!                              2. Push a 8-Bit calendar entry and a 8-Bit business card
       
   344 //!                              3. Issue Ioctl for getting both the sms parameter length and sms parameter of first message
       
   345 //!                              4. Internalise the sms data and check values
       
   346 //!                              5. Receive the first message and confirm the receipt of the message
       
   347 //!                              6. Issue Ioctl for getting both the sms parameter length and sms parameter of second message
       
   348 //!                              7. Internalise the sms data and check values
       
   349 //!                              8. Receive the second message and confirm the receipt of the message
       
   350 //!                              9. Close the socket
       
   351 //!@SYMTestExpectedResults Check on values as expected
       
   352 //!@SYMTestType CT
       
   353 RUN_TEST_STEP 100 TE_WapProt  IoctlStep_23 z:\testdata\configs\WapProtSuite\WapProtSuite.ini TestStep8
       
   354 
       
   355 END_TESTCASE SMS-SMSStack-NA-8023
       
   356 
       
   357 
       
   358 START_TESTCASE                 SMS-SMSStack-NA-8024
       
   359 //! @SYMTestCaseID               SMS-SMSStack-NA-8024
       
   360 //! @SYMTestCaseDesc             Test Cancel IOCTL
       
   361 //! @SYMCR                    CR0929
       
   362 //! @SYMTestPriority             High
       
   363 //! @SYMTestActions              1. Define and open the socket
       
   364 //!                              2. Push a 8-Bit message
       
   365 //!                              3. Issue Ioctl for getting the sms parameter
       
   366 //!                              4. Issue Cancel Ioctl
       
   367 //!                              5. Check if the outstanding IOCTL has been cancelled
       
   368 //!                              6. Close the socket
       
   369 //!@SYMTestExpectedResults IOCTL successfully cancelled
       
   370 //!@SYMTestType CT
       
   371 RUN_TEST_STEP 100 TE_WapProt  IoctlStep_24 z:\testdata\configs\WapProtSuite\WapProtSuite.ini TestStep11
       
   372 
       
   373 END_TESTCASE SMS-SMSStack-NA-8024
       
   374 
       
   375 
       
   376 START_TESTCASE                 SMS-SMSStack-NA-8025
       
   377 //! @SYMTestCaseID               SMS-SMSStack-NA-8025
       
   378 //! @SYMTestCaseDesc             Test issue IOCTL without SetOption NewStyleClient
       
   379 //! @SYMCR                    CR0929
       
   380 //! @SYMTestPriority             High
       
   381 //! @SYMTestActions              1. Define and open the socket
       
   382 //!                              2. Issue Ioctl for getting the sms parameter which should fail
       
   383 //!                              3. Close the socket
       
   384 //!@SYMTestExpectedResults Issue of Ioctl should fail
       
   385 //!@SYMTestType CT
       
   386 RUN_TEST_STEP 100 TE_WapProt  IoctlStep_25 z:\testdata\configs\WapProtSuite\WapProtSuite.ini TestStep12
       
   387 
       
   388 END_TESTCASE SMS-SMSStack-NA-8025
       
   389 
       
   390 
       
   391 START_TESTCASE                 SMS-SMSStack-NA-8026
       
   392 //! @SYMTestCaseID               SMS-SMSStack-NA-8026
       
   393 //! @SYMTestCaseDesc             Sends a 8-Bit calendar entry using IOCTL(two segments)
       
   394 //! @SYMCR                    CR0929
       
   395 //! @SYMTestPriority             High
       
   396 //! @SYMTestActions              1. Define and open the socket
       
   397 //!                              2. Push a 8-Bit calendar entry
       
   398 //!                              3. Issue Ioctl for getting both the sms parameter length and sms parameter
       
   399 //!                              4. Internalise the sms data and check values
       
   400 //!                              5. Close the socket
       
   401 //!@SYMTestExpectedResults Check on values as expected
       
   402 //!@SYMTestType CT
       
   403 RUN_TEST_STEP 100 TE_WapProt  IoctlStep_26 z:\testdata\configs\WapProtSuite\WapProtSuite.ini TestStep13
       
   404 
       
   405 END_TESTCASE SMS-SMSStack-NA-8026
       
   406 
       
   407 START_TESTCASE                 SMS-SMSStack-NA-8027
       
   408 //! @SYMTestCaseID               SMS-SMSStack-NA-8027
       
   409 //! @SYMTestCaseDesc             Sends a 7_Bit business card. Issue both a get length and get message perameters to IOCTL
       
   410 //! @SYMCR                    CR0929
       
   411 //! @SYMTestPriority             High
       
   412 //! @SYMTestActions              1. Define and open the socket in a separate thread
       
   413 //!                              2. Send a business card
       
   414 //!                              3. Issue Ioctl for getting the length
       
   415 //!                              4. Issue Ioctl for getting the sms parameter
       
   416 //!                              5. Check that a panic has occurred
       
   417 //!                              6. Close the socket
       
   418 //! @SYMTestExpectedResults      A panic should occur as Ioctl is in use already
       
   419 //! @SYMTestType                 CT
       
   420 RUN_TEST_STEP 100 TE_WapProt  IoctlStep_27 z:\testdata\configs\WapProtSuite\WapProtSuite.ini TestStep1
       
   421 
       
   422 END_TESTCASE SMS-SMSStack-NA-8027
       
   423 
       
   424 START_TESTCASE                 SMS-SMSStack-NA-8028
       
   425 //! @SYMTestCaseID               SMS-SMSStack-NA-8028
       
   426 //! @SYMTestCaseDesc             Sends a 7_Bit business card. Issue a get message parameters to IOCTL without correct platform security
       
   427 //! @SYMCR                    CR0929
       
   428 //! @SYMTestPriority             High
       
   429 //! @SYMTestActions              1. Define and open the socket in a separate thread
       
   430 //!                              2. Send a business card
       
   431 //!                              3. Issue Ioctl for getting the sms parameter
       
   432 //!                              4. Check that an error of KErrPermissionDenied has occurred
       
   433 //!                              5. Close the socket
       
   434 //! @SYMTestExpectedResults      A error of KErrPermissionDenied should occur
       
   435 //! @SYMTestType                 CT
       
   436 
       
   437 RUN_PROGRAM -1 setcap.exe TE_WapProt.exe 1AC20 TE_WapProt_cap28.exe
       
   438 LOAD_SUITE TE_WapProt_cap28
       
   439 RUN_TEST_STEP 100 TE_WapProt_cap28 IoctlStep_28 z:\testdata\configs\WapProtSuite\WapProtSuite.ini TestStep1
       
   440 
       
   441 END_TESTCASE SMS-SMSStack-NA-8028
       
   442 
       
   443 START_TESTCASE SMS-WAPPROT-0130
       
   444 //!@SYMTestCaseID SMS-WAPPROT-0130
       
   445 //!@SYMREQ DEF118285
       
   446 //!@SYMTestCaseDesc Sends a 7bit message with the @ character.
       
   447 //!@SYMTestPriority Critical
       
   448 //!@SYMTestActions Send a 7bit message with the @ character and check it is correctly received.
       
   449 //!@SYMTestExpectedResults Pass
       
   450 //!@SYMTestType CT
       
   451 RUN_TEST_STEP 100 TE_WapProt  Test7BitBusinessCardWithEmail z:\testdata\configs\WapProtSuite\WapProtSuite.ini Sending7BitBusinessCardWithEmailWAP
       
   452 END_TESTCASE SMS-WAPPROT-0130
       
   453 
       
   454 START_TESTCASE SMS-WAPPROT-0132
       
   455 //!@SYMTestCaseID SMS-WAPPROT-132
       
   456 //!@SYMREQ REQ0000
       
   457 //!@SYMTestCaseDesc TKAO-7SNAYK
       
   458 //!@SYMTestPriority critical
       
   459 //!@SYMTestActions Refer to entry in TMS 
       
   460 //!@SYMTestExpectedResults Pass
       
   461 //!@SYMTestType CT
       
   462 RUN_TEST_STEP 100 TE_WapProt  TestWapDatagramSegmentContainingNoData z:\testdata\configs\WapProtSuite\WapProtSuite.ini TestStep17_TestWapDatagramSegmentContainingNoData
       
   463 END_TESTCASE SMS-WAPPROT-0132
       
   464 
       
   465 //Status reports
       
   466 
       
   467 ced -i z:\TestData\configs\WapProtSuite\StatusReportsRequested.cfg ced.log
       
   468 
       
   469 // Regression test cases added to validate existing SMART and WapDatagram code
       
   470 
       
   471 START_TESTCASE SMS-WAPPROT-0126
       
   472 //!@SYMTestCaseID SMS-WAPPROT-0126	
       
   473 //!@SYMFssID CR0205	
       
   474 //!@SYMTestPriority High
       
   475 //!@SYMTestCaseDesc Send 7 bit single PDU message as a SMART message.
       
   476 //!@SYMTestActions
       
   477 //    1. Mark the heap
       
   478 //    2. Create the WAP message with test data (3)
       
   479 //    3. Send the message and check request completes KErrNone 
       
   480 //    4. Delete the message
       
   481 //    5. Unmark the heap
       
   482 //!@SYMTestExpectedResults The message sent is verified by SimTSY with PDU = PDU(900).
       
   483 RUN_TEST_STEP 100 TE_WapProt TestRequestingStatusReports z:\testdata\configs\WapProtSuite\WapStatusReports.ini Sending7BitSinglePDUSMART
       
   484 
       
   485 END_TESTCASE SMS-WAPPROT-0126
       
   486 
       
   487 START_TESTCASE SMS-WAPPOT-0081
       
   488 //!@SYMTestCaseID SMS-WAPPOT-0081	
       
   489 //!@SYMFssID CR0205	
       
   490 //!@SYMTestPriority Critical
       
   491 //!@SYMTestCaseDesc Send 7 bit single PDU WAPDatagram message with COMM DB configured for status reports and socket not configured for last segment.
       
   492 //!@SYMTestActions
       
   493 //    1. Mark the heap
       
   494 //    2. Create the WAP message with test data (3)
       
   495 //    3. Set the scheme to TSmsStatusReportScheme::ETPSRRScheme and set the option off.
       
   496 //    4. Send the message and check request completes KErrNone 
       
   497 //    5. Delete the message
       
   498 //    6. Unmark the heap
       
   499 //!@SYMTestExpectedResults The message sent is verified by SimTSY with PDU = PDU(57) which contains TP-SRR scheme.
       
   500 RUN_TEST_STEP 100 TE_WapProt TestRequestingStatusReports z:\testdata\configs\WapProtSuite\WapStatusReports.ini Sending7BitSinglePDUWAP
       
   501 
       
   502 END_TESTCASE SMS-WAPPOT-0081
       
   503 
       
   504 START_TESTCASE SMS-WAPPROT-0128
       
   505 //!@SYMTestCaseID SMS-WAPPROT-0128	
       
   506 //!@SYMFssID CR0205	
       
   507 //!@SYMTestPriority High
       
   508 //!@SYMTestCaseDesc Send 8 bit single PDU message as a SMART message.
       
   509 //!@SYMTestActions
       
   510 //    1. Mark the heap
       
   511 //    2. Create the WAP message with test data (3), will default to SMART
       
   512 //    3. Send the message and check request completes KErrNone 
       
   513 //    4. Delete the message
       
   514 //    5. Unmark the heap
       
   515 //!@SYMTestExpectedResults The message sent is verified by SimTSY with PDU = PDU(902).
       
   516 RUN_TEST_STEP 100 TE_WapProt TestRequestingStatusReports z:\testdata\configs\WapProtSuite\WapStatusReports.ini Sending8BitSinglePDUSMART
       
   517 
       
   518 END_TESTCASE SMS-WAPPROT-0128
       
   519 
       
   520 START_TESTCASE SMS-WAPPROT-0129
       
   521 //!@SYMTestCaseID SMS-WAPPROT-0129	
       
   522 //!@SYMFssID CR0205	
       
   523 //!@SYMTestPriority High
       
   524 //!@SYMTestCaseDesc Send 8 bit single PDU message as a WAP Datagram message.
       
   525 //!@SYMTestActions
       
   526 //    1. Mark the heap
       
   527 //    2. Create the WAP message with test data (3)
       
   528 //    3. Set the message to a WAPDatagram using SetOpt on the socket.
       
   529 //    4. Send the message and check request completes KErrNone 
       
   530 //    5. Delete the message
       
   531 //    6. Unmark the heap
       
   532 //!@SYMTestExpectedResults The message sent is verified by SimTSY with PDU = PDU(903).
       
   533 RUN_TEST_STEP 100 TE_WapProt TestRequestingStatusReports z:\testdata\configs\WapProtSuite\WapStatusReports.ini Sending8BitSinglePDUWAP
       
   534 
       
   535 END_TESTCASE SMS-WAPPROT-0129
       
   536 
       
   537 START_TESTCASE SMS-WAPPROT-0085
       
   538 //!@SYMTestCaseID SMS-WAPPROT-0085	
       
   539 //!@SYMFssID CR0205	
       
   540 //!@SYMTestPriority Critical
       
   541 //!@SYMTestCaseDesc Send multiple 7 bit PDU WAP message with COMM DB set and socket not configured for last segment
       
   542 //!@SYMTestActions
       
   543 //    1. Mark the heap
       
   544 //    2. Create the WAP message with test data (4)
       
   545 //    3. Send the message and check request completes KErrNone 
       
   546 //    4. Delete the message.
       
   547 //    5. Unmark the heap
       
   548 //!@SYMTestExpectedResults The message sent is verified by SimTSY PDU = PDU(61) which contains TP-SRR scheme and bit is set in every segment.
       
   549 RUN_TEST_STEP 100 TE_WapProt TestRequestingStatusReports z:\testdata\configs\WapProtSuite\WapStatusReports.ini Sending7BitMultiplePDU
       
   550 
       
   551 END_TESTCASE SMS-WAPPROT-0085
       
   552 
       
   553 START_TESTCASE SMS-WAPPROT-0087
       
   554 //!@SYMTestCaseID SMS-WAPPROT-0087	
       
   555 //!@SYMFssID CR0205	
       
   556 //!@SYMTestPriority Critical
       
   557 //!@SYMTestCaseDesc Send 8 bit multiple PDU WAP message with COMM DB set and socket not configured for last segment
       
   558 //!@SYMTestActions
       
   559 //    1. Mark the heap
       
   560 //    2. Create the WAP message with test data (4)
       
   561 //    3. Send the message and check request completes KErrNone 
       
   562 //    4. Delete the message
       
   563 //    5. Unmark the heap
       
   564 //!@SYMTestExpectedResults The message sent is verified by SimTSY PDU = PDU(63) which contains TP-SRR scheme and bit is set in every segment.
       
   565 RUN_TEST_STEP 100 TE_WapProt TestRequestingStatusReports z:\testdata\configs\WapProtSuite\WapStatusReports.ini Sending8BitMultiplePDU
       
   566 
       
   567 END_TESTCASE SMS-WAPPROT-0087
       
   568 
       
   569 START_TESTCASE SMS-WAPPROT-0083
       
   570 //!@SYMTestCaseID SMS-WAPPROT-0083	
       
   571 //!@SYMFssID CR0205	
       
   572 //!@SYMTestPriority Medium
       
   573 //!@SYMTestCaseDesc Send 7 bit single PDU WAP message with COMM DB set for status reports and socket configured to last segment.
       
   574 //!@SYMTestActions
       
   575 //    1. Mark the heap
       
   576 //    2. Create the WAP message with test data (3)
       
   577 //    3. Set the scheme to TSmsStatusReportScheme::ETPSRRScheme and configure the socket to last segment only.
       
   578 //    4. Send the message and check request completes KErrNone 
       
   579 //    5. Delete the message
       
   580 //    6. Unmark the heap
       
   581 //!@SYMTestExpectedResults The message sent is verified by SimTSY with PDU = PDU(57) which contains TP-SRR bit set.
       
   582 RUN_TEST_STEP 100 TE_WapProt TestRequestingStatusReportsWithOption z:\testdata\configs\WapProtSuite\WapStatusReports.ini Sending7BitSinglePDUWAPWithOption
       
   583 
       
   584 END_TESTCASE SMS-WAPPROT-0083
       
   585 
       
   586 START_TESTCASE SMS-WAPPROT-0086
       
   587 //!@SYMTestCaseID SMS-WAPPROT-0086	
       
   588 //!@SYMFssID CR0205	
       
   589 //!@SYMTestPriority Critical
       
   590 //!@SYMTestCaseDesc Send 7 bit multiple PDU WAP message with COMM DB set and socket configured for last segment
       
   591 //!@SYMTestActions
       
   592 //    1. Mark the heap
       
   593 //    2. Create the WAP message with test data (4)
       
   594 //    3. Send the message and check request completes KErrNone 
       
   595 //    4. Delete the message.
       
   596 //    5. Unmark the heap
       
   597 //!@SYMTestExpectedResults The message sent is verified by SimTSY PDU = PDU(62) which contains TPSRR scheme and set in every segment.
       
   598 RUN_TEST_STEP 100 TE_WapProt TestRequestingStatusReportsWithOption z:\testdata\configs\WapProtSuite\WapStatusReports.ini Sending7BitMultiplePDUWithOption
       
   599 
       
   600 END_TESTCASE SMS-WAPPROT-0086
       
   601 
       
   602 START_TESTCASE SMS-WAPPROT-0088
       
   603 //!@SYMTestCaseID SMS-WAPPROT-0088	
       
   604 //!@SYMFssID CR0205	
       
   605 //!@SYMTestPriority Critical
       
   606 //!@SYMTestCaseDesc Send 8 bit multiple PDU WAP message with COMM DB set and socket configured for last segment
       
   607 //!@SYMTestActions
       
   608 //    1. Mark the heap
       
   609 //    2. Create the WAP message with test data (4)
       
   610 //    3. Send the message and check request completes KErrNone 
       
   611 //    4. Delete the message
       
   612 //    5. Unmark the heap
       
   613 //!@SYMTestExpectedResults The message sent is verified by SimTSY PDU = PDU(64) which contains TPSRR scheme but only the last segment bit is set.
       
   614 RUN_TEST_STEP 100 TE_WapProt TestRequestingStatusReportsWithOption z:\testdata\configs\WapProtSuite\WapStatusReports.ini Sending8BitMultiplePDUWithOption
       
   615 
       
   616 END_TESTCASE SMS-WAPPROT-0088
       
   617 
       
   618 START_TESTCASE SMS-WAPPROT-0121
       
   619 //!@SYMTestCaseID SMS-WAPPROT-0121	
       
   620 //!@SYMFssID CR0205	
       
   621 //!@SYMTestPriority Medium
       
   622 //!@SYMTestCaseDesc Receive "completed" status report for 7 bit single PDU WAP message.
       
   623 //!@SYMTestActions
       
   624 //    1. Mark the heap
       
   625 //    2. Create WAP message with test data (5).  Ensure Comm DB is requesting  status reports.
       
   626 //    3. Send the message and check request completes KErrNone 
       
   627 //    4. Delete the message
       
   628 //    5. Receive "completed" status report - PDU(162)
       
   629 //    6. Unmark the heap
       
   630 //!@SYMTestExpectedResults A status report is returned to the client, and the status is "completed".
       
   631 RUN_TEST_STEP 100 TE_WapProt TestReceivingStatusReports z:\testdata\configs\WapProtSuite\WapStatusReports.ini ReceiveStatusReportSinglePDU7BitSmart
       
   632 
       
   633 END_TESTCASE SMS-WAPPROT-0121
       
   634 
       
   635 START_TESTCASE SMS-WAPPROT-0122
       
   636 //!@SYMTestCaseID SMS-WAPPROT-0122	
       
   637 //!@SYMFssID CR0205	
       
   638 //!@SYMTestPriority Medium
       
   639 //!@SYMTestCaseDesc Receive "completed" status reports for a multiple 7 bit PDU WAP message.
       
   640 //!@SYMTestActions
       
   641 //    1. Mark the heap
       
   642 //    2. Create WAP message with test data (6).  Ensure Comm DB is requesting  status reports.
       
   643 //    3. Send the message and check request completes KErrNone 
       
   644 //    4. Delete the message
       
   645 //    5. Receive "completed" status reports - PDU(163-166)
       
   646 //    6. Unmark the heap
       
   647 //!@SYMTestExpectedResults A status report is returned on receiving the final PDU; and the status is "completed".
       
   648 RUN_TEST_STEP 100 TE_WapProt TestReceivingStatusReportsSevenBitMultiplePDUs z:\testdata\configs\WapProtSuite\WapStatusReports.ini ReceiveStatusReportMultiple7BitSmart
       
   649 
       
   650 END_TESTCASE SMS-WAPPROT-0122
       
   651 
       
   652 START_TESTCASE SMS-WAPPROT-0123
       
   653 //!@SYMTestCaseID SMS-WAPPROT-0123	
       
   654 //!@SYMFssID CR0205	
       
   655 //!@SYMTestPriority High
       
   656 //!@SYMTestCaseDesc Receive "completed" status report for 8 bit single PDU WAP message.
       
   657 //!@SYMTestActions
       
   658 //    1. Mark the heap
       
   659 //    2. Create WAP message with test data (5).  Ensure Comm DB is requesting  status reports.
       
   660 //    3. Send the message and check request completes KErrNone 
       
   661 //    4. Delete the message
       
   662 //    5. Receive "completed" status report - PDU(167)
       
   663 //    6. Unmark the heap
       
   664 //!@SYMTestExpectedResults A status report is returned to the client, and the status is "completed".
       
   665 RUN_TEST_STEP 100 TE_WapProt TestReceivingStatusReports z:\testdata\configs\WapProtSuite\WapStatusReports.ini ReceiveStatusReportSinglePDU8BitWAP
       
   666 
       
   667 END_TESTCASE SMS-WAPPROT-0123
       
   668 
       
   669 START_TESTCASE SMS-WAPPROT-0124
       
   670 //!@SYMTestCaseID SMS-WAPPROT-0124	
       
   671 //!@SYMFssID CR0205	
       
   672 //!@SYMTestPriority High
       
   673 //!@SYMTestCaseDesc Receive "completed" status reports for a multiple 8 bit PDU WAP message.
       
   674 //!@SYMTestActions
       
   675 //    1. Mark the heap
       
   676 //    2. Create WAP message with test data (6).  Ensure Comm DB is requesting  status reports.
       
   677 //    3. Send the message and check request completes KErrNone 
       
   678 //    4. Delete the message
       
   679 //    5. Receive "completed" status reports - PDU(168-170)
       
   680 //    6. Unmark the heap
       
   681 //!@SYMTestExpectedResults A status report is returned on receiving the final PDU; and the status is "completed".
       
   682 RUN_TEST_STEP 100 TE_WapProt TestReceivingStatusReports z:\testdata\configs\WapProtSuite\WapStatusReports.ini ReceiveStatusReportMultiplePDU8BitWAP
       
   683 
       
   684 END_TESTCASE SMS-WAPPROT-0124
       
   685 
       
   686 START_TESTCASE SMS-WAPPROT-0125
       
   687 //!@SYMTestCaseID SMS-WAPPROT-0125	
       
   688 //!@SYMFssID CR0205	
       
   689 //!@SYMTestPriority High
       
   690 //!@SYMTestCaseDesc Receive "completed" status report for a multiple 8 bit PDU WAP message for the last PDU only.
       
   691 //!@SYMTestActions
       
   692 //    1. Mark the heap
       
   693 //    2. Create WAP message with test data (6).  Ensure Comm DB is requesting status reports.
       
   694 //    3. Set the socket option for TPSRR scheme.
       
   695 //    4. Send the message and check request completes KErrNone 
       
   696 //    5. Delete the message
       
   697 //    6. Receive "completed" status report for last PDU only - PDU(171)
       
   698 //    7. Unmark the heap
       
   699 //!@SYMTestExpectedResults A status report is returned on receiving the final PDU; and the status is "completed".
       
   700 RUN_TEST_STEP 100 TE_WapProt TestReceivingStatusReportsWithOption z:\testdata\configs\WapProtSuite\WapStatusReports.ini ReceiveStatusReportLastPDUMultiple8BitWAP
       
   701 END_TESTCASE SMS-WAPPROT-0125
       
   702 
       
   703 START_TESTCASE SMS-WAPPROT-0127
       
   704 //!@SYMTestCaseID SMS-WAPPROT-0127
       
   705 //!@SYMDEF INC108190
       
   706 //!@SYMTestPriority High
       
   707 //!@SYMTestCaseDesc Receive a VCard via an enumerate.
       
   708 //!@SYMTestActions A VCard is on the SIM and enumerated.
       
   709 //!@SYMTestExpectedResults It should be received as a VCard and not as text.
       
   710 RUN_TEST_STEP 100 TE_WapProt TestEnumeratingVCard
       
   711 END_TESTCASE SMS-WAPPROT-0127
       
   712 
       
   713 START_TESTCASE SMS-WAPPROT-0131
       
   714 //!@SYMTestCaseID SMS-WAPPROT-0131
       
   715 //!@SYMDEF INC123144
       
   716 //!@SYMTestPriority High
       
   717 //!@SYMTestCaseDesc Attempt to send oversized messages and check that the stack does not panic.
       
   718 //!@SYMTestActions Send a messgae bigger than the maximum datagram size and the MBuf maximum size.
       
   719 //!@SYMTestExpectedResults The stack should return KErrTooBig.
       
   720 RUN_TEST_STEP 100 TE_WapProt TestOversizedDatagram
       
   721 END_TESTCASE SMS-WAPPROT-0131
       
   722