wapstack/wapmessageapi/te_wapstack/testdata/WapStackSuite.ini
branchRCL_3
changeset 19 630d2f34d719
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/wapstack/wapmessageapi/te_wapstack/testdata/WapStackSuite.ini	Tue Aug 31 16:23:08 2010 +0300
@@ -0,0 +1,404 @@
+[COMMON]
+Bearer=3
+Remote_Host=+447765222312
+Local_Host=+447765222312
+Remote_Port=226
+Local_Port=226
+TimeOut=0
+ExError=0
+ExError2=0
+SimTsy=true
+TsyState=411
+WSPHeaderLength=50
+WSPBodyLength=50
+WDPBufLength=30
+AwaitLengthCancel=false
+MiddleCancel=false
+MultiReadCancel=false
+AwaitLengthTwice=false
+DetailedLogging=true
+Secure=0
+WSPMethod=1
+WSPHeaders=GET:
+WSPBody=EMPTY-001-002-003-004-005-006-007-END
+WSPURI=http://wap.wapgateway.com
+
+
+[Test_2.1]
+Bearer=2
+DelayPortClosure=true
+
+[Test_2.1.1]
+Bearer=2
+ExError=-5498
+
+[Test_2.1.2]
+Bearer=2
+Local_Port=5501
+
+[Test_2.1.3]
+Bearer=2
+Local_Port=5502
+
+[Test_2.2]
+Bearer=3
+
+[Test_2.3]
+Bearer=4
+
+[Test_2.4]
+Bearer=5
+
+[Test_2.5]
+Bearer=1
+
+[Test_2.6]
+Bearer=0
+
+[Test_2.7]
+Bearer=-1
+ExError=-5499
+
+[Test_2.8]
+Bearer=3
+Secure=true
+ExError=-5
+
+[Test_2.9]
+Bearer=0
+ExError=-5499
+
+[Test_2.10]
+Bearer=3
+Reconnect=true
+ExError=-14
+
+// API Request without connect 
+[Test_3]
+ExError=-18
+
+// Send and receive VCARD For Bound WDP (single read)
+[Test_4.1.1]
+Bearer=3
+Local_Port=226
+Remote_Port=226
+Type=VCARD
+TsyState=411
+WDPBufLength=118
+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
+
+// Send and receive VCARD For Bound WDP(Multi read)
+[Test_4.1.2]
+Bearer=3
+Local_Port=226
+Remote_Port=226
+Type=VCARD
+TsyState=411
+WDPBufLength=30
+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
+
+// Send and receive VCALENDAR For Bound WDP(single read)
+[Test_4.1.3]
+Bearer=2
+Local_Port=228
+Remote_Port=228
+TsyState=413
+Type=VCALENDAR
+WDPBufLength=512
+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
+
+// Send and receive VCALENDAR For Bound WDP(single read)
+[Test_4.1.4]
+Bearer=2
+Local_Port=228
+Remote_Port=228
+TsyState=413
+Type=VCALENDAR
+WDPBufLength=80
+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
+
+// Send and receive VCARD For Bound WDP (single read)
+[Test_4.1.5]
+Bearer=2
+Local_Port=226
+Remote_Port=226
+Type=VCARD
+TsyState=415
+WDPBufLength=118
+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
+
+// Send and receive Ring Tone for Bound WDP
+[Test_4.1.5.1]
+Bearer=3
+Local_Port=5505
+Remote_Port= 5505
+Type= RINGTONE
+TsyState=426
+Data=024A3A5931BDBDB995E4040044D8F511416615613611624D2544585985584D85185525585584584D84585584584D8934C511624C30DB0D30B38000
+
+// Send and receive Email notification for Bound WDP
+[Test_4.1.5.2]
+Bearer=3
+Local_Port=5512
+Remote_Port= 5512
+Type= EMAILNOTIFICATION
+TsyState=427
+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
+
+// Send and receive Internet Access configuration for Bound WDP
+[Test_4.1.5.3]
+Bearer=3
+Local_Port=5503
+Remote_Port= 5503
+Type= IACONFIG
+TsyState=428
+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
+
+// Send and receive operator logo for Bound WDP
+[Test_4.1.5.4]
+Bearer=3
+Local_Port=5506
+Remote_Port= 5506
+Type=OprtrLogo
+TsyState=429
+Data=3042F450:0A00480E:01000000:00000000:00000000:00000000:0000001E:00000000:02000000:21000001:00020000:00210000:01000200:0000213C:73399CC2:071E7021:228A0522:8208A288:2122FA3D:228208A2
+
+// Cancel For Bound WDP
+[Test_4.1.6]
+Bearer=3
+Local_Port=226
+Remote_Port=226
+Type=VCARD
+TsyState=411
+WDPBufLength=30
+AwaitLengthCancel=true
+ExError=-3
+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
+
+// Cancel For Bound WDP
+[Test_4.1.7]
+Bearer=3
+Local_Port=226
+Remote_Port=226
+Type=VCARD
+TsyState=411
+WDPBufLength=30
+MiddleCancel=true
+ExError=-3
+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
+
+// Cancel For Bound WDP
+[Test_4.1.8]
+Bearer=3
+Local_Port=226
+Remote_Port=226
+Type=VCARD
+TsyState=411
+WDPBufLength=30
+MultiReadCancel=true
+ExError=-3
+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
+
+// AwaitDataSize twice
+[Test_4.1.9]
+Bearer=3
+Local_Port=226
+Remote_Port=226
+Type=VCARD
+TsyState=411
+WDPBufLength=30
+AwaitLengthTwice=true
+ExError=-14
+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
+
+// Send and receive VCALENDAR For FullySpec WDP(single read)
+[Test_4.2.1]
+Bearer=3
+Local_Port=1
+Remote_Port=1
+Type=VCALENDAR
+TsyState=421
+WDPBufLength=118
+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
+
+// Send and receive VCALENDAR For FullySpec WDP(multi read)
+[Test_4.2.2]
+Bearer=3
+Local_Port=1
+Remote_Port=1
+Type=VCALENDAR
+TsyState=421
+WDPBufLength=30
+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
+
+// Send and receive VCALENDAR For FullySpec WDP(single read)
+[Test_4.2.3]
+Bearer=2
+Local_Port=1
+Remote_Port=1
+Type=VCALENDAR
+TsyState=423
+WDPBufLength=512
+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
+
+// Send and receive VCALENDAR For FullySpec WDP(Multi read)
+[Test_4.2.4]
+Bearer=2
+Local_Port=1
+Remote_Port=1
+Type=VCALENDAR
+TsyState=423
+WDPBufLength=30
+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
+
+// Send and receive VCALENDAR For FullySpec WDP(Multi read)
+[Test_4.2.5]
+Bearer=3
+Local_Port=1
+Remote_Port=1
+Type=VCALENDAR
+TsyState=425
+WDPBufLength=30
+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
+
+// Cancell receiving VCALENDAR For FullySpec WDP
+[Test_4.2.6]
+Bearer=3
+Local_Port=1
+Remote_Port=1
+Type=VCALENDAR
+TsyState=425
+WDPBufLength=30
+AwaitLengthCancel=true
+ExError=-3
+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
+
+// Cancell receiving VCALENDAR For FullySpec WDP
+[Test_4.2.7]
+Bearer=3
+Local_Port=1
+Remote_Port=1
+Type=VCALENDAR
+TsyState=425
+WDPBufLength=30
+MiddleCancel=true
+ExError=-3
+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
+
+// Cancell receiving VCALENDAR For FullySpec WDP
+[Test_4.2.8]
+Bearer=3
+Local_Port=1
+Remote_Port=1
+Type=VCALENDAR
+TsyState=425
+ExError=-3
+WDPBufLength=30
+MultiReadCancel=true
+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
+
+[Test_4.2.9]
+Bearer=3
+Local_Port=1
+Remote_Port=1
+Type=VCALENDAR
+TsyState=425
+WDPBufLength=30
+AwaitLengthTwice=true
+ExError=-14
+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
+
+
+//AwaitPush For Bound API
+[Test_4.3.1]
+Bearer=3
+Local_Port=2948
+Remote_Port=2948
+TsyState=431
+
+//AwaitPush For Bound API
+[Test_4.3.2]
+Bearer=3
+Local_Port=2948
+Remote_Port=2948
+TsyState=431
+WSPHeaderLength=512
+WSPBodyLength=512
+
+[Test_4.3.3]
+Bearer=3
+Local_Port=2948
+Remote_Port=2948
+TsyState=431
+MiddleCancel=true
+ExError=-3
+
+[Test_4.3.4]
+Bearer=3
+Local_Port=2948
+Remote_Port=2948
+TsyState=431
+MultiReadCancel=true
+ExError=-3
+
+//AwaitPush For FullySpec API
+[Test_4.4.1]
+Bearer=3
+Local_Port=1
+Remote_Port=1
+TsyState=441
+
+//AwaitPush For FullySpec API
+[Test_4.4.2]
+Bearer=3
+Local_Port=1
+Remote_Port=1
+TsyState=441
+WSPHeaderLength=512
+WSPBodyLength=512
+
+//AwaitPush For FullySpec API
+[Test_4.4.3]
+Bearer=3
+Local_Port=1
+Remote_Port=1
+TsyState=441
+MiddleCancel=true
+ExError=-3
+
+//AwaitPush For FullySpec API
+[Test_4.4.4]
+Bearer=3
+Local_Port=1
+Remote_Port=1
+TsyState=441
+MultiReadCancel=true
+ExError=-3
+
+
+//TimeOut
+[Test_6.1]
+Local_Port=2948
+Remote_Port=2948
+WSPHeaderLength=10
+WSPBodyLength=10
+TimeOut=100000
+ExError=-33
+
+//Wrong Sequence
+[Test_7.1]
+WDPBufLength=10
+WSPHeaderLength=10
+WSPBodyLength=10
+TsyState=411
+ExError=-14
+
+//Invalid parameter
+[Test_8]
+WSPMethod=0x30
+WSPHeaders=GET:
+WSPBody=EMPTY-001-002-003-004-005-006-007-END
+WSPURI=http://wap.wapgateway.com
+ExError=-5448
+ExError2=-6
+