1 // Copyright (c) 2004-2010 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 // |
|
15 |
|
16 RUN_SCRIPT z:\TestData\Scripts\TE_smsprt_setup.script |
|
17 |
|
18 LOAD_SUITE TE_smsprt -SharedData |
|
19 |
|
20 //!@file |
|
21 |
|
22 START_TESTCASE SMS-SMSS-SMSPROT-0158 |
|
23 //!@SYMTestCaseID SMS-SMSS-SMSPROT-0158 |
|
24 //!@SYMDEF INC138096 |
|
25 //!@SYMTestCaseDesc Tests that a SMS can be received when the "LogDuration" is set to "No Log" |
|
26 //!@SYMTestPriority Critical |
|
27 //!@SYMTestActions Sets the Log Server to "No Log", then sends and receives a SMS, both operations should be completed successfully. |
|
28 //!@SYMTestExpectedResults Pass |
|
29 //!@SYMTestType CT |
|
30 RUN_TEST_STEP 600 TE_smsprt TestSimpleTxAndRxWithLoggingDisabled z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber158 |
|
31 END_TESTCASE SMS-SMSS-SMSPROT-0158 |
|
32 |
|
33 START_TESTCASE SMS-SMSS-SMSPROT-I-3072 |
|
34 //!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3072 |
|
35 //!@SYMREQ REQ4917.1 |
|
36 //!@SYMTestCaseDesc Test hyperlink operations interface, and SMS stack ability to handle single PDU messages with hyperlinks |
|
37 //!@SYMTestPriority high |
|
38 //!@SYMTestActions Test hyperlink API's. Transmit and receive of single PDU message with and without hyperlinks |
|
39 //!@SYMTestExpectedResults |
|
40 //!@SYMTestCaseDependencies Sim.tsy, smsstacktestutilities.dll |
|
41 //!@SYMTestType IT |
|
42 RUN_TEST_STEP 180 TE_smsprt TestSinglePDUHyperLinks z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber70 |
|
43 END_TESTCASE SMS-SMSS-SMSPROT-I-3072 |
|
44 |
|
45 START_TESTCASE SMS-SMSS-SMSPROT-I-3073 |
|
46 //!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3073 |
|
47 //!@SYMREQ REQ4917.2 |
|
48 //!@SYMTestCaseDesc Test SMS stack ability to handle multiple PDU SMS messages with and without hyperlinks |
|
49 //!@SYMTestPriority high |
|
50 //!@SYMTestActions Transmit and receive of multiple PDU message with and without hyperlinks |
|
51 //!@SYMTestExpectedResults Pass |
|
52 //!@SYMTestType IT |
|
53 RUN_TEST_STEP 60 TE_smsprt TestMultiplePDUHyperLinks z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber71 |
|
54 END_TESTCASE SMS-SMSS-SMSPROT-I-3073 |
|
55 |
|
56 START_TESTCASE SMS-SMSS-SMSPROT-I-3074 |
|
57 //!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3074 |
|
58 //!@SYMREQ REQ4919.1 |
|
59 //!@SYMTestCaseDesc Test SMS stack ability to handle single PDU SMS messages with and without reply address |
|
60 //!@SYMTestPriority high |
|
61 //!@SYMTestActions Transmit and receive of single PDU message with and without reply address |
|
62 //!@SYMTestExpectedResults Pass |
|
63 //!@SYMTestType IT |
|
64 RUN_TEST_STEP 180 TE_smsprt TestSinglePDUReplyAddress z:\testdata\configs\te_smsprt_data.ini ReplyAddress |
|
65 END_TESTCASE SMS-SMSS-SMSPROT-I-3074 |
|
66 |
|
67 START_TESTCASE SMS-SMSS-SMSPROT-I-3075 |
|
68 //!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3075 |
|
69 //!@SYMREQ REQ4919.2 |
|
70 //!@SYMTestCaseDesc Test SMS stack ability to handle multiple PDU SMS messages with and without reply address |
|
71 //!@SYMTestPriority high |
|
72 //!@SYMTestActions Transmit and receive of single PDU message with and without reply address |
|
73 //!@SYMTestExpectedResults Pass |
|
74 //!@SYMTestType IT |
|
75 RUN_TEST_STEP 500 TE_smsprt TestMultiplePDUReplyAddress |
|
76 END_TESTCASE SMS-SMSS-SMSPROT-I-3075 |
|
77 |
|
78 START_TESTCASE SMS-SMSS-SMSPROT-I-3076 |
|
79 //!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3076 |
|
80 //!@SYMREQ REQ4922.1 |
|
81 //!@SYMTestCaseDesc Test operations on SMS message for special messages |
|
82 //!@SYMTestPriority high |
|
83 //!@SYMTestActions Call API's for adding, removing, counting, and copying special messages |
|
84 //!@SYMTestExpectedResults Pass |
|
85 //!@SYMTestType CT |
|
86 RUN_TEST_STEP 30 TE_smsprt TestSpecialMessageWaitingOperations |
|
87 END_TESTCASE SMS-SMSS-SMSPROT-I-3076 |
|
88 |
|
89 START_TESTCASE SMS-SMSS-SMSPROT-I-3077 |
|
90 //!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3077 |
|
91 //!@SYMREQ REQ4922.2 |
|
92 //!@SYMTestCaseDesc Test SMS stack ability to handle single PDU SMS messages with and without special messages |
|
93 //!@SYMTestPriority high |
|
94 //!@SYMTestActions Transmit and receive single PDU message with and without special messages |
|
95 //!@SYMTestExpectedResults Pass |
|
96 //!@SYMTestType IT |
|
97 RUN_TEST_STEP 120 TE_smsprt TestSinglePDUSpecialMessageWaiting z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber73 |
|
98 END_TESTCASE SMS-SMSS-SMSPROT-I-3077 |
|
99 |
|
100 START_TESTCASE SMS-SMSS-SMSPROT-I-3078 |
|
101 //!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3078 |
|
102 //!@SYMREQ REQ4922.3 |
|
103 //!@SYMTestCaseDesc Test SMS stack ability to handle multiple PDU SMS messages with and without special messages |
|
104 //!@SYMTestPriority high |
|
105 //!@SYMTestActions Transmit and receive multiple PDU message with and without special messages |
|
106 //!@SYMTestExpectedResults Pass |
|
107 //!@SYMTestType IT |
|
108 RUN_TEST_STEP 500 TE_smsprt TestMultiplePDUSpecialMessageWaiting |
|
109 END_TESTCASE SMS-SMSS-SMSPROT-I-3078 |
|
110 |
|
111 START_TESTCASE SMS-SMSS-SMSPROT-I-3079 |
|
112 //!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3079 |
|
113 //!@SYMREQ REQ4923.1 |
|
114 //!@SYMTestCaseDesc Test operations on SMS message for enhanced voice mail information |
|
115 //!@SYMTestPriority high |
|
116 //!@SYMTestActions Call API's for adding, removing, counting, and copying enhanced voice mail information |
|
117 //!@SYMTestExpectedResults Pass |
|
118 //!@SYMTestType CT |
|
119 RUN_TEST_STEP 30 TE_smsprt TestEnhancedVoiceMailOperations z:\testdata\configs\te_smsprt_data.ini EnhancedVoiceMail |
|
120 END_TESTCASE SMS-SMSS-SMSPROT-I-3079 |
|
121 |
|
122 START_TESTCASE SMS-SMSS-SMSPROT-I-3080 |
|
123 //!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3080 |
|
124 //!@SYMREQ REQ4923.2 |
|
125 //!@SYMTestCaseDesc Test SMS stack ability to handle single PDU SMS messages with and without enhanced voice mail information |
|
126 //!@SYMTestPriority high |
|
127 //!@SYMTestActions Transmit and receive single PDU message with and without enhanced voice mail information |
|
128 //!@SYMTestExpectedResults Pass |
|
129 //!@SYMTestType IT |
|
130 RUN_TEST_STEP 180 TE_smsprt TestSinglePDUEnhancedVoiceMailInformation z:\testdata\configs\te_smsprt_data.ini EnhancedVoiceMail |
|
131 END_TESTCASE SMS-SMSS-SMSPROT-I-3080 |
|
132 |
|
133 START_TESTCASE SMS-SMSS-SMSPROT-I-3081 |
|
134 //!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3081 |
|
135 //!@SYMREQ REQ4923.3 |
|
136 //!@SYMTestCaseDesc Test SMS stack ability to handle multiple PDU SMS messages with and without enhanced voice mail information |
|
137 //!@SYMTestPriority high |
|
138 //!@SYMTestActions Transmit and receive multiple PDU message with and without enhanced voice mail information |
|
139 //!@SYMTestExpectedResults Pass |
|
140 //!@SYMTestType IT |
|
141 RUN_TEST_STEP 500 TE_smsprt TestMultiplePDUEnhancedVoiceMailInformation |
|
142 END_TESTCASE SMS-SMSS-SMSPROT-I-3081 |
|
143 |
|
144 START_TESTCASE SMS-SMSS-SMSPROT-I-3082 |
|
145 //!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3082 |
|
146 //!@SYMREQ REQ4923.4 |
|
147 //!@SYMTestCaseDesc Test operations on SMS message for enhanced voice mail delete confirmations |
|
148 //!@SYMTestPriority high |
|
149 //!@SYMTestActions Call API's for adding, removing, counting, and copying enhanced voice mail delete confirmations |
|
150 //!@SYMTestExpectedResults Pass |
|
151 //!@SYMTestType CT |
|
152 RUN_TEST_STEP 30 TE_smsprt TestEnhancedVoiceMailDeleteOperations |
|
153 END_TESTCASE SMS-SMSS-SMSPROT-I-3082 |
|
154 |
|
155 START_TESTCASE SMS-SMSS-SMSPROT-I-3083 |
|
156 //!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3083 |
|
157 //!@SYMREQ REQ4923.5 |
|
158 //!@SYMTestCaseDesc Test SMS stack ability to handle single PDU SMS messages with and without enhanced voice mail delete confirmations |
|
159 //!@SYMTestPriority high |
|
160 //!@SYMTestActions Transmit and receive single PDU message with and without enhanced voice mail delete confirmations |
|
161 //!@SYMTestExpectedResults Pass |
|
162 //!@SYMTestType IT |
|
163 RUN_TEST_STEP 120 TE_smsprt TestSinglePDUEnhancedVoiceMailDeleteConfirmation z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber75 |
|
164 END_TESTCASE SMS-SMSS-SMSPROT-I-3083 |
|
165 |
|
166 START_TESTCASE SMS-SMSS-SMSPROT-I-3084 |
|
167 //!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3084 |
|
168 //!@SYMREQ REQ4923.6 |
|
169 //!@SYMTestCaseDesc Test SMS stack ability to handle multiple PDU SMS messages with and without enhanced voice mail delete confirmations |
|
170 //!@SYMTestPriority high |
|
171 //!@SYMTestActions Transmit and receive multiple PDU message with and without enhanced voice mail delete confirmations |
|
172 //!@SYMTestExpectedResults Pass |
|
173 //!@SYMTestType IT |
|
174 RUN_TEST_STEP 180 TE_smsprt TestMultiplePDUEnhancedVoiceMailDeleteConfirmation |
|
175 END_TESTCASE SMS-SMSS-SMSPROT-I-3084 |
|
176 |
|
177 START_TESTCASE SMS-SMSS-SMSPROT-I-3085 |
|
178 //!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3085 |
|
179 //!@SYMREQ REQ4920.1 |
|
180 //!@SYMTestCaseDesc SMS stack will handle a SMS as 7 bit if no coding scheme has been specified. |
|
181 //!@SYMTestPriority high |
|
182 //!@SYMTestActions Transmit and receive multiple PDU message with and without enhanced voice mail delete confirmations |
|
183 //!@SYMTestExpectedResults SMS stack will handle received SMS as a 7 Bit coded message, KErrNone |
|
184 //!@SYMTestType IT |
|
185 RUN_TEST_STEP 180 TE_smsprt Test7BitDefaultAlphabet z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber76 |
|
186 END_TESTCASE SMS-SMSS-SMSPROT-I-3085 |
|
187 |
|
188 START_TESTCASE SMS-SMSS-SMSPROT-I-3086 |
|
189 //!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3086 |
|
190 //!@SYMREQ REQ4918 |
|
191 //!@SYMTestCaseDesc SMS stack will allow zero length information elements. |
|
192 //!@SYMTestPriority high |
|
193 //!@SYMTestActions Transmit and receive single and multiple PDU message with and zero length IE. IE is USIM toolkit IE. |
|
194 //!@SYMTestExpectedResults Stack will accept zero length IE, add it to the list. KErrNone |
|
195 //!@SYMTestType IT |
|
196 //!@SYMTestCaseDependencies SIM.TSY |
|
197 RUN_TEST_STEP 180 TE_smsprt TestZeroLengthIE z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber77 |
|
198 END_TESTCASE SMS-SMSS-SMSPROT-I-3086 |
|
199 |
|
200 START_TESTCASE SMS-SMSS-SMSPROT-I-3087 |
|
201 //!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3087 |
|
202 //!@SYMREQ REQ4924 |
|
203 //!@SYMTestCaseDesc SMS stack will process SMS messages that indicate automatic deletion |
|
204 //!@SYMTestPriority high |
|
205 //!@SYMTestActions Transmit and receive single PDU message with automatic deletion. Stack allow sending these messages. Messages received are automatically deleted, and given to the client. Class 2 messages are not deleted from the SIM - default behaviour in ESK file. |
|
206 //!@SYMTestExpectedResults Messages are deleted from the phone store and SIM store. Exception for class 2 messages, messages remains in the SIM store. |
|
207 //!@SYMTestType CIT |
|
208 //!@SYMTestCaseDependencies SIM.TSY |
|
209 RUN_TEST_STEP 180 TE_smsprt TestAutomaticDeletionInDCS z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber78 |
|
210 END_TESTCASE SMS-SMSS-SMSPROT-I-3087 |
|
211 |
|
212 START_TESTCASE SMS-SMSS-SMSPROT-I-3088 |
|
213 // ----------------------------------------------------------------------------------------------------------- |
|
214 //Test the configurability for automatic deletion with use of esk file |
|
215 //Copy required ESK file for testing configuration for deleting class 2 messages for automatic deletion |
|
216 // ----------------------------------------------------------------------------------------------------------- |
|
217 //!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3088 |
|
218 //!@SYMREQ REQ4924 |
|
219 //!@SYMTestCaseDesc SMS stack will process SMS messages that indicate automatic deletion, and set for deletion in ESK file |
|
220 //!@SYMTestPriority high |
|
221 //!@SYMTestActions Transmit and receive message with automatic deletion and set as so in the ESK file. |
|
222 //!@SYMTestExpectedResults Stack will delete all messages, including Class 2 messages. |
|
223 //!@SYMTestType CIT |
|
224 //!@SYMTestCaseDependencies SIM.TSY |
|
225 //Make a backup, copy over test ESK |
|
226 RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.bak |
|
227 RUN_UTILS copyfile c:\private\101F7989\esock\smswap.sms.esk c:\private\101F7989\esock\smswap.sms.bak |
|
228 RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.esk |
|
229 RUN_UTILS copyfile z:\sms\smswap.sms-AutoDeletionClass2.esk c:\private\101F7989\esock\smswap.sms.esk |
|
230 RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.esk |
|
231 RUN_TEST_STEP 500 TE_smsprt TestAutomaticDeletionInDCSAndInEsk z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber79 |
|
232 RUN_UTILS DeleteFile c:\private\101F7989\esock\smswap.sms.esk |
|
233 RUN_UTILS copyfile c:\private\101F7989\esock\smswap.sms.bak c:\private\101F7989\esock\smswap.sms.esk |
|
234 RUN_UTILS DeleteFile c:\private\101F7989\esock\smswap.sms.bak |
|
235 END_TESTCASE SMS-SMSS-SMSPROT-I-3088 |
|
236 |
|
237 |
|
238 START_TESTCASE SMS-SMSS-SMSPROT-I-3089 |
|
239 //!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3089 |
|
240 //!@SYMREQ REQ4921 |
|
241 //!@SYMTestCaseDesc SMS stack will automatically delete type 0 SMS messages. |
|
242 //!@SYMTestPriority high |
|
243 //!@SYMTestActions Transmit and receive single PDU type 0 message. Repeat this twice, once for each setting in the ESK file. |
|
244 //!@SYMTestExpectedResults Stack will send messages marked as type 0. Messages are deleted from the phone store and SIM store. Exception for class 2 messages, messages remains in the SIM store. |
|
245 //!@SYMTestType CIT |
|
246 //!@SYMTestCaseDependencies SIM.TSY |
|
247 RUN_TEST_STEP 300 TE_smsprt TestAutomaticDeletionTypeZeroSMS z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber80 |
|
248 |
|
249 END_TESTCASE SMS-SMSS-SMSPROT-I-3089 |
|
250 |
|
251 START_TESTCASE SMS-SMSS-SMSPROT-I-3090 |
|
252 //!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3090 |
|
253 //!@SYMREQ REQ4921 |
|
254 //!@SYMTestCaseDesc SMS stack will automatically delete type 0 SMS messages. |
|
255 //!@SYMTestPriority high |
|
256 //!@SYMTestActions Transmit and receive single PDU type 0 message. Repeat this twice, once for each setting in the ESK file. |
|
257 //!@SYMTestExpectedResults Stack will send messages marked as type 0. Messages are deleted from the phone store and SIM store. Exception for class 2 messages, messages remains in the SIM store. |
|
258 //!@SYMTestType CIT |
|
259 //!@SYMTestCaseDependencies SIM.TSY |
|
260 //Copy required ESK file for testing configuration for deleting class 2 messages for automatic deletion |
|
261 //Make a backup, copy over test ESK |
|
262 RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.bak |
|
263 RUN_UTILS copyfile c:\private\101F7989\esock\smswap.sms.esk c:\private\101F7989\esock\smswap.sms.bak |
|
264 RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.esk |
|
265 RUN_UTILS copyfile z:\sms\smswap.sms-AutomaticDeletionOfType0.esk c:\private\101F7989\esock\smswap.sms.esk |
|
266 RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.esk |
|
267 //Run the test step |
|
268 RUN_TEST_STEP 180 TE_smsprt TestAutomaticDeletionTypeZeroAndSetInESK z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber81 |
|
269 //restore orig esk file |
|
270 RUN_UTILS DeleteFile c:\private\101F7989\esock\smswap.sms.esk |
|
271 RUN_UTILS copyfile c:\private\101F7989\esock\smswap.sms.bak c:\private\101F7989\esock\smswap.sms.esk |
|
272 RUN_UTILS DeleteFile c:\private\101F7989\esock\smswap.sms.bak |
|
273 END_TESTCASE SMS-SMSS-SMSPROT-I-3090 |
|
274 |
|
275 |
|
276 START_TESTCASE SMS-SMSS-SMSPROT-I-3091 |
|
277 //!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3091 |
|
278 //!@SYMREQ REQ4923.7 |
|
279 //!@SYMTestCaseDesc The SMS Stack can send the maximum size enhanced voice mail message that will fit in a PDU (139 bytes). |
|
280 //!@SYMTestPriority high |
|
281 //!@SYMTestActions Create a 139 byte enhanced voice mail message, add it to an empty SMS message and send it. |
|
282 //!@SYMTestExpectedResults The message is sent successfully. |
|
283 //!@SYMTestType CIT |
|
284 //!@SYMTestCaseDependencies SIM.TSY |
|
285 RUN_TEST_STEP 120 TE_smsprt EnhancedVoiceMessageBoundaryTest z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber83 |
|
286 END_TESTCASE SMS-SMSS-SMSPROT-I-3091 |
|
287 |
|
288 START_TESTCASE SMS-SMSS-SMSPROT-I-3092 |
|
289 //!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3092 |
|
290 //!@SYMREQ REQ4923.8 |
|
291 //!@SYMTestCaseDesc The SMS Stack can send the maximum size enhanced voice mail message that will fit in a segmented message (134 bytes). |
|
292 //!@SYMTestPriority high |
|
293 //!@SYMTestActions Send the maximum size enhanced voice mail message that will fit in a segmented message (134 bytes). |
|
294 //!@SYMTestExpectedResults The message is sent successfully. |
|
295 //!@SYMTestType CIT |
|
296 //!@SYMTestCaseDependencies SIM.TSY |
|
297 RUN_TEST_STEP 120 TE_smsprt EnhancedVoiceMessageBoundaryTest1 z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber84 |
|
298 END_TESTCASE SMS-SMSS-SMSPROT-I-3092 |
|
299 |
|
300 START_TESTCASE SMS-SMSS-SMSPROT-I-3093 |
|
301 //!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3093 |
|
302 //!@SYMREQ REQ4924.9 |
|
303 //!@SYMTestCaseDesc The SMS stack can recover from heap exhaustion when sending a SMS Messages containing R6 Information Elements. |
|
304 //!@SYMTestPriority high |
|
305 //!@SYMTestActions A message containing R6 SMS IEs is sent repeatedly. The ESOCK server is configured to fail the n th request for heap memory, (n incrementing each time the message is sent). The test therefore checks that the stack can recover gracefully from heap exhaustion at every location that memory can be allocated. |
|
306 //!@SYMTestExpectedResults Assume that sending a R6 SMS requires 'M' heap allocations. The stack should return an Out of Memory error when heap allocation request fails because 'n' has a value in the range 1..m. When 'n' has value m+1, the message should be sent successfully and the test should exit. |
|
307 //!@SYMTestType CIT |
|
308 //!@SYMTestCaseDependencies SIM.TSY |
|
309 RUN_TEST_STEP 500 TE_smsprt TestOOMSendR6Sms z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber82 |
|
310 END_TESTCASE SMS-SMSS-SMSPROT-I-3093 |
|
311 |
|
312 START_TESTCASE SMS-SMSS-SMSPROT-I-3094 |
|
313 //!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3094 |
|
314 //!@SYMREQ REQ4920.1 |
|
315 //!@SYMTestCaseDesc Submit reports default to 7 bit decoding if no DCS value is specified. |
|
316 //!@SYMTestPriority high |
|
317 //!@SYMTestActions Decode a submit report that contains text, but whose DCS byte is unspecified. |
|
318 //!@SYMTestExpectedResults The text is successfully decoded using 7 bit decoding. |
|
319 //!@SYMTestType CIT |
|
320 //!@SYMTestCaseDependencies SIM.TSY |
|
321 RUN_TEST_STEP 120 TE_smsprt CSubmitReportDefaultsTo7BitDecoding |
|
322 END_TESTCASE SMS-SMSS-SMSPROT-I-3094 |
|
323 |
|
324 START_TESTCASE SMS-SMSS-SMSPROT-I-3095 |
|
325 //!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3095 |
|
326 //!@SYMREQ REQ4920.2 |
|
327 //!@SYMTestCaseDesc Deliver reports default to 7 bit decoding if no DCS value is specified. |
|
328 //!@SYMTestPriority high |
|
329 //!@SYMTestActions Decode a deliver report that contains text, but whose DCS byte is unspecified. |
|
330 //!@SYMTestExpectedResults The text is successfully decoded using 7 bit decoding. |
|
331 //!@SYMTestType CIT |
|
332 //!@SYMTestCaseDependencies SIM.TSY |
|
333 RUN_TEST_STEP 120 TE_smsprt CDeliverReportDefaultsTo7BitDecoding |
|
334 END_TESTCASE SMS-SMSS-SMSPROT-I-3095 |
|
335 |
|
336 START_TESTCASE SMS-SMSS-SMSPROT-I-3096 |
|
337 //!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3096 |
|
338 //!@SYMREQ REQ4920.3 |
|
339 //!@SYMTestCaseDesc Status reports default to 7 bit decoding if no DCS value is specified. |
|
340 //!@SYMTestPriority high |
|
341 //!@SYMTestActions Decode a Status report that contains text, but whose DCS byte is unspecified. |
|
342 //!@SYMTestExpectedResults The text is successfully decoded using 7 bit decoding. |
|
343 //!@SYMTestType CIT |
|
344 //!@SYMTestCaseDependencies SIM.TSY |
|
345 RUN_TEST_STEP 120 TE_smsprt CStatusReportDefaultsTo7BitDecoding |
|
346 END_TESTCASE SMS-SMSS-SMSPROT-I-3096 |
|
347 |
|
348 START_TESTCASE SMS-SMSS-SMSPROT-0123 |
|
349 //!@SYMTestCaseID SMS-SMSS-SMSPROT-0123 |
|
350 //!@SYMDEF INC091449 |
|
351 //!@SYMTestPriority Critical |
|
352 //!@SYMTestCaseDesc Receive class0 and class2 messages when DiskSpace in mid range |
|
353 //!@SYMTestActions Set the disk space to below the high limit, receive class 0, attempt to receive class 2, raise disk space and receive class 2. |
|
354 //!@SYMTestExpectedResults Class0 message received, class2 rejected until disk space is increased. |
|
355 RUN_TEST_STEP 600 TE_smsprt TestDiskSpaceMidRangeClass0Class2 z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber131 |
|
356 END_TESTCASE SMS-SMSS-SMSPROT-0123 |
|
357 |
|
358 |
|
359 START_TESTCASE SMS-SMSS-SMSPROT-0124 |
|
360 //!@SYMTestCaseID SMS-SMSS-SMSPROT-0124 |
|
361 //!@SYMDEF INC091449 |
|
362 //!@SYMTestPriority Critical |
|
363 //!@SYMTestCaseDesc Receive class0 and class2 messages when DiskSpace below the mid range. |
|
364 //!@SYMTestActions Set the disk space to below the low limit, attempt to receive class 0 and class 2, raise disk space and receive class 0 and class 2. |
|
365 //!@SYMTestExpectedResults Class0 and class2 messages rejected when disk space below the low limit, received when disk space increases. |
|
366 RUN_TEST_STEP 600 TE_smsprt TestDiskSpaceLowRangeClass0Class2 z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber132 |
|
367 END_TESTCASE SMS-SMSS-SMSPROT-0124 |
|
368 |
|
369 |
|
370 START_TESTCASE SMS-SMSS-SMSPROT-0125 |
|
371 //!@SYMTestCaseID SMS-SMSS-SMSPROT-0125 |
|
372 //!@SYMDEF INC100061 |
|
373 //!@SYMTestCaseDesc Tests receiving corrupt PDUs to ensure the stack does not crash. |
|
374 //!@SYMTestPriority Critical |
|
375 //!@SYMTestActions Receives SMSs that are invalid and then 1 that is valid. |
|
376 //!@SYMTestExpectedResults Pass |
|
377 //!@SYMTestType CT |
|
378 RUN_TEST_STEP 500 TE_smsprt TestCorruptPDUs z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber133 |
|
379 END_TESTCASE SMS-SMSS-SMSPROT-0125 |
|
380 |
|
381 START_TESTCASE SMS-SMSS-SMSPROT-0126 |
|
382 //!@SYMTestCaseID SMS-SMSS-SMSPROT-0126 |
|
383 //!@SYMDEF INC103598 |
|
384 //!@SYMTestCaseDesc Tests receiving a series of PDUs when the assembly store gets congested. |
|
385 //!@SYMTestPriority Critical |
|
386 //!@SYMTestActions Ensures that the resume code can restart reception when the store has been full. |
|
387 //!@SYMTestExpectedResults Pass |
|
388 //!@SYMTestType CT |
|
389 RUN_TEST_STEP 500 TE_smsprt TestCongestedReceive z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber141 |
|
390 END_TESTCASE SMS-SMSS-SMSPROT-0126 |
|
391 |
|
392 START_TESTCASE SMS-SMSS-SMSPROT-0127 |
|
393 //!@SYMTestCaseID SMS-SMSS-SMSPROT-0127 |
|
394 //!@SYMDEF INC117178 |
|
395 //!@SYMTestCaseDesc Test Binary Tx And Rx |
|
396 //!@SYMTestPriority critical |
|
397 //!@SYMTestActions Test binary transmit and receive |
|
398 //!@SYMTestExpectedResults Pass |
|
399 //!@SYMTestType CT |
|
400 RUN_TEST_STEP 500 TE_smsprt TestBinaryTxAndRx z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber142 |
|
401 END_TESTCASE SMS-SMSS-SMSPROT-0127 |
|
402 |
|
403 |
|
404 START_TESTCASE SMS-SMSS-SMSPROT-0128 |
|
405 //!@SYMTestCaseID SMS-SMSS-SMSPROT-0128 |
|
406 //!@SYMDEF INC119830 |
|
407 //!@SYMTestCaseDesc Test boundary condition, GSMU encoder completely fills a PDU, then attempts to add a format IE. |
|
408 //!@SYMTestPriority critical |
|
409 //!@SYMTestActions GSMU encodes a PDU until it is full, then attempts to add an format IE, the format IE and its associated text should be encoded in a new PDU. |
|
410 //!@SYMTestExpectedResults Pass |
|
411 //!@SYMTestType CT |
|
412 RUN_TEST_STEP 500 TE_smsprt TestEncodingPDUonBoundary z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber143 |
|
413 END_TESTCASE SMS-SMSS-SMSPROT-0128 |
|
414 |
|
415 |
|
416 START_TESTCASE SMS-SMSS-SMSPROT-0129 |
|
417 //!@SYMTestCaseID SMS-SMSS-SMSPROT-0129 |
|
418 //!@SYMDEF INC123727 |
|
419 //!@SYMTestCaseDesc Tests that a PDU can be received if it has an invalid or reserved IE number. |
|
420 //!@SYMTestPriority Critical |
|
421 //!@SYMTestActions Receives the PDU which has a reserved IE number. |
|
422 //!@SYMTestExpectedResults Pass |
|
423 //!@SYMTestType CT |
|
424 RUN_TEST_STEP 500 TE_smsprt TestReceiveInvalidOrReservedIE z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber144 |
|
425 END_TESTCASE SMS-SMSS-SMSPROT-0129 |
|
426 |
|
427 |
|
428 START_TESTCASE SMS-SMSS-SMSPROT-0150 |
|
429 //!@SYMTestCaseID SMS-SMSS-SMSPROT-0150 |
|
430 //!@SYMREQ PREQ2265 |
|
431 //!@SYMTestCaseDesc Tests that standard GSM characters can be sent and received using 7bit without loss of characters. |
|
432 //!@SYMTestPriority Critical |
|
433 //!@SYMTestActions Generates various messages based on standard GSM characters, sends/receives them and compares the contents. |
|
434 //!@SYMTestExpectedResults Pass |
|
435 //!@SYMTestType CT |
|
436 RUN_TEST_STEP 1200 TE_smsprt TestEncoding7bitStandardGSM z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber150 |
|
437 END_TESTCASE SMS-SMSS-SMSPROT-0150 |
|
438 |
|
439 |
|
440 START_TESTCASE SMS-SMSS-SMSPROT-0151 |
|
441 //!@SYMTestCaseID SMS-SMSS-SMSPROT-0151 |
|
442 //!@SYMREQ PREQ2265 |
|
443 //!@SYMTestCaseDesc Tests that standard 8bit characters can be sent and received without loss of characters. |
|
444 //!@SYMTestPriority Critical |
|
445 //!@SYMTestActions Generates various messages based on Code Page 1252 characters, sends/receives them and compares the contents. |
|
446 //!@SYMTestExpectedResults Pass |
|
447 //!@SYMTestType CT |
|
448 RUN_TEST_STEP 1200 TE_smsprt TestEncoding8bitCodePage1252 z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber151 |
|
449 END_TESTCASE SMS-SMSS-SMSPROT-0151 |
|
450 |
|
451 |
|
452 START_TESTCASE SMS-SMSS-SMSPROT-0152 |
|
453 //!@SYMTestCaseID SMS-SMSS-SMSPROT-0152 |
|
454 //!@SYMREQ PREQ2265 |
|
455 //!@SYMTestCaseDesc Tests that standard unicode characters can be sent and received without loss of characters. |
|
456 //!@SYMTestPriority Critical |
|
457 //!@SYMTestActions Generates various messages based various characters, sends/receives them and compares the contents. |
|
458 //!@SYMTestExpectedResults Pass |
|
459 //!@SYMTestType CT |
|
460 RUN_TEST_STEP 1800 TE_smsprt TestEncodingUnicode z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber152 |
|
461 END_TESTCASE SMS-SMSS-SMSPROT-0152 |
|
462 |
|
463 |
|
464 START_TESTCASE SMS-SMSS-SMSPROT-0153 |
|
465 //!@SYMTestCaseID SMS-SMSS-SMSPROT-0153 |
|
466 //!@SYMREQ PREQ2265 |
|
467 //!@SYMTestCaseDesc Tests that unconvertible GSM characters can be sent using 7bit by being set to the replacement character. |
|
468 //!@SYMTestPriority Critical |
|
469 //!@SYMTestActions Generates various messages based on unconvertible GSM characters, sends/receives them and compares the contents. |
|
470 //!@SYMTestExpectedResults Pass |
|
471 //!@SYMTestType CT |
|
472 RUN_TEST_STEP 1200 TE_smsprt TestEncoding7bitUnconvertibleGSM z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber153 |
|
473 END_TESTCASE SMS-SMSS-SMSPROT-0153 |
|
474 |
|
475 |
|
476 START_TESTCASE SMS-SMSS-SMSPROT-0154 |
|
477 //!@SYMTestCaseID SMS-SMSS-SMSPROT-0154 |
|
478 //!@SYMREQ PREQ2265 |
|
479 //!@SYMTestCaseDesc Tests that non-standard GSM characters can be sent and received using 7bit with downgraded conversions. |
|
480 //!@SYMTestPriority Critical |
|
481 //!@SYMTestActions Generates various messages based on standard GSM characters, sends/receives them and compares the contents. |
|
482 //!@SYMTestExpectedResults Pass |
|
483 //!@SYMTestType CT |
|
484 RUN_TEST_STEP 1200 TE_smsprt TestEncoding7bitNonStandardGSM z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber154 |
|
485 END_TESTCASE SMS-SMSS-SMSPROT-0154 |
|
486 |
|
487 |
|
488 START_TESTCASE SMS-SMSS-SMSPROT-0155 |
|
489 //!@SYMTestCaseID SMS-SMSS-SMSPROT-0155 |
|
490 //!@SYMREQ PREQ2265 |
|
491 //!@SYMTestCaseDesc Tests that Turkish characters can be sent and received using 7bit without loss of characters. |
|
492 //!@SYMTestPriority Critical |
|
493 //!@SYMTestActions Generates various messages based on Turkish characters, sends/receives them and compares the contents. |
|
494 //!@SYMTestExpectedResults Pass |
|
495 //!@SYMTestType CT |
|
496 RUN_TEST_STEP 4500 TE_smsprt TestEncoding7bitTurkishNationalLanguage z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber155 |
|
497 END_TESTCASE SMS-SMSS-SMSPROT-0155 |
|
498 |
|
499 START_TESTCASE SMS-SMSS-SMSPROT-0156 |
|
500 //!@SYMTestCaseID SMS-SMSS-SMSPROT-0156 |
|
501 //!@SYMDEF DEF129817 |
|
502 //!@SYMTestCaseDesc Tests that unconverted characters are counted correctly when Turkish is enabled. |
|
503 //!@SYMTestPriority Critical |
|
504 //!@SYMTestActions Generates various messages with some Turkish and unconvertible characters, sends/receives them and compares the contents. |
|
505 //!@SYMTestExpectedResults Pass |
|
506 //!@SYMTestType CT |
|
507 RUN_TEST_STEP 600 TE_smsprt TestEncoding7bitTurkishAndUnconvertible z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber156 |
|
508 END_TESTCASE SMS-SMSS-SMSPROT-0156 |
|
509 |
|
510 |
|
511 START_TESTCASE SMS-SMSS-SMSPROT-0157 |
|
512 //!@SYMTestCaseID SMS-SMSS-SMSPROT-0157 |
|
513 //!@SYMDEF DEF128736 |
|
514 //!@SYMTestCaseDesc Tests that messages can be received if different DCS values are used. |
|
515 //!@SYMTestPriority Critical |
|
516 //!@SYMTestActions Generates 3 messages with each DCS and then receives 3 mixed DCS messages. |
|
517 //!@SYMTestExpectedResults Pass |
|
518 //!@SYMTestType CT |
|
519 RUN_TEST_STEP 600 TE_smsprt TestReceivingMessageWithDifferentEncodings z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber157 |
|
520 END_TESTCASE SMS-SMSS-SMSPROT-0157 |
|
521 |
|
522 START_TESTCASE SMS-SMSS-SMSPROT-0159 |
|
523 //!@SYMTestCaseID SMS-SMSS-SMSPROT-0159 |
|
524 //!@SYMDEF DEF137787 |
|
525 //!@SYMTestCaseDesc Tests that closing a socket before reading message does not orphan them in the SAR store |
|
526 //!@SYMTestPriority Critical |
|
527 //!@SYMTestActions Generates a message which is requested by client before and after closure of socket. |
|
528 //!@SYMTestExpectedResults The message should be able to be requested and read after closure of socket. |
|
529 //!@SYMTestType CT |
|
530 RUN_TEST_STEP 600 TE_smsprt TestReceivingMessageAfterSocketClosure z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber159 |
|
531 END_TESTCASE SMS-SMSS-SMSPROT-0159 |
|
532 |
|
533 START_TESTCASE SMS-SMSS-SMSPROT-0160 |
|
534 //! @SYMTestCaseID SMS-SMSS-SMSPROT-0160 |
|
535 //! @SYMTestType CT |
|
536 //! @SYMTestPriority Critical |
|
537 //! @SYMTestCaseDesc Test to ensure that the Turkish, Spanish and Portuguese 7 bit character conversion libraries are being used with SMS send and receive |
|
538 //! Only perform comprehensive tests on first 10 bytes, the last character and at least one character per PDU. |
|
539 //! Version tb92 and later |
|
540 //! @SYMTestExpectedResults Pass |
|
541 //! @SYMTestDesignTechnique Error Guessing |
|
542 //! @SYMCR CR2040 |
|
543 RUN_TEST_STEP 100 TE_smsprt TestEncoding7bitNationalLanguages z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber160 |
|
544 END_TESTCASE SMS-SMSS-SMSPROT-0160 |
|
545 |
|
546 START_TESTCASE SMS-SMSS-SMSPROT-0161 |
|
547 //! @SYMTestCaseID SMS-SMSS-SMSPROT-0161 |
|
548 //! @SYMTestType CT |
|
549 //! @SYMTestPriority High |
|
550 //! @SYMTestCaseDesc Multiple PDU SMS test - tests that when a shift character might spans two PDU's it is added to the next PDU rather than split the two bytes between PDUs - also tests that the cheapest coding is used when ESmsEncodingPortugueseLockingAndSingleShift is requested. |
|
551 //! Only perform comprehensive tests on first 10 bytes, the last character and at least one character per PDU. |
|
552 //! Version tb92 and later |
|
553 //! @SYMTestExpectedResults Pass |
|
554 //! @SYMTestDesignTechnique Boundary Value Analysis |
|
555 //! @SYMCR CR2040 |
|
556 RUN_TEST_STEP 100 TE_smsprt TestEncodingMultiPDUwith7bitNationalLanguages z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber161 |
|
557 END_TESTCASE SMS-SMSS-SMSPROT-0161 |
|
558 |
|
559 START_TESTCASE SMS-SMSS-SMSPROT-0162 |
|
560 //! @SYMTestCaseID SMS-SMSS-SMSPROT-0162 |
|
561 //! @SYMTestType CT |
|
562 //! @SYMTestPriority Critical |
|
563 //! @SYMTestCaseDesc Test to ensure that Turkish, Spanish and Portuguese characters are downgraded when ESmsEncodingNone is used |
|
564 //! Only perform comprehensive tests on first 10 bytes, the last character and at least one character per PDU. |
|
565 //! Version tb92 and later |
|
566 //! @SYMTestExpectedResults Pass |
|
567 //! @SYMTestDesignTechnique Error Guessing |
|
568 //! @SYMCR CR2040 |
|
569 RUN_TEST_STEP 100 TE_smsprt TestEncodingDowngradedWith7bitNationalLanguages z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber162 |
|
570 END_TESTCASE SMS-SMSS-SMSPROT-0162 |
|
571 |
|
572 START_TESTCASE SMS-SMSS-SMSPROT-0163 |
|
573 //! @SYMTestCaseID SMS-SMSS-SMSPROT-0163 |
|
574 //! @SYMTestType CT |
|
575 //! @SYMTestPriority High |
|
576 //! @SYMTestCaseDesc Test to ensure that the cheapest encoding is used when locking and shift characters are present in the message and ESmsEncodingPortugueseLockingAndSingleShift encoding is requested |
|
577 //! Only perform comprehensive tests on first 10 bytes, the last character and at least one character per PDU. |
|
578 //! Version tb92 and later |
|
579 //! @SYMTestExpectedResults Pass |
|
580 //! @SYMTestDesignTechnique Error Guessing |
|
581 //! @SYMCR CR2040 |
|
582 RUN_TEST_STEP 100 TE_smsprt TestOptimumEncodingWithLockingAndShift7bitNationalLanguages z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber163 |
|
583 END_TESTCASE SMS-SMSS-SMSPROT-0163 |
|
584 |
|
585 START_TESTCASE SMS-SMSS-SMSPROT-0164 |
|
586 //! @SYMTestCaseID SMS-SMSS-SMSPROT-0164 |
|
587 //! @SYMTestType CT |
|
588 //! @SYMTestPriority High |
|
589 //! @SYMTestCaseDesc Test to ensure that the cheapest encoding is used when ESmsEncodingTurkishLockingAndSingleShift is requested but locking and shift characters are not present in the message. |
|
590 //! Only perform comprehensive tests on first 10 bytes, the last character and at least one character per PDU. |
|
591 //! Version tb92 and later |
|
592 //! @SYMTestExpectedResults Pass |
|
593 //! @SYMTestDesignTechnique Error Guessing |
|
594 //! @SYMCR CR2040 |
|
595 RUN_TEST_STEP 100 TE_smsprt TestOptimumEncodingWithLockingAndDowngrade7bitNationalLanguages z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber164 |
|
596 END_TESTCASE SMS-SMSS-SMSPROT-0164 |
|
597 |
|
598 START_TESTCASE SMS-SMSS-SMSPROT-0165 |
|
599 //! @SYMTestCaseID SMS-SMSS-SMSPROT-0165 |
|
600 //! @SYMTestType CT |
|
601 //! @SYMTestPriority High |
|
602 //! @SYMTestCaseDesc Test to ensure that the cheapest encoding is used when ESmsEncodingTurkishLockingAndSingleShift is requested but non- Turkish characters that would be downgraded are present |
|
603 //! Only perform comprehensive tests on first 10 bytes, the last character and at least one character per PDU. |
|
604 //! Version tb92 and later |
|
605 //! @SYMTestExpectedResults Pass |
|
606 //! @SYMTestDesignTechnique Error Guessing |
|
607 //! @SYMCR CR2040 |
|
608 RUN_TEST_STEP 100 TE_smsprt TestOptimumEncodingWithLockingAndUnconvertible7bitNationalLanguages z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber165 |
|
609 END_TESTCASE SMS-SMSS-SMSPROT-0165 |
|
610 |
|
611 RUN_SCRIPT z:\testdata\scripts\smsstackcleanprivatedata.script |
|