wapstack/wapmessageapi/te_wapstack/testdata/WapStackSuite.ini
branchRCL_3
changeset 20 07a122eea281
parent 19 630d2f34d719
child 21 4814c5a49428
equal deleted inserted replaced
19:630d2f34d719 20:07a122eea281
     1 [COMMON]
       
     2 Bearer=3
       
     3 Remote_Host=+447765222312
       
     4 Local_Host=+447765222312
       
     5 Remote_Port=226
       
     6 Local_Port=226
       
     7 TimeOut=0
       
     8 ExError=0
       
     9 ExError2=0
       
    10 SimTsy=true
       
    11 TsyState=411
       
    12 WSPHeaderLength=50
       
    13 WSPBodyLength=50
       
    14 WDPBufLength=30
       
    15 AwaitLengthCancel=false
       
    16 MiddleCancel=false
       
    17 MultiReadCancel=false
       
    18 AwaitLengthTwice=false
       
    19 DetailedLogging=true
       
    20 Secure=0
       
    21 WSPMethod=1
       
    22 WSPHeaders=GET:
       
    23 WSPBody=EMPTY-001-002-003-004-005-006-007-END
       
    24 WSPURI=http://wap.wapgateway.com
       
    25 
       
    26 
       
    27 [Test_2.1]
       
    28 Bearer=2
       
    29 DelayPortClosure=true
       
    30 
       
    31 [Test_2.1.1]
       
    32 Bearer=2
       
    33 ExError=-5498
       
    34 
       
    35 [Test_2.1.2]
       
    36 Bearer=2
       
    37 Local_Port=5501
       
    38 
       
    39 [Test_2.1.3]
       
    40 Bearer=2
       
    41 Local_Port=5502
       
    42 
       
    43 [Test_2.2]
       
    44 Bearer=3
       
    45 
       
    46 [Test_2.3]
       
    47 Bearer=4
       
    48 
       
    49 [Test_2.4]
       
    50 Bearer=5
       
    51 
       
    52 [Test_2.5]
       
    53 Bearer=1
       
    54 
       
    55 [Test_2.6]
       
    56 Bearer=0
       
    57 
       
    58 [Test_2.7]
       
    59 Bearer=-1
       
    60 ExError=-5499
       
    61 
       
    62 [Test_2.8]
       
    63 Bearer=3
       
    64 Secure=true
       
    65 ExError=-5
       
    66 
       
    67 [Test_2.9]
       
    68 Bearer=0
       
    69 ExError=-5499
       
    70 
       
    71 [Test_2.10]
       
    72 Bearer=3
       
    73 Reconnect=true
       
    74 ExError=-14
       
    75 
       
    76 // API Request without connect 
       
    77 [Test_3]
       
    78 ExError=-18
       
    79 
       
    80 // Send and receive VCARD For Bound WDP (single read)
       
    81 [Test_4.1.1]
       
    82 Bearer=3
       
    83 Local_Port=226
       
    84 Remote_Port=226
       
    85 Type=VCARD
       
    86 TsyState=411
       
    87 WDPBufLength=118
       
    88 Data=BEGIN:VCARD\r\nVERSION:2.1\r\nFN:Jal\r\nN:Jal\r\nORG:PanSoftware\r\nTITLE:Director\r\nLABEL:Islington\r\nEND:VCARD\r\n
       
    89 
       
    90 // Send and receive VCARD For Bound WDP(Multi read)
       
    91 [Test_4.1.2]
       
    92 Bearer=3
       
    93 Local_Port=226
       
    94 Remote_Port=226
       
    95 Type=VCARD
       
    96 TsyState=411
       
    97 WDPBufLength=30
       
    98 Data=BEGIN:VCARD\r\nVERSION:2.1\r\nFN:Jal\r\nN:Jal\r\nORG:PanSoftware\r\nTITLE:Director\r\nLABEL:Islington\r\nEND:VCARD\r\n
       
    99 
       
   100 // Send and receive VCALENDAR For Bound WDP(single read)
       
   101 [Test_4.1.3]
       
   102 Bearer=2
       
   103 Local_Port=228
       
   104 Remote_Port=228
       
   105 TsyState=413
       
   106 Type=VCALENDAR
       
   107 WDPBufLength=512
       
   108 Data=BEGIN:VCALENDAR\nVERSION:1.0\nBEGIN:VEVENT\nCATEGORIES:MEETING\nSTATUS:TENTATIVE\nDTSTART:20010401T033000Z\nDTEND:20010401T043000Z\nSUMMARY:Messaging Meeting\nDESCRIPTION:Britney and Justin to review newest proposal material\nCLASS:PRIVATE\nEND:VEVENT\nEND:VCALENDAR\r\n
       
   109 
       
   110 // Send and receive VCALENDAR For Bound WDP(single read)
       
   111 [Test_4.1.4]
       
   112 Bearer=2
       
   113 Local_Port=228
       
   114 Remote_Port=228
       
   115 TsyState=413
       
   116 Type=VCALENDAR
       
   117 WDPBufLength=80
       
   118 Data=BEGIN:VCALENDAR\nVERSION:1.0\nBEGIN:VEVENT\nCATEGORIES:MEETING\nSTATUS:TENTATIVE\nDTSTART:20010401T033000Z\nDTEND:20010401T043000Z\nSUMMARY:Messaging Meeting\nDESCRIPTION:Britney and Justin to review newest proposal material\nCLASS:PRIVATE\nEND:VEVENT\nEND:VCALENDAR\r\n
       
   119 
       
   120 // Send and receive VCARD For Bound WDP (single read)
       
   121 [Test_4.1.5]
       
   122 Bearer=2
       
   123 Local_Port=226
       
   124 Remote_Port=226
       
   125 Type=VCARD
       
   126 TsyState=415
       
   127 WDPBufLength=118
       
   128 Data=BEGIN:VCARD\r\nVERSION:2.1\r\nFN:Jal\r\nN:Jal\r\nORG:PanSoftware\r\nTITLE:Director\r\nLABEL:Islington\r\nEND:VCARD\r\n
       
   129 
       
   130 // Send and receive Ring Tone for Bound WDP
       
   131 [Test_4.1.5.1]
       
   132 Bearer=3
       
   133 Local_Port=5505
       
   134 Remote_Port= 5505
       
   135 Type= RINGTONE
       
   136 TsyState=426
       
   137 Data=024A3A5931BDBDB995E4040044D8F511416615613611624D2544585985584D85185525585584584D84585584584D8934C511624C30DB0D30B38000
       
   138 
       
   139 // Send and receive Email notification for Bound WDP
       
   140 [Test_4.1.5.2]
       
   141 Bearer=3
       
   142 Local_Port=5512
       
   143 Remote_Port= 5512
       
   144 Type= EMAILNOTIFICATION
       
   145 TsyState=427
       
   146 Data=1 new email message\n From: Kamran Nobari <Kamran.Nobari@Symbian.com>\n Subject: test only, please ignore\n size: 42KB\n att:1\n To: Someone <someone@nowhere.com>\n Date: 3 September 2003 +0000\n sender:Kamran.Nobari@symbian.com\n reply-to: someone.else@Symbian.com\n fldr: user.smartme.this.folder.is.for.junk.mail\n
       
   147 
       
   148 // Send and receive Internet Access configuration for Bound WDP
       
   149 [Test_4.1.5.3]
       
   150 Bearer=3
       
   151 Local_Port=5503
       
   152 Remote_Port= 5503
       
   153 Type= IACONFIG
       
   154 TsyState=428
       
   155 Data= Welcome!\n Iname: Demon\n Iuid: psion8\n Ipwd: secret\n Itel: +123456789012345\n Iip: 123.123.123.123\n Idns1: 123.123.123.123\n Idns2: 123.123.123.124
       
   156 
       
   157 // Send and receive operator logo for Bound WDP
       
   158 [Test_4.1.5.4]
       
   159 Bearer=3
       
   160 Local_Port=5506
       
   161 Remote_Port= 5506
       
   162 Type=OprtrLogo
       
   163 TsyState=429
       
   164 Data=3042F450:0A00480E:01000000:00000000:00000000:00000000:0000001E:00000000:02000000:21000001:00020000:00210000:01000200:0000213C:73399CC2:071E7021:228A0522:8208A288:2122FA3D:228208A2
       
   165 
       
   166 // Cancel For Bound WDP
       
   167 [Test_4.1.6]
       
   168 Bearer=3
       
   169 Local_Port=226
       
   170 Remote_Port=226
       
   171 Type=VCARD
       
   172 TsyState=411
       
   173 WDPBufLength=30
       
   174 AwaitLengthCancel=true
       
   175 ExError=-3
       
   176 Data=BEGIN:VCARD\r\nVERSION:2.1\r\nFN:Jal\r\nN:Jal\r\nORG:PanSoftware\r\nTITLE:Director\r\nLABEL:Islington\r\nEND:VCARD\r\n
       
   177 
       
   178 // Cancel For Bound WDP
       
   179 [Test_4.1.7]
       
   180 Bearer=3
       
   181 Local_Port=226
       
   182 Remote_Port=226
       
   183 Type=VCARD
       
   184 TsyState=411
       
   185 WDPBufLength=30
       
   186 MiddleCancel=true
       
   187 ExError=-3
       
   188 Data=BEGIN:VCARD\r\nVERSION:2.1\r\nFN:Jal\r\nN:Jal\r\nORG:PanSoftware\r\nTITLE:Director\r\nLABEL:Islington\r\nEND:VCARD\r\n
       
   189 
       
   190 // Cancel For Bound WDP
       
   191 [Test_4.1.8]
       
   192 Bearer=3
       
   193 Local_Port=226
       
   194 Remote_Port=226
       
   195 Type=VCARD
       
   196 TsyState=411
       
   197 WDPBufLength=30
       
   198 MultiReadCancel=true
       
   199 ExError=-3
       
   200 Data=BEGIN:VCARD\r\nVERSION:2.1\r\nFN:Jal\r\nN:Jal\r\nORG:PanSoftware\r\nTITLE:Director\r\nLABEL:Islington\r\nEND:VCARD\r\n
       
   201 
       
   202 // AwaitDataSize twice
       
   203 [Test_4.1.9]
       
   204 Bearer=3
       
   205 Local_Port=226
       
   206 Remote_Port=226
       
   207 Type=VCARD
       
   208 TsyState=411
       
   209 WDPBufLength=30
       
   210 AwaitLengthTwice=true
       
   211 ExError=-14
       
   212 Data=BEGIN:VCARD\r\nVERSION:2.1\r\nFN:Jal\r\nN:Jal\r\nORG:PanSoftware\r\nTITLE:Director\r\nLABEL:Islington\r\nEND:VCARD\r\n
       
   213 
       
   214 // Send and receive VCALENDAR For FullySpec WDP(single read)
       
   215 [Test_4.2.1]
       
   216 Bearer=3
       
   217 Local_Port=1
       
   218 Remote_Port=1
       
   219 Type=VCALENDAR
       
   220 TsyState=421
       
   221 WDPBufLength=118
       
   222 Data=BEGIN:VCARD\r\nVERSION:2.1\r\nFN:Jal\r\nN:Jal\r\nORG:PanSoftware\r\nTITLE:Director\r\nLABEL:Islington\r\nEND:VCARD\r\n
       
   223 
       
   224 // Send and receive VCALENDAR For FullySpec WDP(multi read)
       
   225 [Test_4.2.2]
       
   226 Bearer=3
       
   227 Local_Port=1
       
   228 Remote_Port=1
       
   229 Type=VCALENDAR
       
   230 TsyState=421
       
   231 WDPBufLength=30
       
   232 Data=BEGIN:VCARD\r\nVERSION:2.1\r\nFN:Jal\r\nN:Jal\r\nORG:PanSoftware\r\nTITLE:Director\r\nLABEL:Islington\r\nEND:VCARD\r\n
       
   233 
       
   234 // Send and receive VCALENDAR For FullySpec WDP(single read)
       
   235 [Test_4.2.3]
       
   236 Bearer=2
       
   237 Local_Port=1
       
   238 Remote_Port=1
       
   239 Type=VCALENDAR
       
   240 TsyState=423
       
   241 WDPBufLength=512
       
   242 Data=BEGIN:VCALENDAR\nVERSION:1.0\nBEGIN:VEVENT\nCATEGORIES:MEETING\nSTATUS:TENTATIVE\nDTSTART:20010401T033000Z\nDTEND:20010401T043000Z\nSUMMARY:Messaging Meeting\nDESCRIPTION:Britney and Justin to review newest proposal material\nCLASS:PRIVATE\nEND:VEVENT\nEND:VCALENDAR\r\n
       
   243 
       
   244 // Send and receive VCALENDAR For FullySpec WDP(Multi read)
       
   245 [Test_4.2.4]
       
   246 Bearer=2
       
   247 Local_Port=1
       
   248 Remote_Port=1
       
   249 Type=VCALENDAR
       
   250 TsyState=423
       
   251 WDPBufLength=30
       
   252 Data=BEGIN:VCALENDAR\nVERSION:1.0\nBEGIN:VEVENT\nCATEGORIES:MEETING\nSTATUS:TENTATIVE\nDTSTART:20010401T033000Z\nDTEND:20010401T043000Z\nSUMMARY:Messaging Meeting\nDESCRIPTION:Britney and Justin to review newest proposal material\nCLASS:PRIVATE\nEND:VEVENT\nEND:VCALENDAR\r\n
       
   253 
       
   254 // Send and receive VCALENDAR For FullySpec WDP(Multi read)
       
   255 [Test_4.2.5]
       
   256 Bearer=3
       
   257 Local_Port=1
       
   258 Remote_Port=1
       
   259 Type=VCALENDAR
       
   260 TsyState=425
       
   261 WDPBufLength=30
       
   262 Data=BEGIN:VCALENDAR\nVERSION:1.0\nBEGIN:VEVENT\nCATEGORIES:MEETING\nSTATUS:TENTATIVE\nDTSTART:20010401T033000Z\nDTEND:20010401T043000Z\nSUMMARY:Messaging Meeting\nDESCRIPTION:Britney and Justin to review newest proposal material\nCLASS:PRIVATE\nEND:VEVENT\nEND:VCALENDAR\r\n
       
   263 
       
   264 // Cancell receiving VCALENDAR For FullySpec WDP
       
   265 [Test_4.2.6]
       
   266 Bearer=3
       
   267 Local_Port=1
       
   268 Remote_Port=1
       
   269 Type=VCALENDAR
       
   270 TsyState=425
       
   271 WDPBufLength=30
       
   272 AwaitLengthCancel=true
       
   273 ExError=-3
       
   274 Data=BEGIN:VCALENDAR\nVERSION:1.0\nBEGIN:VEVENT\nCATEGORIES:MEETING\nSTATUS:TENTATIVE\nDTSTART:20010401T033000Z\nDTEND:20010401T043000Z\nSUMMARY:Messaging Meeting\nDESCRIPTION:Britney and Justin to review newest proposal material\nCLASS:PRIVATE\nEND:VEVENT\nEND:VCALENDAR\r\n
       
   275 
       
   276 // Cancell receiving VCALENDAR For FullySpec WDP
       
   277 [Test_4.2.7]
       
   278 Bearer=3
       
   279 Local_Port=1
       
   280 Remote_Port=1
       
   281 Type=VCALENDAR
       
   282 TsyState=425
       
   283 WDPBufLength=30
       
   284 MiddleCancel=true
       
   285 ExError=-3
       
   286 Data=BEGIN:VCALENDAR\nVERSION:1.0\nBEGIN:VEVENT\nCATEGORIES:MEETING\nSTATUS:TENTATIVE\nDTSTART:20010401T033000Z\nDTEND:20010401T043000Z\nSUMMARY:Messaging Meeting\nDESCRIPTION:Britney and Justin to review newest proposal material\nCLASS:PRIVATE\nEND:VEVENT\nEND:VCALENDAR\r\n
       
   287 
       
   288 // Cancell receiving VCALENDAR For FullySpec WDP
       
   289 [Test_4.2.8]
       
   290 Bearer=3
       
   291 Local_Port=1
       
   292 Remote_Port=1
       
   293 Type=VCALENDAR
       
   294 TsyState=425
       
   295 ExError=-3
       
   296 WDPBufLength=30
       
   297 MultiReadCancel=true
       
   298 Data=BEGIN:VCALENDAR\nVERSION:1.0\nBEGIN:VEVENT\nCATEGORIES:MEETING\nSTATUS:TENTATIVE\nDTSTART:20010401T033000Z\nDTEND:20010401T043000Z\nSUMMARY:Messaging Meeting\nDESCRIPTION:Britney and Justin to review newest proposal material\nCLASS:PRIVATE\nEND:VEVENT\nEND:VCALENDAR\r\n
       
   299 
       
   300 [Test_4.2.9]
       
   301 Bearer=3
       
   302 Local_Port=1
       
   303 Remote_Port=1
       
   304 Type=VCALENDAR
       
   305 TsyState=425
       
   306 WDPBufLength=30
       
   307 AwaitLengthTwice=true
       
   308 ExError=-14
       
   309 Data=BEGIN:VCALENDAR\nVERSION:1.0\nBEGIN:VEVENT\nCATEGORIES:MEETING\nSTATUS:TENTATIVE\nDTSTART:20010401T033000Z\nDTEND:20010401T043000Z\nSUMMARY:Messaging Meeting\nDESCRIPTION:Britney and Justin to review newest proposal material\nCLASS:PRIVATE\nEND:VEVENT\nEND:VCALENDAR\r\n
       
   310 
       
   311 
       
   312 //AwaitPush For Bound API
       
   313 [Test_4.3.1]
       
   314 Bearer=3
       
   315 Local_Port=2948
       
   316 Remote_Port=2948
       
   317 TsyState=431
       
   318 
       
   319 //AwaitPush For Bound API
       
   320 [Test_4.3.2]
       
   321 Bearer=3
       
   322 Local_Port=2948
       
   323 Remote_Port=2948
       
   324 TsyState=431
       
   325 WSPHeaderLength=512
       
   326 WSPBodyLength=512
       
   327 
       
   328 [Test_4.3.3]
       
   329 Bearer=3
       
   330 Local_Port=2948
       
   331 Remote_Port=2948
       
   332 TsyState=431
       
   333 MiddleCancel=true
       
   334 ExError=-3
       
   335 
       
   336 [Test_4.3.4]
       
   337 Bearer=3
       
   338 Local_Port=2948
       
   339 Remote_Port=2948
       
   340 TsyState=431
       
   341 MultiReadCancel=true
       
   342 ExError=-3
       
   343 
       
   344 //AwaitPush For FullySpec API
       
   345 [Test_4.4.1]
       
   346 Bearer=3
       
   347 Local_Port=1
       
   348 Remote_Port=1
       
   349 TsyState=441
       
   350 
       
   351 //AwaitPush For FullySpec API
       
   352 [Test_4.4.2]
       
   353 Bearer=3
       
   354 Local_Port=1
       
   355 Remote_Port=1
       
   356 TsyState=441
       
   357 WSPHeaderLength=512
       
   358 WSPBodyLength=512
       
   359 
       
   360 //AwaitPush For FullySpec API
       
   361 [Test_4.4.3]
       
   362 Bearer=3
       
   363 Local_Port=1
       
   364 Remote_Port=1
       
   365 TsyState=441
       
   366 MiddleCancel=true
       
   367 ExError=-3
       
   368 
       
   369 //AwaitPush For FullySpec API
       
   370 [Test_4.4.4]
       
   371 Bearer=3
       
   372 Local_Port=1
       
   373 Remote_Port=1
       
   374 TsyState=441
       
   375 MultiReadCancel=true
       
   376 ExError=-3
       
   377 
       
   378 
       
   379 //TimeOut
       
   380 [Test_6.1]
       
   381 Local_Port=2948
       
   382 Remote_Port=2948
       
   383 WSPHeaderLength=10
       
   384 WSPBodyLength=10
       
   385 TimeOut=100000
       
   386 ExError=-33
       
   387 
       
   388 //Wrong Sequence
       
   389 [Test_7.1]
       
   390 WDPBufLength=10
       
   391 WSPHeaderLength=10
       
   392 WSPBodyLength=10
       
   393 TsyState=411
       
   394 ExError=-14
       
   395 
       
   396 //Invalid parameter
       
   397 [Test_8]
       
   398 WSPMethod=0x30
       
   399 WSPHeaders=GET:
       
   400 WSPBody=EMPTY-001-002-003-004-005-006-007-END
       
   401 WSPURI=http://wap.wapgateway.com
       
   402 ExError=-5448
       
   403 ExError2=-6
       
   404