|
1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 LOAD_SUITE Te_EtelMM |
|
17 |
|
18 PRINT Run Te_EtelMM - Testing Multimode Cellular API |
|
19 |
|
20 //!@file |
|
21 START_TESTCASE TEL-ETEL-NA-2000 |
|
22 //!@SYMTestCaseID TEL-ETEL-NA-2000 |
|
23 //!@SYMREQ REQ0000 |
|
24 //!@SYMTestCaseDesc Test that load Multimode driver |
|
25 //!@SYMTestPriority High |
|
26 //!@SYMTestActions Loads Multimode driver |
|
27 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave |
|
28 //!@SYMTestType CT |
|
29 RUN_TEST_STEP 300 Te_EtelMM TestMMLoadDrv |
|
30 |
|
31 END_TESTCASE TEL-ETEL-NA-2000 |
|
32 |
|
33 START_TESTCASE TEL-ETEL-NA-2001 |
|
34 //!@SYMTestCaseID TEL-ETEL-NA-2001 |
|
35 //!@SYMREQ REQ0000 |
|
36 //!@SYMTestCaseDesc Test mobile phone functionality |
|
37 //!@SYMTestPriority High |
|
38 //!@SYMTestActions Tests mobile phone facilities like for example: sim access, |
|
39 //! mobile signal, mobile auto redial etc. |
|
40 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave |
|
41 //!@SYMTestType CT |
|
42 RUN_TEST_STEP 300 Te_EtelMM TestPhone |
|
43 |
|
44 END_TESTCASE TEL-ETEL-NA-2001 |
|
45 |
|
46 START_TESTCASE TEL-ETEL-NA-2002 |
|
47 //!@SYMTestCaseID TEL-ETEL-NA-2002 |
|
48 //!@SYMREQ REQ0000 |
|
49 //!@SYMTestCaseDesc Test mobile line functionality |
|
50 //!@SYMTestPriority High |
|
51 //!@SYMTestActions Tests line functions |
|
52 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave |
|
53 //!@SYMTestType CT |
|
54 RUN_TEST_STEP 300 Te_EtelMM TestLine |
|
55 |
|
56 END_TESTCASE TEL-ETEL-NA-2002 |
|
57 |
|
58 START_TESTCASE TEL-ETEL-NA-2003 |
|
59 //!@SYMTestCaseID TEL-ETEL-NA-2003 |
|
60 //!@SYMREQ REQ0000 |
|
61 //!@SYMTestCaseDesc Test mobile call functionality |
|
62 //!@SYMTestPriority High |
|
63 //!@SYMTestActions Tests call functions |
|
64 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave |
|
65 //!@SYMTestType CT |
|
66 RUN_TEST_STEP 300 Te_EtelMM TestCall |
|
67 |
|
68 END_TESTCASE TEL-ETEL-NA-2003 |
|
69 |
|
70 START_TESTCASE TEL-ETEL-NA-2004 |
|
71 //!@SYMTestCaseID TEL-ETEL-NA-2004 |
|
72 //!@SYMREQ REQ0000 |
|
73 //!@SYMTestCaseDesc Test mobile call functionality |
|
74 //!@SYMTestPriority High |
|
75 //!@SYMTestActions Tests call functions - 2nd part |
|
76 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave |
|
77 //!@SYMTestType CT |
|
78 RUN_TEST_STEP 300 Te_EtelMM TestCall-2nd-part |
|
79 |
|
80 END_TESTCASE TEL-ETEL-NA-2004 |
|
81 |
|
82 START_TESTCASE TEL-ETEL-NA-2005 |
|
83 //!@SYMTestCaseID TEL-ETEL-NA-2005 |
|
84 //!@SYMREQ REQ0000 |
|
85 //!@SYMTestCaseDesc Test mobile call functionality |
|
86 //!@SYMTestPriority High |
|
87 //!@SYMTestActions Tests call functions - 3rd part |
|
88 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave |
|
89 //!@SYMTestType CT |
|
90 RUN_TEST_STEP 300 Te_EtelMM TestCall-3rd-part |
|
91 |
|
92 END_TESTCASE TEL-ETEL-NA-2005 |
|
93 |
|
94 START_TESTCASE TEL-ETEL-NA-2006 |
|
95 //!@SYMTestCaseID TEL-ETEL-NA-2006 |
|
96 //!@SYMREQ REQ0000 |
|
97 //!@SYMTestCaseDesc Test mobile call functionality - ISV |
|
98 //!@SYMTestPriority High |
|
99 //!@SYMTestActions Tests call functions - ISV |
|
100 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave |
|
101 //!@SYMTestType CT |
|
102 RUN_TEST_STEP 300 Te_EtelMM TestCall-ISV |
|
103 |
|
104 END_TESTCASE TEL-ETEL-NA-2006 |
|
105 |
|
106 START_TESTCASE TEL-ETEL-NA-2007 |
|
107 //!@SYMTestCaseID TEL-ETEL-NA-2007 |
|
108 //!@SYMREQ REQ0000 |
|
109 //!@SYMTestCaseDesc Test mobile broadcast messaging functionality |
|
110 //!@SYMTestPriority High |
|
111 //!@SYMTestActions Tests broadcast messaging functions |
|
112 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave |
|
113 //!@SYMTestType CT |
|
114 RUN_TEST_STEP 300 Te_EtelMM TestBrdcastMessaging |
|
115 |
|
116 END_TESTCASE TEL-ETEL-NA-2007 |
|
117 |
|
118 START_TESTCASE TEL-ETEL-NA-2008 |
|
119 //!@SYMTestCaseID TEL-ETEL-NA-2008 |
|
120 //!@SYMREQ REQ0000 |
|
121 //!@SYMTestCaseDesc Test mobile USSD (Unstructured Supplementary Service Data) |
|
122 //! messaging functionality |
|
123 //!@SYMTestPriority High |
|
124 //!@SYMTestActions Tests USSD (Unstructured Supplementary Service Data) messaging |
|
125 //! functions |
|
126 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave |
|
127 //!@SYMTestType CT |
|
128 RUN_TEST_STEP 300 Te_EtelMM TestUssdMessaging |
|
129 |
|
130 END_TESTCASE TEL-ETEL-NA-2008 |
|
131 |
|
132 START_TESTCASE TEL-ETEL-NA-2009 |
|
133 //!@SYMTestCaseID TEL-ETEL-NA-2009 |
|
134 //!@SYMREQ REQ0000 |
|
135 //!@SYMTestCaseDesc Test mobile SMS messaging functionality |
|
136 //!@SYMTestPriority High |
|
137 //!@SYMTestActions Tests SMS messaging functions |
|
138 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave |
|
139 //!@SYMTestType CT |
|
140 RUN_TEST_STEP 300 Te_EtelMM TestSmsMessaging |
|
141 |
|
142 END_TESTCASE TEL-ETEL-NA-2009 |
|
143 |
|
144 START_TESTCASE TEL-ETEL-NA-2010 |
|
145 //!@SYMTestCaseID TEL-ETEL-NA-2010 |
|
146 //!@SYMREQ REQ0000 |
|
147 //!@SYMTestCaseDesc Test mobile SMS storage functionality |
|
148 //!@SYMTestPriority High |
|
149 //!@SYMTestActions Tests SMS storage functions |
|
150 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave |
|
151 //!@SYMTestType CT |
|
152 RUN_TEST_STEP 300 Te_EtelMM TestSmsStore |
|
153 |
|
154 END_TESTCASE TEL-ETEL-NA-2010 |
|
155 |
|
156 START_TESTCASE TEL-ETEL-NA-2011 |
|
157 //!@SYMTestCaseID TEL-ETEL-NA-2011 |
|
158 //!@SYMREQ REQ0000 |
|
159 //!@SYMTestCaseDesc Test mobile NAM (Number Assignment Module) storage |
|
160 //! functionality |
|
161 //!@SYMTestPriority High |
|
162 //!@SYMTestActions Tests NAM (Number Assignment Module storage functions |
|
163 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave |
|
164 //!@SYMTestType CT |
|
165 RUN_TEST_STEP 300 Te_EtelMM TestNamStore |
|
166 |
|
167 END_TESTCASE TEL-ETEL-NA-2011 |
|
168 |
|
169 START_TESTCASE TEL-ETEL-NA-2012 |
|
170 //!@SYMTestCaseID TEL-ETEL-NA-2012 |
|
171 //!@SYMREQ REQ0000 |
|
172 //!@SYMTestCaseDesc Test mobile Own Number storage functionality |
|
173 //!@SYMTestPriority High |
|
174 //!@SYMTestActions Tests Own Number storage functions |
|
175 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave |
|
176 //!@SYMTestType CT |
|
177 RUN_TEST_STEP 300 Te_EtelMM TestOnStore |
|
178 |
|
179 END_TESTCASE TEL-ETEL-NA-2012 |
|
180 |
|
181 START_TESTCASE TEL-ETEL-NA-2013 |
|
182 //!@SYMTestCaseID TEL-ETEL-NA-2013 |
|
183 //!@SYMREQ REQ0000 |
|
184 //!@SYMTestCaseDesc Test mobile Emergency Number storage functionality |
|
185 //!@SYMTestPriority High |
|
186 //!@SYMTestActions Tests Emergency Number functions |
|
187 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave |
|
188 //!@SYMTestType CT |
|
189 RUN_TEST_STEP 300 Te_EtelMM TestEnStore |
|
190 |
|
191 END_TESTCASE TEL-ETEL-NA-2013 |
|
192 |
|
193 START_TESTCASE TEL-ETEL-NA-2014 |
|
194 //!@SYMTestCaseID TEL-ETEL-NA-2014 |
|
195 //!@SYMREQ REQ0000 |
|
196 //!@SYMTestCaseDesc Test mobile phone book number storage functionality |
|
197 //!@SYMTestPriority High |
|
198 //!@SYMTestActions Test phonebook functions |
|
199 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave |
|
200 //!@SYMTestType CT |
|
201 RUN_TEST_STEP 300 Te_EtelMM TestPhonebookStore |
|
202 |
|
203 END_TESTCASE TEL-ETEL-NA-2014 |
|
204 |
|
205 START_TESTCASE TEL-ETEL-NA-2015 |
|
206 //!@SYMTestCaseID TEL-ETEL-NA-2015 |
|
207 //!@SYMREQ REQ0000 |
|
208 //!@SYMTestCaseDesc Test phonebook store utilities |
|
209 //!@SYMTestPriority High |
|
210 //!@SYMTestActions Test PhoneBook TLV utility library functionality |
|
211 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave |
|
212 //!@SYMTestType CT |
|
213 RUN_TEST_STEP 300 Te_EtelMM TestPhonebookStoreU |
|
214 |
|
215 END_TESTCASE TEL-ETEL-NA-2015 |
|
216 |
|
217 START_TESTCASE TEL-ETEL-NA-2016 |
|
218 //!@SYMTestCaseID TEL-ETEL-NA-2016 |
|
219 //!@SYMREQ REQ0000 |
|
220 //!@SYMTestCaseDesc Test mobile phone conference call functionality |
|
221 //!@SYMTestPriority High |
|
222 //!@SYMTestActions Creates conference call |
|
223 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave |
|
224 //!@SYMTestType CT |
|
225 RUN_TEST_STEP 300 Te_EtelMM TestConferenceCall |
|
226 |
|
227 END_TESTCASE TEL-ETEL-NA-2016 |
|
228 |
|
229 START_TESTCASE TEL-ETEL-NA-2017 |
|
230 //!@SYMTestCaseID TEL-ETEL-NA-2017 |
|
231 //!@SYMREQ REQ0000 |
|
232 //!@SYMTestCaseDesc Test API List class functionality |
|
233 //!@SYMTestPriority High |
|
234 //!@SYMTestActions Tests API List class functions |
|
235 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave |
|
236 //!@SYMTestType CT |
|
237 RUN_TEST_STEP 300 Te_EtelMM TestMMLists |
|
238 |
|
239 END_TESTCASE TEL-ETEL-NA-2017 |
|
240 |
|
241 START_TESTCASE TEL-ETEL-NA-2018 |
|
242 //!@SYMTestCaseID TEL-ETEL-NA-2018 |
|
243 //!@SYMREQ REQ0000 |
|
244 //!@SYMTestCaseDesc Test step AuthorizationData |
|
245 //!@SYMTestPriority High |
|
246 //!@SYMTestActions Tests serialization, internalizes in OOM situation, tests IPC |
|
247 //! to ETEL/TSY,and at the end tests asynchronous |
|
248 //! NotifyImsAuthorizationInfoChange & Cancel |
|
249 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave |
|
250 //!@SYMTestType CT |
|
251 RUN_TEST_STEP 100 Te_EtelMM TestAuthorizationData |
|
252 |
|
253 END_TESTCASE TEL-ETEL-NA-2018 |
|
254 |
|
255 START_TESTCASE TEL-ETEL-NA-2019 |
|
256 //!@SYMTestCaseID TEL-ETEL-NA-2019 |
|
257 //!@SYMREQ REQ0000 |
|
258 //!@SYMTestCaseDesc Test step Authenticate |
|
259 //!@SYMTestPriority High |
|
260 //!@SYMTestActions Performs authentication test |
|
261 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave |
|
262 //!@SYMTestType CT |
|
263 RUN_TEST_STEP 100 Te_EtelMM TestAuthenticate |
|
264 |
|
265 END_TESTCASE TEL-ETEL-NA-2019 |
|
266 |
|
267 START_TESTCASE TEL-ETEL-NA-2021 |
|
268 //!@SYMTestCaseID TEL-ETEL-NA-2021 |
|
269 //!@SYMREQ REQ0000 |
|
270 //!@SYMTestCaseDesc Test how RMobilePhone handles OOM |
|
271 //!@SYMTestPriority High |
|
272 //!@SYMTestActions Performs series of test on how the following classes handles |
|
273 //! OOM situation: |
|
274 //! - CRetrieveMobilePhoneDetectedNetworks, |
|
275 //! - CRetrieveMobilePhoneCFList, |
|
276 //! - CRetrieveMobilePhoneCBList, |
|
277 //! - CRetrieveMobilePhoneCWList, |
|
278 //! - CRetrieveMobilePhoneCcbsList, |
|
279 //! - CRetrieveMobilePhonePreferredNetworks |
|
280 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave |
|
281 //!@SYMTestType CT |
|
282 RUN_TEST_STEP 300 Te_EtelMM TestMemPhone |
|
283 |
|
284 END_TESTCASE TEL-ETEL-NA-2021 |
|
285 |
|
286 START_TESTCASE TEL-ETEL-NA-2022 |
|
287 //!@SYMTestCaseID TEL-ETEL-NA-2022 |
|
288 //!@SYMREQ REQ0000 |
|
289 //!@SYMTestCaseDesc Test broadcast messaging functions with Out Of Memory |
|
290 //!@SYMTestPriority High |
|
291 //!@SYMTestActions Copies RMobileBroadcastMessaging with OOM |
|
292 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave |
|
293 //!@SYMTestType CT |
|
294 RUN_TEST_STEP 300 Te_EtelMM TestMemBrdcastMess |
|
295 |
|
296 END_TESTCASE TEL-ETEL-NA-2022 |
|
297 |
|
298 START_TESTCASE TEL-ETEL-NA-2023 |
|
299 //!@SYMTestCaseID TEL-ETEL-NA-2023 |
|
300 //!@SYMREQ REQ0000 |
|
301 //!@SYMTestCaseDesc Test RMobileSmsMessaging coping with OOM |
|
302 //!@SYMTestPriority High |
|
303 //!@SYMTestActions Copies RMobileSmsMessaging with OOM |
|
304 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave |
|
305 //!@SYMTestType CT |
|
306 RUN_TEST_STEP 300 Te_EtelMM TestMemSmsMessaging |
|
307 |
|
308 END_TESTCASE TEL-ETEL-NA-2023 |
|
309 |
|
310 START_TESTCASE TEL-ETEL-NA-2024 |
|
311 //!@SYMTestCaseID TEL-ETEL-NA-2024 |
|
312 //!@SYMREQ REQ0000 |
|
313 //!@SYMTestCaseDesc Test mobile SMS storage functionality |
|
314 //!@SYMTestPriority High |
|
315 //!@SYMTestActions Tests mobile SMS storage functionality |
|
316 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave |
|
317 //!@SYMTestType CT |
|
318 RUN_TEST_STEP 300 Te_EtelMM TestMemSmsStore |
|
319 |
|
320 END_TESTCASE TEL-ETEL-NA-2024 |
|
321 |
|
322 START_TESTCASE TEL-ETEL-NA-2025 |
|
323 //!@SYMTestCaseID TEL-ETEL-NA-2025 |
|
324 //!@SYMREQ REQ0000 |
|
325 //!@SYMTestCaseDesc Test how Mobile NAM Storage Functionality handles OOM |
|
326 //!@SYMTestPriority High |
|
327 //!@SYMTestActions Test how Mobile NAM (Number Assignment Module) Storage |
|
328 //! Functionality handles OOM |
|
329 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave |
|
330 //!@SYMTestType CT |
|
331 RUN_TEST_STEP 300 Te_EtelMM TestMemNamStore |
|
332 |
|
333 END_TESTCASE TEL-ETEL-NA-2025 |
|
334 |
|
335 START_TESTCASE TEL-ETEL-NA-2026 |
|
336 //!@SYMTestCaseID TEL-ETEL-NA-2026 |
|
337 //!@SYMREQ REQ0000 |
|
338 //!@SYMTestCaseDesc Test mobile Own Number storage functionality in OOM |
|
339 //! situation |
|
340 //!@SYMTestPriority High |
|
341 //!@SYMTestActions Copies RMobileONStore with OOM |
|
342 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave |
|
343 //!@SYMTestType CT |
|
344 RUN_TEST_STEP 300 Te_EtelMM TestMemOnStore |
|
345 |
|
346 END_TESTCASE TEL-ETEL-NA-2026 |
|
347 |
|
348 START_TESTCASE TEL-ETEL-NA-2027 |
|
349 //!@SYMTestCaseID TEL-ETEL-NA-2027 |
|
350 //!@SYMREQ REQ0000 |
|
351 //!@SYMTestCaseDesc Test mobile Emergency Number storage functionality in OOM |
|
352 //! situation |
|
353 //!@SYMTestPriority High |
|
354 //!@SYMTestActions Copies RMobileENStore with OOM |
|
355 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave |
|
356 //!@SYMTestType CT |
|
357 RUN_TEST_STEP 300 Te_EtelMM TestMemEnStore |
|
358 |
|
359 END_TESTCASE TEL-ETEL-NA-2027 |
|
360 |
|
361 START_TESTCASE TEL-ETEL-NA-2028 |
|
362 //!@SYMTestCaseID TEL-ETEL-NA-2028 |
|
363 //!@SYMREQ REQ0000 |
|
364 //!@SYMTestCaseDesc Test API List class functionality in OOM situation |
|
365 //!@SYMTestPriority High |
|
366 //!@SYMTestActions Tests List classes coping with OOM |
|
367 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave |
|
368 //!@SYMTestType CT |
|
369 RUN_TEST_STEP 300 Te_EtelMM TestMemMMLists |
|
370 |
|
371 END_TESTCASE TEL-ETEL-NA-2028 |
|
372 |
|
373 START_TESTCASE TEL-ETEL-NA-2029 |
|
374 //!@SYMTestCaseID TEL-ETEL-NA-2029 |
|
375 //!@SYMPREQ PREQ1054 |
|
376 //!@SYMTestCaseDesc Test Telephony (U)SIM Authenticate functions |
|
377 //!@SYMTestPriority High |
|
378 //!@SYMTestActions |
|
379 //!@SYMTestExpectedResults Pass |
|
380 //!@SYMTestType CT |
|
381 RUN_TEST_STEP 300 Te_EtelMM TestMMSmartCardAuthenticate |
|
382 |
|
383 END_TESTCASE TEL-ETEL-NA-2029 |
|
384 |
|
385 START_TESTCASE TEL-ETEL-NA-2030 |
|
386 //!@SYMTestCaseID TEL-ETEL-NA-2030 |
|
387 //!@SYMPREQ PREQ1054 |
|
388 //!@SYMTestCaseDesc Test Telephony EAP-enabled functional unit |
|
389 //!@SYMTestPriority High |
|
390 //!@SYMTestActions |
|
391 //!@SYMTestExpectedResults Pass |
|
392 //!@SYMTestType CT |
|
393 RUN_TEST_STEP 300 Te_EtelMM TestMMSmartCardBasedEap |
|
394 |
|
395 END_TESTCASE TEL-ETEL-NA-2030 |
|
396 |
|
397 START_TESTCASE TEL-ETEL-NA-2031 |
|
398 //!@SYMTestCaseID TEL-ETEL-NA-2031 |
|
399 //!@SYMPREQ PREQ1054 |
|
400 //!@SYMTestCaseDesc Test bad usage of Telephony EAP-enabled functional unit |
|
401 //!@SYMTestPriority High |
|
402 //!@SYMTestActions |
|
403 //!@SYMTestExpectedResults Pass |
|
404 //!@SYMTestType CT |
|
405 RUN_TEST_STEP 300 Te_EtelMM TestMMSmartCardBasedEapBadClient |
|
406 |
|
407 END_TESTCASE TEL-ETEL-NA-2031 |
|
408 |
|
409 START_TESTCASE TEL-ETEL-NA-2020 |
|
410 //!@SYMTestCaseID TEL-ETEL-NA-2020 |
|
411 //!@SYMREQ REQ0000 |
|
412 //!@SYMTestCaseDesc Test that unload Multimode driver |
|
413 //!@SYMTestPriority High |
|
414 //!@SYMTestActions Unloads Multimode driver |
|
415 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave |
|
416 //!@SYMTestType CT |
|
417 RUN_TEST_STEP 300 Te_EtelMM TestMMUnLoadDrv |
|
418 END_TESTCASE TEL-ETEL-NA-2020 |
|
419 |
|
420 |
|
421 START_TESTCASE TEL-ETEL-NA-2032 |
|
422 //!@SYMTestCaseID TEL-ETEL-NA-2032 |
|
423 //!@SYMAPI RTelServer::SetPriorityClient |
|
424 //!@SYMTestCaseDesc To check even under low memory condition of default Etel process heap ,the APIs using reserved heap doesn’t fail |
|
425 //!@SYMTestPriority High |
|
426 //!@SYMTestActions Call SetPriorityClient API to preallocate the heap memory, then call __DbgFailNext macro with a parameter telling in which allocation of default heap memory it has to fail and then call the DialEmergencyCall API. |
|
427 //!@SYMTestExpectedResults As DialEmergencyCall API using reserved heap it has to pass in OOM condition. |
|
428 //!@SYMTestType CT |
|
429 RUN_TEST_STEP 300 Te_EtelMM TestMMSetPrClientPreallocHeap |
|
430 |
|
431 END_TESTCASE TEL-ETEL-NA-2032 |
|
432 |
|
433 START_TESTCASE TEL-ETEL-NA-2033 |
|
434 //!@SYMTestCaseID TEL-ETEL-NA-2033 |
|
435 //!@SYMAPI RTelServer::SetPriorityClient |
|
436 //!@SYMTestCaseDesc Combination test - SetPriorityClient API and SetEmergencyClient API. |
|
437 //!@SYMTestPriority High |
|
438 //!@SYMTestActions Call SetPriorityClient API followed by SetEmergencyClient API(which preallocate the heap memory for handling Emergency Voice call request), then call __DbgFailNext macro with a parameter telling in which allocation of memory it has to fail and then call DialEmergencyCall API. |
|
439 //!@SYMTestExpectedResults As DialEmergencyCall API using reserved heap it has to pass in OOM condition. |
|
440 //!@SYMTestType CT |
|
441 RUN_TEST_STEP 300 Te_EtelMM TestMMSetPrClientAndSetEmgClient |
|
442 |
|
443 END_TESTCASE TEL-ETEL-NA-2033 |
|
444 |
|
445 START_TESTCASE TEL-ETEL-NA-2034 |
|
446 //!@SYMTestCaseID TEL-ETEL-NA-2034 |
|
447 //!@SYMPREQ REQ6242 |
|
448 //!@SYMTestCaseDesc To check even under low memory condition of default Etel process heap ,the APIs using reserved heap doesn’t fail |
|
449 //!@SYMTestPriority High |
|
450 //!@SYMTestActions Call SetPriorityClientV2 API and then call SetEmergencyClient API(Voice request) to preallocate the heap memory, then call __DbgFailNext macro with a parameter telling in which allocation of default heap memory it has to fail and then call the DialEmergencyCall API. |
|
451 //!@SYMTestExpectedResults As DialEmergencyCall API using reserved heap it has to pass in OOM condition. |
|
452 //!@SYMTestType CT |
|
453 RUN_TEST_STEP 300 Te_EtelMM TestMMSetPrClientV2AndSetEmgClientVoiceReq |
|
454 |
|
455 END_TESTCASE TEL-ETEL-NA-2034 |
|
456 |
|
457 START_TESTCASE TEL-ETEL-NA-2035 |
|
458 //!@SYMTestCaseID TEL-ETEL-NA-2035 |
|
459 //!@SYMPREQ REQ6242 |
|
460 //!@SYMTestCaseDesc Combination test - SetPriorityClientV2 API and SetEmergencyClient API. |
|
461 //!@SYMTestPriority High |
|
462 //!@SYMTestActions Call SetPriorityClientV2 API followed by SetEmergencyClient API(which preallocate the heap memory for handling Emergency LCS request or Voice request), then call __DbgFailNext macro with a parameter telling in which allocation of memory it has to fail and then call DailEmergencyCall API. |
|
463 //!@SYMTestExpectedResults As DialEmergencyCall API using reserved heap it has to pass in OOM condition. |
|
464 //!@SYMTestType CT |
|
465 RUN_TEST_STEP 300 Te_EtelMM TestMMSetPrClientV2AndSetEmgClientVoiceOrLbsReq |
|
466 |
|
467 END_TESTCASE TEL-ETEL-NA-2035 |
|
468 |
|
469 START_TESTCASE TEL-ETEL-NA-2036 |
|
470 //!@SYMTestCaseID TEL-ETEL-NA-2036 |
|
471 //!@SYMREQ REQ6242 |
|
472 //!@SYMTestCaseDesc Ensure SetEmergencyClient API(With Voice request) preallocates heap. |
|
473 //!@SYMTestPriority High |
|
474 //!@SYMTestActions Call SetEmergencyClient API (which preallocate the heap memory for handling Emergency Voice call request), then call __DbgFailNext macro with a parameter telling in which allocation of default heap memory it has to fail and then call the DialEmergencyCall API. |
|
475 //!@SYMTestExpectedResults SetEmergencyClient API preallocate heap and DialEmergencycall pass successfully |
|
476 //!@SYMTestType CT |
|
477 RUN_TEST_STEP 500 Te_EtelMM TestMMSetEmgClientVoiceReqPreallocHeap |
|
478 |
|
479 END_TESTCASE TEL-ETEL-NA-2036 |
|
480 |
|
481 START_TESTCASE TEL-ETEL-NA-2037 |
|
482 //!@SYMTestCaseID TEL-ETEL-NA-2037 |
|
483 //!@SYMREQ REQ6242 |
|
484 //!@SYMTestCaseDesc Combination test -SetEmergencyClient API (with Voice request) and SetPriorityClient API. |
|
485 //!@SYMTestPriority Critical |
|
486 //!@SYMTestActions Call SetEmergencyClient API (which preallocate the heap memory for handling Emergency Voice call request) followed by SetPriorityClient API, then call __DbgFailNext macro and call NotifyMtlr API |
|
487 //!@SYMTestExpectedResults SetEmergencyClient and SetPriorityClient API preallocate heap memory and NotifyMtlr API pass successfully |
|
488 //!@SYMTestType CT |
|
489 RUN_TEST_STEP 10 Te_EtelMM TestMMSetEmgClientVoiceReqAndSetPrClient |
|
490 END_TESTCASE TEL-ETEL-NA-2037 |
|
491 |
|
492 START_TESTCASE TEL-ETEL-NA-2042 |
|
493 //!@SYMTestCaseID TEL-ETEL-NA-2042 |
|
494 //!@SYMREQ REQ0000 |
|
495 //!@SYMTestCaseDesc Test mobile phone functionality |
|
496 //!@SYMTestPriority Low |
|
497 //!@SYMTestActions Tests case in Etel recorder when bad data (null ptrs) passed ito etelmm. |
|
498 //! Etel recoder should be able to record the nulls before panicing. |
|
499 //!@SYMTestExpectedResults Pass after panic. |
|
500 //!@SYMTestType CT |
|
501 |
|
502 RUN_PANIC_STEP 300 Te_EtelMM TestRecorder |
|
503 //! RUN_PANIC_STEP_RESULT 1 Etel Server 300 Te_EtelMM TestRecorder |
|
504 //! Should use RUN_PANIC_STEP_RESULT but 2nd parameter has space in it causing parsing to fail. |
|
505 //! It should be "Etel Server". Do not want to change the etel server code as it will |
|
506 //! change panic codes. Expect this to be a common problem with TEF. |
|
507 END_TESTCASE TEL-ETEL-NA-2042 |
|
508 |
|
509 START_TESTCASE TEL-ETEL-NA-2038 |
|
510 //!@SYMTestCaseID TEL-ETEL-NA-2038 |
|
511 //!@SYMREQ CR1040 |
|
512 //!@SYMTestCaseDesc To check client has the required SID and Capability to successfully call the RMobileCall::DialCallControl API. |
|
513 //!@SYMTestPriority High |
|
514 //!@SYMTestActions Call the RMobileCall::DialCallControl API with required SID and required Capability and check the return value of the API |
|
515 //!@SYMTestExpectedResults KErrNone when SID and capabilities are both correct. |
|
516 //!@SYMTestType CT |
|
517 PRINT -------- Testing RMobileCall::DialCallControl API with correct capability (NetworkControl and NetworkServices) and correct SID |
|
518 RUN_PROGRAM -1 setcap.exe Te_EtelMM.exe 02400 -SID 10281806 Te_EtelMM_cap17.exe |
|
519 PRINT -------- capabilities now set to NetworkControl and NetworkServices |
|
520 LOAD_SUITE Te_EtelMM_cap17 |
|
521 RUN_TEST_STEP 300 Te_EtelMM_cap17 TestDialCallControlCorrectSIDCorrectCap |
|
522 END_TESTCASE TEL-ETEL-NA-2038 |
|
523 |
|
524 START_TESTCASE TEL-ETEL-NA-2039 |
|
525 //!@SYMTestCaseID TEL-ETEL-NA-2039 |
|
526 //!@SYMREQ CR1040 |
|
527 //!@SYMTestCaseDesc To check client has the required SID and Capability to successfully call the RMobileCall::DialCallControl API |
|
528 //!@SYMTestPriority High |
|
529 //!@SYMTestActions Call the RMobileCall::DialCallControl with incorrect SID but required Capability and check the return value of the API |
|
530 //!@SYMTestExpectedResults KErrPermissionDenied returned when SID is incorrect. |
|
531 //!@SYMTestType CT |
|
532 PRINT -------- Testing RMobileCall::DialCallControl API with correct capability (NetworkControl and NetworkServices) and incorrect SID set to 0x123456 |
|
533 RUN_PROGRAM -1 setcap.exe Te_EtelMM.exe 02400 -SID 123456 Te_EtelMM_cap18.exe |
|
534 PRINT -------- capabilities now set to NetworkContol and NetworkServices and SID set to 0x123456 |
|
535 LOAD_SUITE Te_EtelMM_cap18 |
|
536 RUN_TEST_STEP 300 Te_EtelMM_cap18 TestDialCallControlIncorrectSIDCorrectCap |
|
537 END_TESTCASE TEL-ETEL-NA-2039 |
|
538 |
|
539 START_TESTCASE TEL-ETEL-NA-2040 |
|
540 //!@SYMTestCaseID TEL-ETEL-NA-2040 |
|
541 //!@SYMREQ CR1040 |
|
542 //!@SYMTestCaseDesc To check client has the required SID and Capability to successfully call the RMobileCall::DialCallControl API |
|
543 //!@SYMTestPriority High |
|
544 //!@SYMTestActions Call the RMobileCall::DialCallControl API with correct SID and incorrect Capability and check the return value of the API |
|
545 //!@SYMTestExpectedResults KErrPermissionDenied when capability is incorrect. |
|
546 //!@SYMTestType CT |
|
547 PRINT -------- Testing RMobileCall::DialCallControl API with correct SID and incorrect capability,Capability set to WriteDeviceData and SID set to 10281806 |
|
548 RUN_PROGRAM -1 setcap.exe Te_EtelMM.exe 00000020 -SID 10281806 Te_EtelMM_cap19.exe |
|
549 PRINT -------- capabilities now set to WriteDeviceData and SID set to 10281806 |
|
550 LOAD_SUITE Te_EtelMM_cap19 |
|
551 RUN_TEST_STEP 300 Te_EtelMM_cap19 TestDialCallControlCorrectSIDIncorrectCap |
|
552 END_TESTCASE TEL-ETEL-NA-2040 |
|
553 |
|
554 START_TESTCASE TEL-ETEL-NA-2041 |
|
555 //!@SYMTestCaseID TEL-ETEL-NA-2041 |
|
556 //!@SYMREQ CR1040 |
|
557 //!@SYMTestCaseDesc To check client has the required SID and Capability to successfully call the RMobileCall::DialCallControl API |
|
558 //!@SYMTestPriority High |
|
559 //!@SYMTestActions Call the RMobileCall::DialCallControl API with incorrect SID and incorrect Capability and check the return value of the API |
|
560 //!@SYMTestExpectedResults KErrPermissionDenied returned when both SID and capabilities are both wrong. |
|
561 //!@SYMTestType CT |
|
562 PRINT -------- Testing RMobileCall::DialCallControl API with incorrect capability and incorrect SID,Capability set to WriteDeviceData and SID set to 0x123456 |
|
563 RUN_PROGRAM -1 setcap.exe Te_EtelMM.exe 00000020 -SID 123456 Te_EtelMM_cap20.exe |
|
564 PRINT -------- capabilities now set to WriteDeviceData and SID set to 0x123456 |
|
565 LOAD_SUITE Te_EtelMM_cap20 |
|
566 RUN_TEST_STEP 300 Te_EtelMM_cap20 TestDialCallControlIncorrectSIDIncorrectCap |
|
567 END_TESTCASE TEL-ETEL-NA-2041 |