56
|
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-GSMU-0046
|
|
23 |
//!@SYMTestCaseID SMS-GSMU-0046
|
|
24 |
//!@SYMFssID CR0205
|
|
25 |
//!@SYMTestPriority Critical
|
|
26 |
//!@SYMTestCaseDesc Send single 7 bit PDU with TP-SRR status report scheme.
|
|
27 |
//!@SYMTestActions
|
|
28 |
//1. Mark the heap
|
|
29 |
//2. Create the message with test data (2)
|
|
30 |
//3. Set the scheme to TSmsStatusReportScheme::ETPSRRScheme
|
|
31 |
//4. Set Default to zero and set the last segment
|
|
32 |
//5. Send the message
|
|
33 |
//6. Check request completes with KErrNone
|
|
34 |
//7. Delete the message.
|
|
35 |
//8. Unmark the heap
|
|
36 |
//!@SYMTestExpectedResults The message is sent successfully and SIMTSY has verified the format and correctness of the PDU - that it contains TP-SRR bit set, PDU = PDU (3).
|
|
37 |
RUN_TEST_STEP 100 TE_smsprt TestSendingTPSRRSchemeInAllPDUs z:\testdata\configs\te_statusReportScheme.ini Send7BitTPSRRSchemeSinglePDU
|
|
38 |
|
|
39 |
END_TESTCASE SMS-GSMU-0046
|
|
40 |
|
|
41 |
START_TESTCASE SMS-GSMU-0047
|
|
42 |
//!@SYMTestCaseID SMS-GSMU-0047
|
|
43 |
//!@SYMFssID CR0205
|
|
44 |
//!@SYMTestPriority Critical
|
|
45 |
//!@SYMTestCaseDesc Send single 8 bit PDU with TP-SRR status report scheme.
|
|
46 |
//!@SYMTestActions
|
|
47 |
//1. Mark the heap
|
|
48 |
//2. Create the message with test data (3)
|
|
49 |
//3. Set the scheme to TSmsStatusReportScheme::ETPSRRScheme
|
|
50 |
//4. Set Default to zero and set the last segment
|
|
51 |
//5. Send the message
|
|
52 |
//6. Check request completes with KErrNone
|
|
53 |
//7. Delete the message.
|
|
54 |
//8. Unmark the heap
|
|
55 |
//!@SYMTestExpectedResults The message is sent successfully and SIMTSY has verified the format and correctness of the PDU - that it contains TP-SRR bit set, PDU = PDU (803).
|
|
56 |
RUN_TEST_STEP 100 TE_smsprt TestSendingTPSRRSchemeInAllPDUs z:\testdata\configs\te_statusReportScheme.ini Send8BitTPSRRSchemeSinglePDU
|
|
57 |
|
|
58 |
END_TESTCASE SMS-GSMU-0047
|
|
59 |
|
|
60 |
START_TESTCASE SMS-GSMU-0059
|
|
61 |
//!@SYMTestCaseID SMS-GSMU-0059
|
|
62 |
//!@SYMFssID CR0205
|
|
63 |
//!@SYMTestPriority Critical
|
|
64 |
//!@SYMTestCaseDesc Send 7 bit multiple PDU message with TP-SRR status report scheme set in all segments.
|
|
65 |
//!@SYMTestActions
|
|
66 |
//1. Mark the heap
|
|
67 |
//2. Create the message with test data (4)
|
|
68 |
//3. Set default to zero and set scheme TSmsStatusReportScheme::ETPSRRScheme in every segment
|
|
69 |
//4. Send the message
|
|
70 |
//5. Check request completes KErrNone
|
|
71 |
//6. Delete the message
|
|
72 |
//7. Unmark the heap
|
|
73 |
//!@SYMTestExpectedResults The message is verified by SimTSY that it contains TP-SRR bit set in every segment which = PDU (29-31).
|
|
74 |
RUN_TEST_STEP 100 TE_smsprt TestSendingTPSRRSchemeInAllPDUs z:\testdata\configs\te_statusReportScheme.ini Send7BitTPSRRSchemeMultiplePDU
|
|
75 |
|
|
76 |
END_TESTCASE SMS-GSMU-0059
|
|
77 |
|
|
78 |
START_TESTCASE SMS-GSMU-0060
|
|
79 |
//!@SYMTestCaseID SMS-GSMU-0060
|
|
80 |
//!@SYMFssID CR0205
|
|
81 |
//!@SYMTestPriority Critical
|
|
82 |
//!@SYMTestCaseDesc Send 8 bit multiple PDU message with TP-SRR status report scheme set in all segments.
|
|
83 |
//!@SYMTestActions
|
|
84 |
//1. Mark the heap
|
|
85 |
//2. Create the message with test data (4)
|
|
86 |
//3. Set default to zero and set scheme TSmsStatusReportScheme::ETPSRRScheme in every segment
|
|
87 |
//4. Send the message
|
|
88 |
//5. Check request completes KErrNone
|
|
89 |
//6. Delete the message
|
|
90 |
//7. Unmark the heap
|
|
91 |
//!@SYMTestExpectedResults The message is verified by SimTSY that it contains TP-SRR bit set in every segment which = PDU (829-831).
|
|
92 |
RUN_TEST_STEP 100 TE_smsprt TestSendingTPSRRSchemeInAllPDUs z:\testdata\configs\te_statusReportScheme.ini Send8BitTPSRRSchemeMultiplePDU
|
|
93 |
|
|
94 |
END_TESTCASE SMS-GSMU-0060
|
|
95 |
|
|
96 |
START_TESTCASE SMS-GSMU-0067
|
|
97 |
//!@SYMTestCaseID SMS-GSMU-0067
|
|
98 |
//!@SYMFssID CR0205
|
|
99 |
//!@SYMTestPriority Critical
|
|
100 |
//!@SYMTestCaseDesc Send 7 bit multiple PDU message with TP-SRR scheme set in only the last PDU.
|
|
101 |
//!@SYMTestActions
|
|
102 |
//1. Mark the heap
|
|
103 |
//2. Create the message with test data (4)
|
|
104 |
//3. Set scheme to TSmsStatusReportScheme::ETPSRRScheme and set default to zero.
|
|
105 |
//4. Set TP-SRR for last segment only.
|
|
106 |
//5. Send the message and check request completes KErrNone
|
|
107 |
//6. Delete the message
|
|
108 |
//7. Unmark the heap
|
|
109 |
//!@SYMTestExpectedResults The message sent is verified by SimTSY, PDUs = PDU(41-43) that it contains TP-SRR scheme set only in last segment.
|
|
110 |
RUN_TEST_STEP 100 TE_smsprt TestSendingTPSRRSchemeInLastPDU z:\testdata\configs\te_statusReportScheme.ini Send7BitTPSRRSchemeLastPDU
|
|
111 |
END_TESTCASE SMS-GSMU-0067
|
|
112 |
|
|
113 |
|
|
114 |
START_TESTCASE SMS-GSMU-0068
|
|
115 |
//!@SYMTestCaseID SMS-GSMU-0068
|
|
116 |
//!@SYMFssID CR0205
|
|
117 |
//!@SYMTestPriority Critical
|
|
118 |
//!@SYMTestCaseDesc Send 8 bit multiple PDU message with TP-SRR scheme set in only the last PDU.
|
|
119 |
//!@SYMTestActions
|
|
120 |
//1. Mark the heap
|
|
121 |
//2. Create the message with test data (4)
|
|
122 |
//3. Set scheme to TSmsStatusReportScheme::ETPSRRScheme and set default to zero.
|
|
123 |
//4. Use function which sets the last segment.
|
|
124 |
//5. Set TP-SRR for last segment only.
|
|
125 |
//6. Send the message and check request completes KErrNone
|
|
126 |
//7. Delete the message
|
|
127 |
//8. Unmark the heap
|
|
128 |
//!@SYMTestExpectedResults The message sent is verified by SimTSY, PDUs = PDU(841-843) that it contains TP-SRR scheme set only in last segment.
|
|
129 |
RUN_TEST_STEP 100 TE_smsprt TestSendingTPSRRSchemeInLastPDU z:\testdata\configs\te_statusReportScheme.ini Send8BitTPSRRSchemeLastPDU
|
|
130 |
|
|
131 |
// -------------------------------------------------------------------------------------------------------
|
|
132 |
END_TESTCASE SMS-GSMU-0068
|
|
133 |
|
|
134 |
|
|
135 |
START_TESTCASE SMS-GSMU-0092
|
|
136 |
//!@SYMTestCaseID SMS-GSMU-0092
|
|
137 |
//!@SYMFssID CR0205
|
|
138 |
//!@SYMTestPriority Critical
|
|
139 |
//!@SYMTestCaseDesc Receive a “completed” status report for a TP-SRR scheme in a single 8bit PDU message.
|
|
140 |
//!@SYMTestActions
|
|
141 |
//1. Mark the heap
|
|
142 |
//2. Create SMS message with test data (3) and with TP-SRR scheme set (1).
|
|
143 |
//3. Send the message and check request completes KErrNone
|
|
144 |
//4. Delete the message
|
|
145 |
//5. Receive completed status report - PDU(103)
|
|
146 |
//6. Unmark the heap
|
|
147 |
//!@SYMTestExpectedResults A notification isn’t received after sending the message. The received status report generates a notification.
|
|
148 |
RUN_TEST_STEP 100 TE_smsprt TestReceivingLastTPSRR z:\testdata\configs\te_statusReportScheme.ini ReceiveStatusReportCompletedSinglePDU
|
|
149 |
END_TESTCASE SMS-GSMU-0092
|
|
150 |
|
|
151 |
|
|
152 |
START_TESTCASE SMS-GSMU-0093
|
|
153 |
//!@SYMTestCaseID SMS-GSMU-0093
|
|
154 |
//!@SYMFssID CR0205
|
|
155 |
//!@SYMTestPriority Critical
|
|
156 |
//!@SYMTestCaseDesc Receive “permanent failure” status report for a TP-SRR scheme in a single 8 bit PDU message.
|
|
157 |
//!@SYMTestActions
|
|
158 |
//1. Mark the heap
|
|
159 |
//2. Create SMS message with test data (3) and with TP-SRR scheme set (1).
|
|
160 |
//3. Send the message and check request completes KErrNone
|
|
161 |
//4. Delete the message
|
|
162 |
//5. Receive permanent failure status report - PDU(104)
|
|
163 |
//6. Unmark the heap
|
|
164 |
//!@SYMTestExpectedResults A notification isn’t received after sending the message. The received status report generates a notification.
|
|
165 |
RUN_TEST_STEP 100 TE_smsprt TestReceivingTPSRRAllPDU z:\testdata\configs\te_statusReportScheme.ini ReceiveStatusReportPermanentFailureSinglePDU
|
|
166 |
END_TESTCASE SMS-GSMU-0093
|
|
167 |
|
|
168 |
|
|
169 |
START_TESTCASE SMS-GSMU-0094
|
|
170 |
//!@SYMTestCaseID SMS-GSMU-0094
|
|
171 |
//!@SYMFssID CR0205
|
|
172 |
//!@SYMTestPriority Critical
|
|
173 |
//!@SYMTestCaseDesc Receive “temporary failure” status report and then a “completed” for a TP-SRR scheme in a single 8 bit PDU message.
|
|
174 |
//!@SYMTestActions
|
|
175 |
//1. Mark the heap
|
|
176 |
//2. Create SMS message with test data (3) and with TP-SRR scheme set (1).
|
|
177 |
//3. Send the message and check request completes KErrNone
|
|
178 |
//4. Delete the message
|
|
179 |
//5. Receive temporary failure status report - PDU(105)
|
|
180 |
//6. Receive completed status report - PDU(106)
|
|
181 |
//7. Unmark the heap
|
|
182 |
//!@SYMTestExpectedResults A notification isn’t received after sending or after receiving the temporary failure. However, a notification is generated after receiving the completed status report.
|
|
183 |
RUN_TEST_STEP 100 TE_smsprt TestReceivingLastTPSRR z:\testdata\configs\te_statusReportScheme.ini TemporyFailureCompletedSinglePDU
|
|
184 |
END_TESTCASE SMS-GSMU-0094
|
|
185 |
|
|
186 |
|
|
187 |
START_TESTCASE SMS-GSMU-0095
|
|
188 |
//!@SYMTestCaseID SMS-GSMU-0095
|
|
189 |
//!@SYMFssID CR0205
|
|
190 |
//!@SYMTestPriority Critical
|
|
191 |
//!@SYMTestCaseDesc Receive “temporary failure” status report and then a “permanent failure” for a TP-SRR scheme in a single 8 bit PDU message.
|
|
192 |
//!@SYMTestActions
|
|
193 |
//1. Mark the heap
|
|
194 |
//2. Create SMS message with test data (3) and with TP-SRR scheme set (1).
|
|
195 |
//3. Send the message and check request completes KErrNone
|
|
196 |
//4. Delete the message
|
|
197 |
//5. Receive temporary failure status report - PDU(107)
|
|
198 |
//6. Receive completed status report - PDU(108)
|
|
199 |
//7. Unmark the heap
|
|
200 |
//!@SYMTestExpectedResults A notification isn’t received after sending or after receiving the temporary failure. However, a notification is generated after receiving the permanent failure status report.
|
|
201 |
RUN_TEST_STEP 100 TE_smsprt TestReceivingLastTPSRR z:\testdata\configs\te_statusReportScheme.ini TemporyFailurePermanentFailureSinglePDU
|
|
202 |
END_TESTCASE SMS-GSMU-0095
|
|
203 |
|
|
204 |
|
|
205 |
START_TESTCASE SMS-GSMU-0097
|
|
206 |
//!@SYMTestCaseID SMS-GSMU-0097
|
|
207 |
//!@SYMFssID CR0205
|
|
208 |
//!@SYMTestPriority Critical
|
|
209 |
//!@SYMTestCaseDesc Receive “completed” status reports for a multiple 8 bit PDU message with TP-SRR set in every PDU in this order: third,second,first.
|
|
210 |
//!@SYMTestActions
|
|
211 |
//1. Mark the heap
|
|
212 |
//2. Create SMS message with test data (4) and with TP-SRR scheme set in every PDU.
|
|
213 |
//3. Send the message and check request completes KErrNone
|
|
214 |
//4. Delete the message
|
|
215 |
//5. Receive completed status report for third PDU - PDU(112)
|
|
216 |
//6. Receive completed status report for second PDU - PDU(111)
|
|
217 |
//7. Receive completed status report for first PDU - PDU(110)
|
|
218 |
//8. Unmark the heap
|
|
219 |
//!@SYMTestExpectedResults A notification isn’t received after sending. The status reports received are logged and a notification is generated on receiving PDU(110).
|
|
220 |
RUN_TEST_STEP 100 TE_smsprt TestReceivingTPSRRAllPDU z:\testdata\configs\te_statusReportScheme.ini MultipeStatusReportsCompletedOrderThirdSecondFirst
|
|
221 |
END_TESTCASE SMS-GSMU-0097
|
|
222 |
|
|
223 |
|
|
224 |
START_TESTCASE SMS-GSMU-0098
|
|
225 |
//!@SYMTestCaseID SMS-GSMU-0098
|
|
226 |
//!@SYMFssID CR0205
|
|
227 |
//!@SYMTestPriority Critical
|
|
228 |
//!@SYMTestCaseDesc Receive “completed” status reports for a multiple 8 bit PDU message with TP-SRR set in every PDU in this order: first, second, third.
|
|
229 |
//!@SYMTestActions
|
|
230 |
//1. Mark the heap
|
|
231 |
//2. Create SMS message with test data (4) and with TP-SRR scheme set in every PDU.
|
|
232 |
//3. Send the message and check request completes KErrNone
|
|
233 |
//4. Delete the message
|
|
234 |
//5. Receive completed status report for first PDU - PDU(113)
|
|
235 |
//6. Receive completed status report for second PDU - PDU(114)
|
|
236 |
//7. Receive completed status report for third PDU - PDU(115)
|
|
237 |
//8. Unmark the heap
|
|
238 |
//!@SYMTestExpectedResults A notification isn’t received after sending. The status reports received are logged and a notification is generated on receiving PDU(115).
|
|
239 |
RUN_TEST_STEP 100 TE_smsprt TestReceivingTPSRRAllPDU z:\testdata\configs\te_statusReportScheme.ini MultipeStatusReportsCompletedOrderFirstSecondThird
|
|
240 |
END_TESTCASE SMS-GSMU-0098
|
|
241 |
|
|
242 |
|
|
243 |
START_TESTCASE SMS-GSMU-0099
|
|
244 |
//!@SYMTestCaseID SMS-GSMU-0099
|
|
245 |
//!@SYMFssID CR0205
|
|
246 |
//!@SYMTestPriority Critical
|
|
247 |
//!@SYMTestCaseDesc Receive “completed” and “temporary failure” status reports for a multiple 8 bit PDU message with TP-SRR set in every PDU.
|
|
248 |
//!@SYMTestActions
|
|
249 |
//1. Mark the heap
|
|
250 |
//2. Create SMS message with test data (4) and with TP-SRR scheme set in every PDU.
|
|
251 |
//3. Send the message and check request completes KErrNone
|
|
252 |
//4. Delete the message
|
|
253 |
//5. Receive completed status report for first PDU - PDU(116)
|
|
254 |
//6. Receive temporary status report for third PDU - PDU(117)
|
|
255 |
//7. Receive completed status report for second PDU - PDU(118)
|
|
256 |
//8. Receive completed status report for third PDU - PDU(119)
|
|
257 |
//9. Unmark the heap
|
|
258 |
//!@SYMTestExpectedResults A notification isn’t received after sending. The status reports received are logged and a notification is only generated on receiving PDU(119).
|
|
259 |
RUN_TEST_STEP 100 TE_smsprt TestReceivingTPSRRAllPDU z:\testdata\configs\te_statusReportScheme.ini MultipeStatusReportsTemporyFailureOnThird
|
|
260 |
END_TESTCASE SMS-GSMU-0099
|
|
261 |
|
|
262 |
|
|
263 |
START_TESTCASE SMS-GSMU-0100
|
|
264 |
//!@SYMTestCaseID SMS-GSMU-0100
|
|
265 |
//!@SYMFssID CR0205
|
|
266 |
//!@SYMTestPriority Critical
|
|
267 |
//!@SYMTestCaseDesc Receive “completed” status reports for a multiple 8 bit PDU message with TP-SRR set in last PDU only.
|
|
268 |
//!@SYMTestActions
|
|
269 |
//1. Mark the heap
|
|
270 |
//2. Create SMS message with test data (4) and TP-SRR set in last segment.
|
|
271 |
//3. Send the message and check request completes KErrNone
|
|
272 |
//4. Delete the message
|
|
273 |
//5. Receive completed status report for last PDU - PDU(120)
|
|
274 |
//6. Unmark the heap
|
|
275 |
//!@SYMTestExpectedResults A notification isn’t received after sending. The status report received is logged and a notification is generated on receiving it.
|
|
276 |
RUN_TEST_STEP 100 TE_smsprt TestReceivingLastTPSRR z:\testdata\configs\te_statusReportScheme.ini SingleStatusReportCompletedLastOnly
|
|
277 |
END_TESTCASE SMS-GSMU-0100
|
|
278 |
|
|
279 |
|
|
280 |
START_TESTCASE SMS-GSMU-0101
|
|
281 |
//!@SYMTestCaseID SMS-GSMU-0101
|
|
282 |
//!@SYMFssID CR0205
|
|
283 |
//!@SYMTestPriority Critical
|
|
284 |
//!@SYMTestCaseDesc Receive “temporary failure” and “completed” status reports for the last PDU of a multiple 8 bit PDU message with TP-SRR set in last segment only.
|
|
285 |
//!@SYMTestActions
|
|
286 |
//1. Mark the heap
|
|
287 |
//2. Create SMS message with test data (4) and TP-SRR set in last segment.
|
|
288 |
//3. Send the message and check request completes KErrNone
|
|
289 |
//4. Delete the message
|
|
290 |
//5. Receive temporary status report for last PDU - PDU(121)
|
|
291 |
//6. Receive completed status report for last PDU - PDU(122)
|
|
292 |
//7. Unmark the heap
|
|
293 |
//!@SYMTestExpectedResults A notification is only received on receiving PDU(122).
|
|
294 |
RUN_TEST_STEP 100 TE_smsprt TestReceivingLastTPSRR z:\testdata\configs\te_statusReportScheme.ini SingleStatusReportTemporaryFailureThenCompletedLastOnly
|
|
295 |
END_TESTCASE SMS-GSMU-0101
|
|
296 |
|
|
297 |
|
|
298 |
START_TESTCASE SMS-GSMU-0102
|
|
299 |
//!@SYMTestCaseID SMS-GSMU-0102
|
|
300 |
//!@SYMFssID CR0205
|
|
301 |
//!@SYMTestPriority Critical
|
|
302 |
//!@SYMTestCaseDesc Receive “permanent failure” status report for the last PDU of a multiple 8 bit PDU message with TP-SRR set in last segment only.
|
|
303 |
//!@SYMTestActions
|
|
304 |
//1. Mark the heap
|
|
305 |
//2. Create SMS message with test data (4) and TP-SRR set in last segment.
|
|
306 |
//3. Send the message and check request completes KErrNone
|
|
307 |
//4. Delete the message
|
|
308 |
//5. Receive completed status report for last PDU - PDU(123)
|
|
309 |
//6. Unmark the heap
|
|
310 |
//!@SYMTestExpectedResults A notification isn’t received after sending. The status report received is logged and a notification is generated on receiving it.
|
|
311 |
RUN_TEST_STEP 100 TE_smsprt TestReceivingLastTPSRR z:\testdata\configs\te_statusReportScheme.ini SingleStatusReportPermanentFailureLastPDUOnly
|
|
312 |
END_TESTCASE SMS-GSMU-0102
|
|
313 |
|
|
314 |
|
|
315 |
START_TESTCASE SMS-GSMU-0103
|
|
316 |
//!@SYMTestCaseID SMS-GSMU-0103
|
|
317 |
//!@SYMFssID CR0205
|
|
318 |
//!@SYMTestPriority Critical
|
|
319 |
//!@SYMTestCaseDesc Receive “temporary failure” and “permanent failure” status reports for the last PDU of a multiple 8 bit PDU message with TP-SRR set in last segment only.
|
|
320 |
//!@SYMTestActions
|
|
321 |
//1. Mark the heap
|
|
322 |
//2. Create SMS message with test data (4) and TP-SRR set in last segment.
|
|
323 |
//3. Send the message and check request completes KErrNone
|
|
324 |
//4. Delete the message
|
|
325 |
//5. Receive temporary status report for last PDU - PDU(124)
|
|
326 |
//6. Receive permanent failure status report for last PDU - PDU(125)
|
|
327 |
//7. Unmark the heap
|
|
328 |
//!@SYMTestExpectedResults A notification is only received on receiving PDU(125).
|
|
329 |
RUN_TEST_STEP 100 TE_smsprt TestReceivingLastTPSRR z:\testdata\configs\te_statusReportScheme.ini SingleStatusReportTemporaryFailureThenPermanentFailureLastOnly
|
|
330 |
END_TESTCASE SMS-GSMU-0103
|
|
331 |
|
|
332 |
|
|
333 |
START_TESTCASE SMS-GSMU-0104
|
|
334 |
//!@SYMTestCaseID SMS-GSMU-0104
|
|
335 |
//!@SYMFssID CR0205
|
|
336 |
//!@SYMTestPriority Critical
|
|
337 |
//!@SYMTestCaseDesc Receive “completed” status reports for the first and last PDU of a multiple 8 bit PDU message with TP-SRR set in last segment only.
|
|
338 |
//!@SYMTestActions
|
|
339 |
//1. Mark the heap
|
|
340 |
//2. Create SMS message with test data (4) and TP-SRR set in last segment.
|
|
341 |
//3. Send the message and check request completes KErrNone
|
|
342 |
//4. Delete the message
|
|
343 |
//5. Receive completed status report for first PDU - PDU(126)
|
|
344 |
//6. Receive completed status report for last PDU - PDU(127)
|
|
345 |
//7. Unmark the heap
|
|
346 |
//!@SYMTestExpectedResults A notification is only received on receiving PDU(127).
|
|
347 |
RUN_TEST_STEP 100 TE_smsprt TestReceivingLastTPSRR z:\testdata\configs\te_statusReportScheme.ini CompletedStatusReportForFirstAndThirdPDUSetForLastOnly
|
|
348 |
END_TESTCASE SMS-GSMU-0104
|
|
349 |
|
|
350 |
|
|
351 |
START_TESTCASE SMS-GSMU-0107
|
|
352 |
//!@SYMTestCaseID SMS-GSMU-0107
|
|
353 |
//!@SYMFssID CR0205
|
|
354 |
//!@SYMTestPriority High
|
|
355 |
//!@SYMTestCaseDesc Receive a "completed" status report for a SMSC scheme in a single 8bit PDU message set with value 0x01.
|
|
356 |
//!@SYMTestActions
|
|
357 |
//1. Mark the heap
|
|
358 |
//2. Create SMS message with test data (3) and with SMSC scheme with value 0x01.
|
|
359 |
//3. Send the message and check request completes KErrNone
|
|
360 |
//4. Delete the message
|
|
361 |
//5. Receive "completed" status report - PDU(131)
|
|
362 |
//6. Unmark the heap
|
|
363 |
//!@SYMTestExpectedResults A notification isn't received after sending the message. The received status report generates a notification.
|
|
364 |
RUN_TEST_STEP 100 TE_smsprt TestReceivingLastSMSC z:\testdata\configs\te_statusReportScheme.ini ReceiveStatusReportForSinglePDUSMSCLastPDU
|
|
365 |
END_TESTCASE SMS-GSMU-0107
|
|
366 |
|
|
367 |
|
|
368 |
START_TESTCASE SMS-GSMU-0108
|
|
369 |
//!@SYMTestCaseID SMS-GSMU-0108
|
|
370 |
//!@SYMFssID CR0205
|
|
371 |
//!@SYMTestPriority High
|
|
372 |
//!@SYMTestCaseDesc Receive a "permanent failure" status report for a SMSC scheme in a single 8bit PDU message set with value 0x01.
|
|
373 |
//!@SYMTestActions
|
|
374 |
//1. Mark the heap
|
|
375 |
//2. Create SMS message with test data (3) and with SMSC scheme with value 0x01.
|
|
376 |
//3. Send the message and check request completes KErrNone
|
|
377 |
//4. Delete the message
|
|
378 |
//5. Receive "permanent failure" status report - PDU(132)
|
|
379 |
//6. Unmark the heap
|
|
380 |
//!@SYMTestExpectedResults A notification isn't received after sending the message. The received status report generates a notification.
|
|
381 |
RUN_TEST_STEP 100 TE_smsprt TestReceivingLastSMSC z:\testdata\configs\te_statusReportScheme.ini ReceivePermanentFailureStatusReportSinglePDUSMSCLastPDU
|
|
382 |
END_TESTCASE SMS-GSMU-0108
|
|
383 |
|
|
384 |
|
|
385 |
START_TESTCASE SMS-GSMU-0109
|
|
386 |
//!@SYMTestCaseID SMS-GSMU-0109
|
|
387 |
//!@SYMFssID CR0205
|
|
388 |
//!@SYMTestPriority High
|
|
389 |
//!@SYMTestCaseDesc Receive a "temporary failure" and a "permanent failure" status report for a SMSC scheme in a single 8bit PDU message set with value 0x01.
|
|
390 |
//!@SYMTestActions
|
|
391 |
//1. Mark the heap
|
|
392 |
//2. Create SMS message with test data (3) and with SMSC scheme with value 0x01.
|
|
393 |
//3. Send the message and check request completes KErrNone
|
|
394 |
//4. Delete the message
|
|
395 |
//5. Receive "temporary failure" status report - PDU(133)
|
|
396 |
//6. Receive "permanent failure" status report - PDU(134)
|
|
397 |
//7. Unmark the heap
|
|
398 |
//!@SYMTestExpectedResults A notification isn't received after sending or after receiving the status report PDU(133). A notification is generated on receiving PDU(134)
|
|
399 |
RUN_TEST_STEP 100 TE_smsprt TestReceivingLastSMSC z:\testdata\configs\te_statusReportScheme.ini ReceiveTemporyFailurePermanentFailureStatusReportSinglePDUSMSCScheme
|
|
400 |
END_TESTCASE SMS-GSMU-0109
|
|
401 |
|
|
402 |
|
|
403 |
START_TESTCASE SMS-GSMU-0110
|
|
404 |
//!@SYMTestCaseID SMS-GSMU-0110
|
|
405 |
//!@SYMFssID CR0205
|
|
406 |
//!@SYMTestPriority High
|
|
407 |
//1@SYMTestCaseDesc Receive a "temporary failure" and a "completed" status report for a SMSC scheme in a single 8bit PDU message set with value 0x01.
|
|
408 |
//!@SYMTestActions
|
|
409 |
//1. Mark the heap
|
|
410 |
//2. Create SMS message with test data (3) and with SMSC scheme with value 0x01.
|
|
411 |
//3. Send the message and check request completes KErrNone
|
|
412 |
//4. Delete the message
|
|
413 |
//5. Receive "temporary failure" status report - PDU(135)
|
|
414 |
//6. Receive "completed" status report - PDU(136)
|
|
415 |
//7. Unmark the heap
|
|
416 |
//!@SYMTestExpectedResults A notification is only generated on receiving PDU(136)
|
|
417 |
RUN_TEST_STEP 100 TE_smsprt TestReceivingLastSMSC z:\testdata\configs\te_statusReportScheme.ini ReceiveTemporyFailureCompletedStatusReportSinglePDUSMSCScheme
|
|
418 |
END_TESTCASE SMS-GSMU-0110
|
|
419 |
|
|
420 |
|
|
421 |
START_TESTCASE SMS-GSMU-0112
|
|
422 |
//!@SYMTestCaseID SMS-GSMU-0112
|
|
423 |
//!@SYMFssID CR0205
|
|
424 |
//!@SYMTestPriority High
|
|
425 |
//!@SYMTestCaseDesc Receive "completed" status reports for a multiple 8 bit PDU message with SMSC set in every PDU (0x01) in this order: third,second,first.
|
|
426 |
//!@SYMTestActions
|
|
427 |
//1. Mark the heap
|
|
428 |
//2. Create SMS message with test data (4) and with SMSC scheme set (0x01) and in every PDU.
|
|
429 |
//3. Send the message and check request completes KErrNone
|
|
430 |
//4. Delete the message
|
|
431 |
//5. Receive completed status report for third PDU - PDU(140)
|
|
432 |
//6. Receive completed status report for second PDU - PDU(141)
|
|
433 |
//7. Receive completed status report for first PDU - PDU(142)
|
|
434 |
//8. Unmark the heap
|
|
435 |
//!@SYMTestExpectedResults A notification isn't received after sending. The status reports received are logged and a notification is generated on receiving PDU(142).
|
|
436 |
RUN_TEST_STEP 100 TE_smsprt TestReceivingSMSCAllPDUs z:\testdata\configs\te_statusReportScheme.ini MultipeCompletedStatusReportsSMSCScheme
|
|
437 |
END_TESTCASE SMS-GSMU-0112
|
|
438 |
|
|
439 |
|
|
440 |
START_TESTCASE SMS-GSMU-0114
|
|
441 |
//!@SYMTestCaseID SMS-GSMU-0114
|
|
442 |
//!@SYMFssID CR0205
|
|
443 |
//!@SYMTestPriority High
|
|
444 |
//!@SYMTestCaseDesc Receive "completed" and "temporary failure" status reports for a multiple 8 bit PDU message with SMSC set in every PDU (0x01) in this order: second, third, first.
|
|
445 |
//!@SYMTestActions
|
|
446 |
//1. Mark the heap
|
|
447 |
//2. Create SMS message with test data (4) and with SMSC scheme set (0x01) and in every PDU.
|
|
448 |
//3. Send the message and check request completes KErrNone
|
|
449 |
//4. Delete the message
|
|
450 |
//5. Receive "completed" status report for second PDU - PDU(146)
|
|
451 |
//6. Receive "temporary failure" status report for third PDU - PDU(147)
|
|
452 |
//7. Receive "completed" status report for first PDU - PDU(148)
|
|
453 |
//8. Receive "completed" status report for third PDU - PDU(149)
|
|
454 |
//9. Unmark the heap
|
|
455 |
//!@SYMTestExpectedResults A notification isn't received after sending. The status reports received are logged and a notification is generated on receiving PDU(149).
|
|
456 |
RUN_TEST_STEP 100 TE_smsprt TestReceivingSMSCAllPDUs z:\testdata\configs\te_statusReportScheme.ini MultipeCompletedTemporaryFailureStatusReportsSMSCScheme
|
|
457 |
END_TESTCASE SMS-GSMU-0114
|
|
458 |
|
|
459 |
|
|
460 |
START_TESTCASE SMS-GSMU-0115
|
|
461 |
//!@SYMTestCaseID SMS-GSMU-0115
|
|
462 |
//!@SYMFssID CR0205
|
|
463 |
//!@SYMTestPriority Critical
|
|
464 |
//!@SYMTestCaseDesc Receive "completed" status reports for a multiple 8 bit PDU message with SMSC scheme set (0x01) in last segment only.
|
|
465 |
//!@SYMTestActions
|
|
466 |
//1. Mark the heap
|
|
467 |
//2. Create SMS message with test data (4) and SMSC scheme set in last segment (0x01).
|
|
468 |
//3. Send the message and check request completes KErrNone
|
|
469 |
//4. Delete the message
|
|
470 |
//5. Receive "completed" status report for last PDU - PDU(150)
|
|
471 |
//6. Unmark the heap
|
|
472 |
//!@SYMTestExpectedResults A notification isn't received after sending. The status report received is logged and a notification is generated on receiving it.
|
|
473 |
RUN_TEST_STEP 100 TE_smsprt TestReceivingLastSMSC z:\testdata\configs\te_statusReportScheme.ini MultipePDUSingleStatusReportLastPDUSMSCScheme
|
|
474 |
END_TESTCASE SMS-GSMU-0115
|
|
475 |
|
|
476 |
|
|
477 |
START_TESTCASE SMS-GSMU-0116
|
|
478 |
//!@SYMTestCaseID SMS-GSMU-0116
|
|
479 |
//!@SYMFssID CR0205
|
|
480 |
//!@SYMTestPriority Critical
|
|
481 |
//!@SYMTestCaseDesc Receive "temporary failure" and "completed" status reports for a multiple 8 bit PDU message with SMSC scheme set (0x01) in last segment only.
|
|
482 |
//!@SYMTestActions
|
|
483 |
//1. Mark the heap
|
|
484 |
//2. Create SMS message with test data (4) and SMSC scheme set in last segment (0x01).
|
|
485 |
//3. Send the message and check request completes KErrNone
|
|
486 |
//4. Delete the message
|
|
487 |
//5. Receive "temporary failure" status report for last PDU - PDU(151)
|
|
488 |
//6. Receive "completed" status report for last PDU - PDU(152)
|
|
489 |
//7. Unmark the heap
|
|
490 |
//!@SYMTestExpectedResults A notification only received after receiving status report PDU(152).
|
|
491 |
RUN_TEST_STEP 100 TE_smsprt TestReceivingLastSMSC z:\testdata\configs\te_statusReportScheme.ini MultipePDUTemporaryCompleteStatusReportLastPDUSMSCScheme
|
|
492 |
END_TESTCASE SMS-GSMU-0116
|
|
493 |
|
|
494 |
|
|
495 |
START_TESTCASE SMS-GSMU-0117
|
|
496 |
//!@SYMTestCaseID SMS-GSMU-0117
|
|
497 |
//!@SYMFssID CR0205
|
|
498 |
//!@SYMTestPriority Critical
|
|
499 |
//!@SYMTestCaseDesc Receive "permanent failure" status reports for a multiple 8 bit PDU message with SMSC scheme set (0x01) in last segment only.
|
|
500 |
//!@SYMTestActions
|
|
501 |
//1. Mark the heap
|
|
502 |
//2. Create SMS message with test data (4) and SMSC scheme set in last segment (0x01).
|
|
503 |
//3. Send the message and check request completes KErrNone
|
|
504 |
//4. Delete the message
|
|
505 |
//5. Receive "permanent failure" status report for last PDU - PDU(153)
|
|
506 |
//6. Unmark the heap
|
|
507 |
//!@SYMTestExpectedResults A notification is only received after receiving status report PDU(153).
|
|
508 |
RUN_TEST_STEP 100 TE_smsprt TestReceivingLastSMSC z:\testdata\configs\te_statusReportScheme.ini MultipePDUPermanentFailureStatusReportLastPDUSMSCScheme
|
|
509 |
END_TESTCASE SMS-GSMU-0117
|
|
510 |
|
|
511 |
|
|
512 |
START_TESTCASE SMS-GSMU-0118
|
|
513 |
//!@SYMTestCaseID SMS-GSMU-0118
|
|
514 |
//!@SYMFssID CR0205
|
|
515 |
//!@SYMTestPriority Critical
|
|
516 |
//!@SYMTestCaseDesc Receive "temporary failure" and "permanent failure" status reports for a multiple 8 bit PDU message with SMSC scheme set (0x01) in last segment only.
|
|
517 |
//!@SYMTestActions
|
|
518 |
//1. Mark the heap
|
|
519 |
//2. Create SMS message with test data (4) and SMSC scheme set in last segment (0x01).
|
|
520 |
//3. Send the message and check request completes KErrNone
|
|
521 |
//4. Delete the message
|
|
522 |
//5. Receive "temporary failure" status report for last PDU - PDU(154)
|
|
523 |
//6. Receive "permanent failure" status report for last PDU - PDU(155)
|
|
524 |
//7. Unmark the heap
|
|
525 |
//!@SYMTestExpectedResults A notification only received after receiving status report PDU(155).
|
|
526 |
RUN_TEST_STEP 100 TE_smsprt TestReceivingLastSMSC z:\testdata\configs\te_statusReportScheme.ini MultipePDUTemporaryPermanentFailureStatusReportLastPDUSMSCScheme
|
|
527 |
END_TESTCASE SMS-GSMU-0118
|
|
528 |
|
|
529 |
|
|
530 |
START_TESTCASE SMS-GSMU-0119
|
|
531 |
//!@SYMTestCaseID SMS-GSMU-0119
|
|
532 |
//!@SYMFssID CR0205
|
|
533 |
//!@SYMTestPriority High
|
|
534 |
//!@SYMTestCaseDesc Receive "completed" status reports for first and third PDU of a multiple 8 bit PDU message with SMSC set (0x01) in first and last only.
|
|
535 |
//!@SYMTestActions
|
|
536 |
//1. Mark the heap
|
|
537 |
//2. Create SMS message with test data (4) and SMSC set in first and last segment.
|
|
538 |
//3. Send the message and check request completes KErrNone
|
|
539 |
//4. Delete the message
|
|
540 |
//5. Receive "completed" status report for first PDU - PDU(156)
|
|
541 |
//6. Receive "completed" status report for last PDU - PDU(157)
|
|
542 |
//7. Receive "completed" status report for second PDU - PDU(158)
|
|
543 |
//8. Unmark the heap
|
|
544 |
//!@SYMTestExpectedResults A notification is generated on receiving PDU(157).
|
|
545 |
RUN_TEST_STEP 100 TE_smsprt TestReceivingSMSCSomePDUs z:\testdata\configs\te_statusReportScheme.ini CompletedStatusReportForFirstAndThirdPDUSMSC
|
|
546 |
END_TESTCASE SMS-GSMU-0119
|
|
547 |
|
|
548 |
|
|
549 |
START_TESTCASE SMS-GSMU-0120
|
|
550 |
//!@SYMTestCaseID SMS-GSMU-0120
|
|
551 |
//!@SYMFssID CR0205
|
|
552 |
//!@SYMTestPriority High
|
|
553 |
//!@SYMTestCaseDesc Receive "permanent failure" status reports for first and second PDU of a multiple 8 bit PDU message with SMSC set (0x01) in first and second only.
|
|
554 |
//!@SYMTestActions
|
|
555 |
//1. Mark the heap
|
|
556 |
//2. Create SMS message with test data (4) and SMSC set in first and last segment.
|
|
557 |
//3. Send the message and check request completes KErrNone
|
|
558 |
//4. Delete the message
|
|
559 |
//5. Receive "permanent failure" status report for first PDU - PDU(159)
|
|
560 |
//6. Receive "permanent failure" status report for second PDU - PDU(160)
|
|
561 |
//7. Receive "permanent failure" status report for last PDU - PDU(161)
|
|
562 |
//8. Unmark the heap
|
|
563 |
//!@SYMTestExpectedResults A notification is generated on receiving PDU(160).
|
|
564 |
RUN_TEST_STEP 100 TE_smsprt TestReceivingSMSCSomePDUs z:\testdata\configs\te_statusReportScheme.ini PermanentFailureStatusReportForFirstAndSecondPDUSMSC
|
|
565 |
END_TESTCASE SMS-GSMU-0120
|
|
566 |
|
|
567 |
|
|
568 |
START_TESTCASE SMS-GSMU-0049
|
|
569 |
//!@SYMTestCaseID SMS-GSMU-0049
|
|
570 |
//!@SYMFssID CR0205
|
|
571 |
//!@SYMTestPriority High
|
|
572 |
//!@SYMTestCaseDesc Receive single 8 bit PDU with TP-SRR status report scheme.
|
|
573 |
//!@SYMTestActions
|
|
574 |
//1. Mark the heap
|
|
575 |
//2. Trigger the sending of messages with sending message
|
|
576 |
//3. Receive a message of PDU (804).
|
|
577 |
//4. Delete the message
|
|
578 |
//5. Unmark the heap
|
|
579 |
//!@SYMTestExpectedResults Message received has TSmsStatusReportScheme::EDefaultScheme scheme and has text of test data(2).
|
|
580 |
RUN_TEST_STEP 100 TE_smsprt TestReceivingDeliversWithTPSRR z:\testdata\configs\te_statusReportScheme.ini ReceiveDeliversWithTPSRRSingle8Bit
|
|
581 |
END_TESTCASE SMS-GSMU-0049
|
|
582 |
|
|
583 |
|
|
584 |
START_TESTCASE SMS-GSMU-0058
|
|
585 |
//!@SYMTestCaseID SMS-GSMU-0058
|
|
586 |
//!@SYMFssID CR0205
|
|
587 |
//!@SYMTestPriority High
|
|
588 |
//!@SYMTestCaseDesc Receive 8 bit multiple PDU message with no status report scheme.
|
|
589 |
//!@SYMTestActions
|
|
590 |
//1. Mark the heap
|
|
591 |
//2. Trigger receive by sending a message PDU(1)
|
|
592 |
//3. Receive PDUs (826-828) the message and check request completes KErrNone
|
|
593 |
//4. Check message contains text of test data (4) and has TSmsStatusReportScheme::EDefaultScheme scheme.
|
|
594 |
//5. Delete the message
|
|
595 |
//6. Unmark the heap
|
|
596 |
//!@SYMTestExpectedResults The message is verified as containing test data (4) and is found to have TSmsStatusReportScheme::EDefaultScheme status report scheme set.
|
|
597 |
RUN_TEST_STEP 100 TE_smsprt TestReceivingDeliversWithTPSRR z:\testdata\configs\te_statusReportScheme.ini ReceiveDeliversWithTPSRRMultiple8Bit
|
|
598 |
END_TESTCASE SMS-GSMU-0058
|
|
599 |
|
|
600 |
|
|
601 |
START_TESTCASE SMS-GSMU-0061
|
|
602 |
//!@SYMTestCaseID SMS-GSMU-0061
|
|
603 |
//!@SYMFssID CR0205
|
|
604 |
//!@SYMTestPriority High
|
|
605 |
//!@SYMTestCaseDesc Receive 7 bit multiple PDU message with TP-SRR status report scheme set in all segments.
|
|
606 |
//!@SYMTestActions
|
|
607 |
//1. Mark the heap
|
|
608 |
//2. Trigger receive by sending a message
|
|
609 |
//3. Receive PDUs (32-34) and check request completes successfully
|
|
610 |
//4. Check message it has text data = test data (4) and has TSmsStatusReportScheme::ETPSRRScheme scheme set for every PDU.
|
|
611 |
//5. Delete the message
|
|
612 |
//6. Unmark the heap
|
|
613 |
//!@SYMTestExpectedResults The message received has text of test data (4) and has TSmsStatusReportScheme::ETPSRRScheme scheme set for every PDU.
|
|
614 |
RUN_TEST_STEP 100 TE_smsprt TestReceivingDeliversWithTPSRR z:\testdata\configs\te_statusReportScheme.ini ReceiveDeliversWithTPSRRMultiple7Bit
|
|
615 |
END_TESTCASE SMS-GSMU-0061
|
|
616 |
|
|
617 |
|
|
618 |
START_TESTCASE SMS-GSMU-0070
|
|
619 |
//!@SYMTestCaseID SMS-GSMU-0070
|
|
620 |
//!@SYMFssID CR0205
|
|
621 |
//!@SYMTestPriority High
|
|
622 |
//!@SYMTestCaseDesc Receive 8 bit multiple PDU message with TP-SRR scheme set in the third (last) PDU only.
|
|
623 |
//!@SYMTestActions
|
|
624 |
//1. Mark the heap
|
|
625 |
//2. Trigger receiving by sending a message
|
|
626 |
//3. Receive a message PDUs(844-846) and check message is received ok.
|
|
627 |
//4. Check message has TSmsStatusReportScheme::ETPSRRScheme scheme set only in last PDU.
|
|
628 |
//5. Delete the message
|
|
629 |
//6. Unmark the heap
|
|
630 |
//!@SYMTestExpectedResults The message received has text of test data (4) and has TSmsStatusReportScheme::ETPSRRScheme scheme set in third segment only.
|
|
631 |
RUN_TEST_STEP 100 TE_smsprt TestDeliversWithTPSRRScheme z:\testdata\configs\te_statusReportScheme.ini ReceiveDeliversWithTPSRRMultiple8BitLastPDU
|
|
632 |
END_TESTCASE SMS-GSMU-0070
|
|
633 |
|
|
634 |
|
|
635 |
START_TESTCASE SMS-GSMU-0051
|
|
636 |
//!@SYMTestCaseID SMS-GSMU-0051
|
|
637 |
//!@SYMFssID CR0205
|
|
638 |
//!@SYMTestPriority High
|
|
639 |
//!@SYMTestCaseDesc Send single 8 bit PDU with SMSC status report scheme specifying no status report requested, i.e. 0x00.
|
|
640 |
//!@SYMTestActions
|
|
641 |
//1. Mark the heap
|
|
642 |
//2. Create the message with test data (3)
|
|
643 |
//3. Set the scheme to TSmsStatusReportScheme::EControlParametersScheme and value = 0x00
|
|
644 |
//4. Send the message check request completes KErrNone
|
|
645 |
//5. Delete the message.
|
|
646 |
//6. Unmark the heap
|
|
647 |
//!@SYMTestExpectedResults The message is sent successfully - SIMTSY has verified the format and correctness of the PDU = PDU(805) - it contains an SMSC control element with a value of 0x00.
|
|
648 |
RUN_TEST_STEP 100 TE_smsprt TestSendingSMSCSchemeSinglePDUNoBitSet z:\testdata\configs\te_statusReportScheme.ini Send8BitSMSCSchemeSinglePDUNoBitSet
|
|
649 |
END_TESTCASE SMS-GSMU-0051
|
|
650 |
|
|
651 |
|
|
652 |
START_TESTCASE SMS-GSMU-0052
|
|
653 |
//!@SYMTestCaseID SMS-GSMU-0052
|
|
654 |
//!@SYMFssID CR0205
|
|
655 |
//!@SYMTestPriority High
|
|
656 |
//!@SYMTestCaseDesc Receive single 7 bit PDU with SMSC status report scheme specifying no status report requested, i.e. 0x00.
|
|
657 |
//!@SYMTestActions
|
|
658 |
//1. Mark the heap
|
|
659 |
//2. Receive a message of PDU.
|
|
660 |
//3. Test that the scheme is set to SMSC and the status report = 0x00.
|
|
661 |
//4. Delete the message
|
|
662 |
//5. Unmark the heap
|
|
663 |
//!@SYMTestExpectedResults Message received has TSmsStatusReportScheme::EControlParametersScheme scheme set with value=0x00.
|
|
664 |
RUN_TEST_STEP 100 TE_smsprt TestReceivingSMSCSinglePDU z:\testdata\configs\te_statusReportScheme.ini Receive7BitSMSCSchemSinglePDU
|
|
665 |
END_TESTCASE SMS-GSMU-0052
|
|
666 |
|
|
667 |
|
|
668 |
START_TESTCASE SMS-GSMU-0055
|
|
669 |
//!@SYMTestCaseID SMS-GSMU-0055
|
|
670 |
//!@SYMFssID CR0205
|
|
671 |
//!@SYMTestPriority High
|
|
672 |
//!@SYMTestCaseDesc Send single 8 bit PDU with SMSC status report scheme with status report requested for every possible combination, i.e. ESmsStatusReportTransactionCompleted=0x01, ESmsStatusReportPermanentError, ESmsStatusReportTemporaryError, ESmsStatusReportTemporaryErrorSCTrying, ESmsStatusReportForFutureUse1, ESmsStatusReportForFutureUse2, ESmsStatusReportCancelRestSRR, ESmsStatusReportIncludeOriginalUDH, ESmsSelectiveStatusReportMask.
|
|
673 |
//!@SYMTestActions
|
|
674 |
//1. Mark the heap
|
|
675 |
//2. Create the message with test data (2)
|
|
676 |
//3. Set scheme to TSmsStatusReportScheme::EControlParametersScheme
|
|
677 |
//3. For each configuration of TSmsSMSCControlParameters
|
|
678 |
// 3.1 Set value
|
|
679 |
// 3.2 Send the message
|
|
680 |
// 3.3 Delete the message.
|
|
681 |
//4. Unmark the heap
|
|
682 |
//!@SYMTestExpectedResults The messages configuration is set for all values up to ESmsStatusReportTemporaryErrorSCTrying. The messages are sent successfully and SIMTSY has verified the format and correctness of the PDU - PDU(806-813) that it contains an SMSC control element with the corresponding SMSC control parameter value.
|
|
683 |
RUN_TEST_STEP 100 TE_smsprt TestSendingSMSCSchemeSinglePDUSomeBitsSet z:\testdata\configs\te_statusReportScheme.ini Send8BitSMSCSchemeSinglePDUSomeBitsSet
|
|
684 |
END_TESTCASE SMS-GSMU-0055
|
|
685 |
|
|
686 |
|
|
687 |
START_TESTCASE SMS-GSMU-0056
|
|
688 |
//!@SYMTestCaseID SMS-GSMU-0056
|
|
689 |
//!@SYMFssID CR0205
|
|
690 |
//!@SYMTestPriority High
|
|
691 |
//!@SYMTestCaseDesc Receive single 8 bit PDU messages with SMSC status report scheme set with status report requested for the lowest 4 bits that is 0x0F
|
|
692 |
//!@SYMTestActions
|
|
693 |
//1. Mark the heap
|
|
694 |
//2. Receive a message of PDU.
|
|
695 |
//3. Test that the scheme is set to SMSC and the status report = 0x0F.
|
|
696 |
//4. Delete the message
|
|
697 |
//5. Unmark the heap
|
|
698 |
//!@SYMTestExpectedResults Message received has TSmsStatusReportScheme::EControlParametersScheme scheme set with value=0x0F.
|
|
699 |
RUN_TEST_STEP 100 TE_smsprt TestReceivingSMSCSinglePDU z:\testdata\configs\te_statusReportScheme.ini Receive8BitSMSCSchemSinglePDU
|
|
700 |
END_TESTCASE SMS-GSMU-0056
|
|
701 |
|
|
702 |
|
|
703 |
START_TESTCASE SMS-GSMU-0064
|
|
704 |
//!@SYMTestCaseID SMS-GSMU-0064
|
|
705 |
//!@SYMFssID CR0205
|
|
706 |
//!@SYMTestPriority High
|
|
707 |
//!@SYMTestCaseDesc Send 8 bit multiple PDU message with SMSC status report scheme and set to not requesting status reports, i.e. 0x00.
|
|
708 |
//!@SYMTestActions
|
|
709 |
//1. Mark the heap
|
|
710 |
//2. Create the message with test data (4)
|
|
711 |
//3. Set scheme to TSmsStatusReportScheme::EControlParametersScheme scheme and with value 0x00
|
|
712 |
//4. Send the message and check request completes KErrNone
|
|
713 |
//5. Delete the message
|
|
714 |
//6. Unmark the heap
|
|
715 |
//!@SYMTestExpectedResults The message sent is verified by SimTSY, PDUs (835-837) that it contains SMSC IE in every PDU and with value of 0x00.
|
|
716 |
RUN_TEST_STEP 100 TE_smsprt TestSendingSMSCSchemeMultiplePDUsSomeBitsSet z:\testdata\configs\te_statusReportScheme.ini Send8BitSMSCSchemeMultiplePDU
|
|
717 |
END_TESTCASE SMS-GSMU-0064
|
|
718 |
|
|
719 |
|
|
720 |
START_TESTCASE SMS-GSMU-0065
|
|
721 |
//!@SYMTestCaseID SMS-GSMU-0065
|
|
722 |
//!@SYMFssID CR0205
|
|
723 |
//!@SYMTestPriority High
|
|
724 |
//!@SYMTestCaseDesc Receive 7 bit multiple PDU message with SMSC status report scheme and all PDUs set to not requesting status reports, i.e. 0x00.
|
|
725 |
//!@SYMTestActions
|
|
726 |
//1. Mark the heap
|
|
727 |
//2. Receive a message of PDU.
|
|
728 |
//3. Test that the scheme is set to SMSC and the status report = 0x00 for all the PDUs.
|
|
729 |
//4. Delete the message
|
|
730 |
//5. Unmark the heap
|
|
731 |
//!@SYMTestExpectedResults Message received has TSmsStatusReportScheme::EControlParametersScheme scheme set with value=0x00.
|
|
732 |
RUN_TEST_STEP 100 TE_smsprt TestReceivingSMSCMultiplePDU z:\testdata\configs\te_statusReportScheme.ini Receive7BitSMSCSchemeMultiplePDU
|
|
733 |
END_TESTCASE SMS-GSMU-0065
|
|
734 |
|
|
735 |
|
|
736 |
START_TESTCASE SMS-GSMU-0071
|
|
737 |
//!@SYMTestCaseID SMS-GSMU-0071
|
|
738 |
//!@SYMFssID CR0205
|
|
739 |
//!@SYMTestPriority High
|
|
740 |
//!@SYMTestCaseDesc Send 7 bit multiple PDU message with TSmsStatusReportScheme::EControlParametersScheme status report scheme for first and last PDU and set to ESmsStatusReportPermanentError and ESmsStatusReportTemporaryError respectively.
|
|
741 |
//!@SYMTestActions
|
|
742 |
//1. Mark the heap
|
|
743 |
//2. Create the message with test data (4)
|
|
744 |
//3. Set SMSC scheme for first and last PDU or segment and set values to ESmsStatusReportPermanentError and ESmsStatusReportTemporaryError respectively.
|
|
745 |
//4. Send the message and check request completes KErrNone
|
|
746 |
//5. Delete the message
|
|
747 |
//6. Unmark the heap
|
|
748 |
//!@SYMTestExpectedResults The message sent is verified by SimTSY by receving PDUs (47-49) which contain SMSC scheme for first and last PDU with values ESmsStatusReportPermanentError and ESmsStatusReportTemporaryError respectively.
|
|
749 |
RUN_TEST_STEP 100 TE_smsprt TestSendingSMSCSchemeMultiplePDUsSomeBitsSet z:\testdata\configs\te_statusReportScheme.ini Send7BitSMSCSchemeMultiplePDU
|
|
750 |
END_TESTCASE SMS-GSMU-0071
|
|
751 |
|
|
752 |
|
|
753 |
START_TESTCASE SMS-GSMU-0074
|
|
754 |
//!@SYMTestCaseID SMS-GSMU-0074
|
|
755 |
//!@SYMFssID CR0205
|
|
756 |
//!@SYMTestPriority High
|
|
757 |
//!@SYMTestCaseDesc Receive 8 bit multiple PDU message with SMSC status report scheme set in first and second PDU only and with values ESmsStatusReportForFutureUse2 and ESmsStatusReportCancelRestSRR respectively.
|
|
758 |
//!@SYMTestActions
|
|
759 |
//1. Mark the heap
|
|
760 |
//2. Receive a message of PDU.
|
|
761 |
//3. Test that the scheme is set to SMSC and the status report = 0x20 for the first PDU and 0x80 for the second PDU.
|
|
762 |
//4. Delete the message
|
|
763 |
//5. Unmark the heap
|
|
764 |
//!@SYMTestExpectedResults Message received has TSmsStatusReportScheme::EControlParametersScheme scheme set with value = 0x20 for the first PDU and 0x80 for the second PDU.
|
|
765 |
RUN_TEST_STEP 100 TE_smsprt TestReceivingSMSCMultiplePDU z:\testdata\configs\te_statusReportScheme.ini Receive8BitSMSCSchemMultiplePDU
|
|
766 |
END_TESTCASE SMS-GSMU-0074
|
|
767 |
RUN_SCRIPT z:\testdata\scripts\smsstackcleanprivatedata.script
|