|
1 // Copyright (c) 2008-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 // The script for the Lbs AGPS PSY Test Suite |
|
15 // |
|
16 // |
|
17 |
|
18 //! @File |
|
19 //! @SYMTestSuiteName LBS-AgpsPsySuite |
|
20 //! @SYMScriptTestEnvironment TestExecute using te_lbsagpspsysuite.script |
|
21 |
|
22 |
|
23 //While loading the suite, we shutdown the whole LBS leaving the root process only. |
|
24 LOAD_SUITE te_lbsagpspsysuite |
|
25 |
|
26 |
|
27 PRINT RUN ALL te_lbsagpspsysuite TESTS |
|
28 |
|
29 |
|
30 START_TESTCASE LBS-AgpsPsySuite-NotifyPositionUpdate-Section0 |
|
31 //! @SYMTestCaseID LBS-AgpsPsySuite-NotifyPositionUpdate-Section0 |
|
32 //! @SYMTestCaseDesc Runs several pos update scenarios, which completes normally. |
|
33 //! @SYMTestActions SIMPLE POSITION UPDATE |
|
34 //! 1. Create the positioner and update request listener. |
|
35 //! 2. The update request listener starts listening. |
|
36 //! 3. The positioner issues NPUD. |
|
37 //! 4. Start the active scheduler for some time. |
|
38 //! 5. Check that default update request is received with newClient flag set to ETrue. |
|
39 //! 6. Create and issue the simple pos update. |
|
40 //! 7. Start the active scheduler for some time. |
|
41 //! 8. Check the pos update is received and equal to the sent one. |
|
42 //! |
|
43 //! TWO SIMPLE POSITION UPDATES |
|
44 //! 9. Create the second positioner. |
|
45 //! 10. The update request listener starts listening. |
|
46 //! 11. The first positioner issues NPUD. |
|
47 //! 12. Start the active scheduler for some time. |
|
48 //! 13. Check that default update request is received. |
|
49 //! 14. The second positioner issues NPUD. |
|
50 //! 15. Start the active scheduler for some time. |
|
51 //! 16. Check that no new update request is received. |
|
52 //! 17. Create and issue the simple pos update. |
|
53 //! 18. Start the active scheduler for some time. |
|
54 //! 19. Check the pos update is received and equal to the sent one for both positioners. |
|
55 //! 20. Delete the second positioner. |
|
56 //! |
|
57 //! CANCEL A POSITION UPDATE |
|
58 //! 21. The update request listener starts listening. |
|
59 //! 22. The positioner issues NPUD. |
|
60 //! 23. Start the active scheduler for some time. |
|
61 //! 24. Check that default update request is received. |
|
62 //! 25. The positioner cancels the NPUD. |
|
63 //! 26. Start the active scheduler for some time. |
|
64 //! 27. Check that a cancel update request is received. |
|
65 //! 28. Check that the positioner NPUD is completed with KErrCancel. |
|
66 //! 29. Create and issue the simple pos update. |
|
67 //! |
|
68 //! PARTIAL UPDATE |
|
69 //! 30. Set the positioner to accept partial updates. |
|
70 //! 31. Set the update timeout to KWarmDownInterval. |
|
71 //! 32. The update request listener starts listening. |
|
72 //! 33. The positioner issues NPUD. |
|
73 //! 34. Start the active scheduler for some time. |
|
74 //! 35. Check that the update request is received with the timeout set to KWarmDownInterval. |
|
75 //! 36. Create and issue the partial pos update. |
|
76 //! 37. Start the active scheduler for some time. |
|
77 //! 38. Check the pos update is received and equal to the sent one. |
|
78 //! 39. Start the active scheduler wait forKWarmDownInterval to make warm down timer working. |
|
79 //! |
|
80 //! TEST METHODS WHICH ARE NEVER CALLED IN THE PRODUCTION CODE |
|
81 //! 40. Simulate the timer errors. |
|
82 //! |
|
83 //! CLEANUP |
|
84 //! 41. Delete the positioner and update request listener. |
|
85 //! |
|
86 //! AGPS PSY SPECIFIC TESTS |
|
87 //! POSITION UPDATE WITH REF POS |
|
88 //! 42. Create the positioner and update request listener. |
|
89 //! 43. The update request listener starts listening. |
|
90 //! 44. The positioner issues NPUD. |
|
91 //! 45. Start the active scheduler for some time. |
|
92 //! 46. Check that default update request is received with newClient flag set to ETrue. |
|
93 //! 47. The update request listener starts listening. |
|
94 //! 48. Create and issue the ref pos update. |
|
95 //! 49. Start the active scheduler for some time. |
|
96 //! 50. Check the pos update is received and equal to the sent one. |
|
97 //! 51. Check that an update request is not received. |
|
98 //! 52. The positioner issues NPUD. |
|
99 //! 53. Create and issue the simple pos update. |
|
100 //! 54. Start the active scheduler for some time. |
|
101 //! 55. Check that default update request is received. |
|
102 //! 56. Check the pos update is received and equal to the sent one. |
|
103 //! |
|
104 //! SETTING MAXAGE AND USING CACHED REF POS UPDATE |
|
105 //! 57. Set the MaxAge for the positioner to some time ago. |
|
106 //! 58. The update request listener starts listening. |
|
107 //! 59. The positioner issues NPUD. |
|
108 //! 60. Start the active scheduler for some time. |
|
109 //! 61. Check the cached ref pos update is received and equal to the sent one. |
|
110 //! 62. Check that an update request is not received. |
|
111 //! 63. Cancel listening for the update requests. |
|
112 //! 64. Restore the MaxAge to 0. |
|
113 //! |
|
114 //! POSITION UPDATE WITH REF POS & FINAL NET POS |
|
115 //! 65. The update request listener starts listening. |
|
116 //! 66. The positioner issues NPUD. |
|
117 //! 67. Start the active scheduler for some time. |
|
118 //! 68. Check that default update request is received. |
|
119 //! 69. The update request listener continues listening. |
|
120 //! 70. Create and issue the ref pos update. |
|
121 //! 71. Start the active scheduler for some time. |
|
122 //! 72. Check the pos update is received and equal to the sent one. |
|
123 //! 73. Check that an update request is not received. |
|
124 //! 74. The positioner issues NPUD. |
|
125 //! 75. Create and issue the FNP update. |
|
126 //! 76. Start the active scheduler for some time. |
|
127 //! 77. Check that a cancel update request is received. |
|
128 //! 78. Check the pos update is received and equal to the sent one. |
|
129 //! |
|
130 //! SETTING MAXAGE AND USING CACHED FN POS UPDATE |
|
131 //! 79. Set the MaxAge for the positioner to some time ago. |
|
132 //! 80. The update request listener starts listening. |
|
133 //! 81. The positioner issues NPUD. |
|
134 //! 82. Start the active scheduler for some time. |
|
135 //! 83. Check the cached FNP update is received and equal to the sent one. |
|
136 //! 84. Check that an update request is not received. |
|
137 //! 85. Cancel listening for the update requests. |
|
138 //! 86. Restore the MaxAge to 0. |
|
139 //! |
|
140 //! CLEANUP |
|
141 //! 87. Delete the positioner and update request listener. |
|
142 //! |
|
143 //! |
|
144 //! |
|
145 //! @SYMTestExpectedResults The expected pos update requests and pos updates are received. |
|
146 //! @SYMTestPriority High |
|
147 //! @SYMTestType UT |
|
148 //! @SYMTestStatus Released |
|
149 //! @SYMPREQ PREQ 1662 |
|
150 //! @SYMREQ REQ 11248, REQ 11250, REQ 11253, REQ 11255, REQ 11256, REQ 11257, REQ 11472, REQ 11475, REQ 11478, REQ 11479, REQ 11480, REQ 11481, REQ 11482, REQ 8827, REQ 8828, REQ 8831 |
|
151 //! @SYMCreationDate 20/10/2008 |
|
152 //! @SYMAuthor NicolayB |
|
153 RUN_TEST_STEP 100 te_lbsagpspsysuite NotifyPositionUpdate c:\testdata\configs\te_lbsagpspsy.ini Section0 |
|
154 END_TESTCASE LBS-AgpsPsySuite-NotifyPositionUpdate-Section0 |
|
155 |
|
156 |
|
157 START_TESTCASE LBS-AgpsPsySuite-NotifyPositionUpdateTiming-Section0 |
|
158 //! @SYMTestCaseID LBS-AgpsPsySuite-NotifyPositionUpdateTiming-Section0 |
|
159 //! @SYMTestCaseDesc Runs several pos update scenarios with the accent on the timing issues. |
|
160 //! @SYMTestActions HANDLING THE OLD POSITION UPDATE |
|
161 //! 1. Create the positioner and update request listener. |
|
162 //! 2. The update request listener starts listening. |
|
163 //! 3. The positioner issues NPUD. |
|
164 //! 4. Start the active scheduler for some time. |
|
165 //! 5. Check that default update request is received with newClient flag set to ETrue. |
|
166 //! 6. Create and issue the pos update with the actual time < target time. |
|
167 //! 7. Check that no position update is received by the positioner. |
|
168 //! 8. The update request listener starts listening. |
|
169 //! 9. The positioner cancels the request. |
|
170 //! 10. Start the active scheduler for some time. |
|
171 //! 11. Check that a cancel request is received. |
|
172 //! |
|
173 //! SETTING MAXAGE AND USING CACHED UPDATE |
|
174 //! 12. Set the MaxAge for the positioner to some time ago. |
|
175 //! 13. The update request listener starts listening. |
|
176 //! 14. The positioner issues NPUD. |
|
177 //! 15. Start the active scheduler for some time. |
|
178 //! 16. Check the cached FNP update is received and equal to the sent one. |
|
179 //! 17. Check that an update request is not received. |
|
180 //! 18. Cancel listening for the update requests. |
|
181 //! 19. Restore the MaxAge to 0. |
|
182 //! |
|
183 //! SETTING MAXAGE, NO CACHED UPDATE |
|
184 //! 20. Set the MaxAge for the positioner to now. |
|
185 //! 21. The update request listener starts listening. |
|
186 //! 22. The positioner issues NPUD. |
|
187 //! 23. Start the active scheduler for some time. |
|
188 //! 24. Check that default update request is received. |
|
189 //! 25. Create and issue the simple pos update. |
|
190 //! 26. Start the active scheduler for some time. |
|
191 //! 27. Check the pos update is received and equal to the sent one. |
|
192 //! 28. Restore the MaxAge to 0. |
|
193 //! |
|
194 //! SIMPLE TRACKING SCENARIO |
|
195 //! 29. Check that the tracking flag overriden. |
|
196 //! 30. The positioner starts tracking. |
|
197 //! 31. Start the active scheduler for some time. |
|
198 //! 32. The positioner issues NPUD. |
|
199 //! 33. Start the active scheduler for some time. |
|
200 //! 34. Create and issue the simple pos update. |
|
201 //! 35. Start the active scheduler for some time. |
|
202 //! 36. Check the pos update is received and equal to the sent one. |
|
203 //! 37. The positioner stops tracking. |
|
204 //! |
|
205 //! TRACKING SCENARIO WITH LATE REQUEST |
|
206 //! 38. The positioner starts tracking. |
|
207 //! 39. Start the active scheduler for some time. |
|
208 //! 40. The positioner issues NPUD. |
|
209 //! 41. Start the active scheduler for some time. |
|
210 //! 42. Create and issue the simple pos update. |
|
211 //! 43. Start the active scheduler for some time. |
|
212 //! 44. Check the pos update is received and equal to the sent one. |
|
213 //! 45. Start the active scheduler for some time. |
|
214 //! 46. The positioner issues NPUD. |
|
215 //! 47. Start the active scheduler for some time. |
|
216 //! 48. Create and issue the simple pos update. |
|
217 //! 49. Start the active scheduler for some time. |
|
218 //! 50. Check the pos update is received and equal to the sent one. |
|
219 //! 51. The positioner stops tracking. |
|
220 //! |
|
221 //! CLEANUP |
|
222 //! 52. Delete the positioner and update request listener. |
|
223 //! |
|
224 //! |
|
225 //! @SYMTestExpectedResults The expected pos update requests and pos updates are received. |
|
226 //! @SYMTestPriority High |
|
227 //! @SYMTestType UT |
|
228 //! @SYMTestStatus Released |
|
229 //! @SYMPREQ PREQ 1662 |
|
230 //! @SYMREQ REQ 11248, REQ 11249, REQ 11253, REQ 11254, REQ 11255, REQ 11475, REQ 11476, REQ 11477, REQ 11482, REQ 8827, REQ 8828, REQ 8829 |
|
231 //! @SYMCreationDate 20/10/2008 |
|
232 //! @SYMAuthor NicolayB |
|
233 RUN_TEST_STEP 100 te_lbsagpspsysuite NotifyPositionUpdateTiming c:\testdata\configs\te_lbsagpspsy.ini Section0 |
|
234 END_TESTCASE LBS-AgpsPsySuite-NotifyPositionUpdateTiming-Section0 |
|
235 |
|
236 |
|
237 START_TESTCASE LBS-AgpsPsySuite-NotifyPositionUpdateErr-Section0 |
|
238 //! @SYMTestCaseID LBS-AgpsPsySuite-NotifyPositionUpdateErr-Section0 |
|
239 //! @SYMTestCaseDesc Runs several pos update scenarios with errors. |
|
240 //! @SYMTestActions SIMPLE POSITION UPDATE ERROR |
|
241 //! 1. Create the positioner and update request listener. |
|
242 //! 2. The update request listener starts listening. |
|
243 //! 3. The positioner issues NPUD. |
|
244 //! 4. Start the active scheduler for some time. |
|
245 //! 5. Check that default update request is received with newClient flag set to ETrue. |
|
246 //! 6. Create and issue the error pos update. |
|
247 //! 7. Start the active scheduler for some time. |
|
248 //! 8. Check the pos update error is received and equal to the sent one. |
|
249 //! |
|
250 //! CPOSITIONER CREATION/DESTRUCTION WITH MEMORY LEAKS |
|
251 //! 9. Inject the heap error for the Nth(N==0 first) memory allocation. |
|
252 //! 10. Try to create the positioner and then delete it. |
|
253 //! 11. Check wheter a memory allocation fails during the positioner creation. |
|
254 //! 12. If alloc failure occured outside the factory method, stop the test. |
|
255 //! 13. If alloc failure occured inside the factory method and no leave occured, the positioner must be created. |
|
256 //! 14. Increment N and go to step 16. |
|
257 //! |
|
258 //! SIMPLE POSITION UPDATE WITH OOM WHILE CALLING NotifyPositionUpdate |
|
259 //! 15. The update request listener starts listening. |
|
260 //! 16. Inject the heap error for the Nth(N==0 first) memory allocation. |
|
261 //! 17. The positioner issues NPUD. |
|
262 //! 18. Check wheter a memory allocation fails during the positioner creation. |
|
263 //! 19. Start the active scheduler for some time. |
|
264 //! 20. If alloc failure occured outside the NPUD, stop the test. |
|
265 //! 21. If the pos update request is received, check that the pos update is received. |
|
266 //! 22. If the pos update request is not received, check that the pos update is not received. |
|
267 //! |
|
268 //! CLEANUP |
|
269 //! 23. Delete the positioner and update request listener. |
|
270 //! |
|
271 //! AGPS PSY SPECIFIC TESTS: |
|
272 //! POSITION UPDATE FUTILE ERROR - AUTONOMOUS MODE |
|
273 //! 24. The update request listener starts listening. |
|
274 //! 25. The positioner issues NPUD. |
|
275 //! 26. Start the active scheduler for some time. |
|
276 //! 27. Check that default update request is received. |
|
277 //! 28. Create and issue the futile error pos update. |
|
278 //! 29. Start the active scheduler for some time. |
|
279 //! 30. Check the pos update error KPositionQualityLoss is received. |
|
280 //! |
|
281 //! @SYMTestExpectedResults The errors are handled correctly and the methods fail with the appropriate err codes. |
|
282 //! @SYMTestPriority High |
|
283 //! @SYMTestType UT |
|
284 //! @SYMTestStatus Released |
|
285 //! @SYMPREQ PREQ 1662 |
|
286 //! @SYMREQ REQ 11248, REQ 11475, REQ 11482, REQ 8827, REQ 8828 |
|
287 //! @SYMCreationDate 21/10/2008 |
|
288 //! @SYMAuthor NicolayB |
|
289 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateErr c:\testdata\configs\te_lbsagpspsy.ini Section0 |
|
290 END_TESTCASE LBS-AgpsPsySuite-NotifyPositionUpdateErr-Section0 |
|
291 |
|
292 START_TESTCASE LBS-AgpsPsySuite-ModuleInfo-Section0 |
|
293 //! @SYMTestCaseID LBS-AgpsPsySuite-ModuleInfo-Section0 |
|
294 //! @SYMTestCaseDesc Runs the scenarios where the module info is get. |
|
295 //! @SYMTestActions 1. Create the positioner and assign the positioner, which will receive the notifications. |
|
296 //! 2. Issue the module status updates. |
|
297 //! 3. Check that the information is received by the positioner. |
|
298 //! 4. Repeat 2-3 with various sets of parameters. |
|
299 //! |
|
300 //! |
|
301 //! @SYMTestExpectedResults The expected module info updates are received. |
|
302 //! @SYMTestPriority High |
|
303 //! @SYMTestType UT |
|
304 //! @SYMTestStatus Released |
|
305 //! @SYMPREQ PREQ 1662 |
|
306 //! @SYMREQ REQ 11260, REQ 11261, REQ 11270, REQ 11275, REQ 11482, REQ 8827, REQ 8832, REQ 8833 |
|
307 //! @SYMCreationDate 21/10/2008 |
|
308 //! @SYMAuthor NicolayB |
|
309 RUN_TEST_STEP 100 te_lbsagpspsysuite ModuleInfo c:\testdata\configs\te_lbsagpspsy.ini Section0 |
|
310 END_TESTCASE LBS-AgpsPsySuite-ModuleInfo-Section0 |
|
311 |
|
312 |
|
313 START_TESTCASE LBS-AgpsPsySuite-NotifyPositionUpdate-Section1 |
|
314 //! @SYMTestCaseID LBS-AgpsPsySuite-NotifyPositionUpdate-Section1 |
|
315 //! @SYMTestCaseDesc Runs several pos update scenarios, which completes normally. |
|
316 //! @SYMTestActions See LBS-AgpsPsySuite-NotifyPositionUpdate-Section0 actions. |
|
317 //! @SYMTestExpectedResults The expected pos update requests and pos updates are received. |
|
318 //! @SYMTestPriority High |
|
319 //! @SYMTestType UT |
|
320 //! @SYMTestStatus Released |
|
321 //! @SYMPREQ PREQ 1662 |
|
322 //! @SYMREQ REQ 11248, REQ 11250, REQ 11253, REQ 11255, REQ 11256, REQ 11257, REQ 11472, REQ 11475, REQ 11478, REQ 11479, REQ 11480, REQ 11481, REQ 11482, REQ 8827, REQ 8828, REQ 8831 |
|
323 //! @SYMCreationDate 21/10/2008 |
|
324 //! @SYMAuthor NicolayB |
|
325 RUN_TEST_STEP 100 te_lbsagpspsysuite NotifyPositionUpdate c:\testdata\configs\te_lbsagpspsy.ini Section1 |
|
326 END_TESTCASE LBS-AgpsPsySuite-NotifyPositionUpdate-Section1 |
|
327 |
|
328 |
|
329 |
|
330 START_TESTCASE LBS-AgpsPsySuite-NotifyPositionUpdateTiming-Section1 |
|
331 //! @SYMTestCaseID LBS-AgpsPsySuite-NotifyPositionUpdateTiming-Section1 |
|
332 //! @SYMTestCaseDesc Runs several pos update scenarios with the accent on the timing issues. |
|
333 //! @SYMTestActions See LBS-AgpsPsySuite-NotifyPositionUpdateTiming-Section0 actions. |
|
334 //! @SYMTestExpectedResults The expected pos update requests and pos updates are received. |
|
335 //! @SYMTestPriority High |
|
336 //! @SYMTestType UT |
|
337 //! @SYMTestStatus Released |
|
338 //! @SYMPREQ PREQ 1662 |
|
339 //! @SYMREQ REQ 11248, REQ 11249, REQ 11253, REQ 11254, REQ 11255, REQ 11475, REQ 11476, REQ 11477, REQ 11482, REQ 8827, REQ 8828, REQ 8829 |
|
340 //! @SYMCreationDate 21/10/2008 |
|
341 //! @SYMAuthor NicolayB |
|
342 RUN_TEST_STEP 100 te_lbsagpspsysuite NotifyPositionUpdateTiming c:\testdata\configs\te_lbsagpspsy.ini Section1 |
|
343 END_TESTCASE LBS-AgpsPsySuite-NotifyPositionUpdateTiming-Section1 |
|
344 |
|
345 |
|
346 START_TESTCASE LBS-AgpsPsySuite-NotifyPositionUpdateErr-Section1 |
|
347 //! @SYMTestCaseID LBS-AgpsPsySuite-NotifyPositionUpdateErr-Section1 |
|
348 //! @SYMTestCaseDesc Runs several pos update scenarios with errors. |
|
349 //! @SYMTestActions See LBS-AgpsPsySuite-NotifyPositionUpdateErr-Section0 actions. |
|
350 //! @SYMTestExpectedResults The errors are handled correctly and the methods fail with the appropriate err codes. |
|
351 //! @SYMTestPriority High |
|
352 //! @SYMTestType UT |
|
353 //! @SYMTestStatus Released |
|
354 //! @SYMPREQ PREQ 1662 |
|
355 //! @SYMREQ REQ 11248, REQ 11475, REQ 11482, REQ 8827, REQ 8828 |
|
356 //! @SYMCreationDate 21/10/2008 |
|
357 //! @SYMAuthor NicolayB |
|
358 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateErr c:\testdata\configs\te_lbsagpspsy.ini Section1 |
|
359 END_TESTCASE LBS-AgpsPsySuite-NotifyPositionUpdateErr-Section1 |
|
360 |
|
361 |
|
362 |
|
363 START_TESTCASE LBS-AgpsPsySuite-ModuleInfo-Section1 |
|
364 //! @SYMTestCaseID LBS-AgpsPsySuite-ModuleInfo-Section1 |
|
365 //! @SYMTestCaseDesc Runs the scenarios where the module info is get. |
|
366 //! @SYMTestActions See the LBS-AgpsPsySuite-ModuleInfo-Section0 actions. |
|
367 //! @SYMTestExpectedResults The expected module info updates are received. |
|
368 //! @SYMTestPriority High |
|
369 //! @SYMTestType UT |
|
370 //! @SYMTestStatus Released |
|
371 //! @SYMPREQ PREQ 1662 |
|
372 //! @SYMREQ REQ 11260, REQ 11261, REQ 11270, REQ 11275, REQ 11482, REQ 8827, REQ 8832, REQ 8833 |
|
373 //! @SYMCreationDate 21/10/2008 |
|
374 //! @SYMAuthor NicolayB |
|
375 RUN_TEST_STEP 100 te_lbsagpspsysuite ModuleInfo c:\testdata\configs\te_lbsagpspsy.ini Section1 |
|
376 END_TESTCASE LBS-AgpsPsySuite-ModuleInfo-Section1 |
|
377 |
|
378 |
|
379 START_TESTCASE LBS-AgpsPsySuite-NotifyPositionUpdate-Section2 |
|
380 //! @SYMTestCaseID LBS-AgpsPsySuite-NotifyPositionUpdate-Section2 |
|
381 //! @SYMTestCaseDesc Runs several pos update scenarios, which completes normally. |
|
382 //! @SYMTestActions See LBS-AgpsPsySuite-NotifyPositionUpdate-Section0 actions. |
|
383 //! @SYMTestExpectedResults The expected pos update requests and pos updates are received. |
|
384 //! @SYMTestPriority High |
|
385 //! @SYMTestType UT |
|
386 //! @SYMTestStatus Released |
|
387 //! @SYMPREQ PREQ 1662 |
|
388 //! @SYMREQ REQ 11248, REQ 11250, REQ 11253, REQ 11255, REQ 11256, REQ 11257, REQ 11472, REQ 11475, REQ 11478, REQ 11479, REQ 11480, REQ 11481, REQ 11482, REQ 8827, REQ 8828, REQ 8831 |
|
389 //! @SYMCreationDate 21/10/2008 |
|
390 //! @SYMAuthor NicolayB |
|
391 RUN_TEST_STEP 100 te_lbsagpspsysuite NotifyPositionUpdate c:\testdata\configs\te_lbsagpspsy.ini Section2 |
|
392 END_TESTCASE LBS-AgpsPsySuite-NotifyPositionUpdate-Section2 |
|
393 |
|
394 |
|
395 |
|
396 START_TESTCASE LBS-AgpsPsySuite-NotifyPositionUpdateTiming-Section2 |
|
397 //! @SYMTestCaseID LBS-AgpsPsySuite-NotifyPositionUpdateTiming-Section2 |
|
398 //! @SYMTestCaseDesc Runs several pos update scenarios with the accent on the timing issues. |
|
399 //! @SYMTestActions See LBS-AgpsPsySuite-NotifyPositionUpdateTiming-Section0 actions. |
|
400 //! @SYMTestExpectedResults The expected pos update requests and pos updates are received. |
|
401 //! @SYMTestPriority High |
|
402 //! @SYMTestType UT |
|
403 //! @SYMTestStatus Released |
|
404 //! @SYMPREQ PREQ 1662 |
|
405 //! @SYMREQ REQ 11248, REQ 11249, REQ 11253, REQ 11254, REQ 11255, REQ 11475, REQ 11476, REQ 11477, REQ 11482, REQ 8827, REQ 8828, REQ 8829 |
|
406 //! @SYMCreationDate 21/10/2008 |
|
407 //! @SYMAuthor NicolayB |
|
408 RUN_TEST_STEP 100 te_lbsagpspsysuite NotifyPositionUpdateTiming c:\testdata\configs\te_lbsagpspsy.ini Section2 |
|
409 END_TESTCASE LBS-AgpsPsySuite-NotifyPositionUpdateTiming-Section2 |
|
410 |
|
411 |
|
412 START_TESTCASE LBS-AgpsPsySuite-NotifyPositionUpdateErr-Section2 |
|
413 //! @SYMTestCaseID LBS-AgpsPsySuite-NotifyPositionUpdateErr-Section2 |
|
414 //! @SYMTestCaseDesc Runs several pos update scenarios with errors. |
|
415 //! @SYMTestActions See LBS-AgpsPsySuite-NotifyPositionUpdateErr-Section0 actions. |
|
416 //! @SYMTestExpectedResults The errors are handled correctly and the methods fail with the appropriate err codes. |
|
417 //! @SYMTestPriority High |
|
418 //! @SYMTestType UT |
|
419 //! @SYMTestStatus Released |
|
420 //! @SYMPREQ PREQ 1662 |
|
421 //! @SYMREQ REQ 11248, REQ 11475, REQ 11482, REQ 8827, REQ 8828 |
|
422 //! @SYMCreationDate 21/10/2008 |
|
423 //! @SYMAuthor NicolayB |
|
424 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateErr c:\testdata\configs\te_lbsagpspsy.ini Section2 |
|
425 END_TESTCASE LBS-AgpsPsySuite-NotifyPositionUpdateErr-Section2 |
|
426 |
|
427 |
|
428 |
|
429 START_TESTCASE LBS-AgpsPsySuite-NotifyPositionUpdate-Section3 |
|
430 //! @SYMTestCaseID LBS-AgpsPsySuite-NotifyPositionUpdate-Section3 |
|
431 //! @SYMTestCaseDesc Runs several pos update scenarios, which completes normally. |
|
432 //! @SYMTestActions See LBS-AgpsPsySuite-NotifyPositionUpdate-Section0 actions. |
|
433 //! @SYMTestExpectedResults The expected pos update requests and pos updates are received. |
|
434 //! @SYMTestPriority High |
|
435 //! @SYMTestType UT |
|
436 //! @SYMTestStatus Released |
|
437 //! @SYMPREQ PREQ 1662 |
|
438 //! @SYMREQ REQ 11248, REQ 11250, REQ 11253, REQ 11255, REQ 11256, REQ 11257, REQ 11472, REQ 11475, REQ 11478, REQ 11479, REQ 11480, REQ 11481, REQ 11482, REQ 8827, REQ 8828, REQ 8831 |
|
439 //! @SYMCreationDate 21/10/2008 |
|
440 //! @SYMAuthor NicolayB |
|
441 RUN_TEST_STEP 100 te_lbsagpspsysuite NotifyPositionUpdate c:\testdata\configs\te_lbsagpspsy.ini Section3 |
|
442 END_TESTCASE LBS-AgpsPsySuite-NotifyPositionUpdate-Section3 |
|
443 |
|
444 |
|
445 |
|
446 START_TESTCASE LBS-AgpsPsySuite-NotifyPositionUpdateTiming-Section3 |
|
447 //! @SYMTestCaseID LBS-AgpsPsySuite-NotifyPositionUpdateTiming-Section3 |
|
448 //! @SYMTestCaseDesc Runs several pos update scenarios with the accent on the timing issues. |
|
449 //! @SYMTestActions See LBS-AgpsPsySuite-NotifyPositionUpdateTiming-Section0 actions. |
|
450 //! @SYMTestExpectedResults The expected pos update requests and pos updates are received. |
|
451 //! @SYMTestPriority High |
|
452 //! @SYMTestType UT |
|
453 //! @SYMTestStatus Released |
|
454 //! @SYMPREQ PREQ 1662 |
|
455 //! @SYMREQ REQ 11248, REQ 11249, REQ 11253, REQ 11254, REQ 11255, REQ 11475, REQ 11476, REQ 11477, REQ 11482, REQ 8827, REQ 8828, REQ 8829, REQ 11262 |
|
456 |
|
457 //! @SYMCreationDate 21/10/2008 |
|
458 //! @SYMAuthor NicolayB |
|
459 RUN_TEST_STEP 100 te_lbsagpspsysuite NotifyPositionUpdateTiming c:\testdata\configs\te_lbsagpspsy.ini Section3 |
|
460 END_TESTCASE LBS-AgpsPsySuite-NotifyPositionUpdateTiming-Section3 |
|
461 |
|
462 |
|
463 START_TESTCASE LBS-AgpsPsySuite-NotifyPositionUpdateErr-Section3 |
|
464 //! @SYMTestCaseID LBS-AgpsPsySuite-NotifyPositionUpdateErr-Section3 |
|
465 //! @SYMTestCaseDesc Runs several pos update scenarios with errors. |
|
466 //! @SYMTestActions See LBS-AgpsPsySuite-NotifyPositionUpdateErr-Section0 actions. |
|
467 //! @SYMTestExpectedResults The errors are handled correctly and the methods fail with the appropriate err codes. |
|
468 //! @SYMTestPriority High |
|
469 //! @SYMTestType UT |
|
470 //! @SYMTestStatus Released |
|
471 //! @SYMPREQ PREQ 1662 |
|
472 //! @SYMREQ REQ 11248, REQ 11475, REQ 11482, REQ 8827, REQ 8828 |
|
473 //! @SYMCreationDate 21/10/2008 |
|
474 //! @SYMAuthor NicolayB |
|
475 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateErr c:\testdata\configs\te_lbsagpspsy.ini Section3 |
|
476 END_TESTCASE LBS-AgpsPsySuite-NotifyPositionUpdateErr-Section3 |
|
477 |
|
478 |
|
479 START_TESTCASE LBS-AgpsPsySuite-PowerAdvice-Section0 |
|
480 //! @SYMTestCaseID LBS-AgpsPsySuite-PowerAdvice-Section0 |
|
481 //! @SYMTestCaseDesc Simple NPUD and verify that power advice 'standby' received after inactivity period. |
|
482 //! @SYMTestActions . |
|
483 //! @SYMTestExpectedResults . |
|
484 //! @SYMTestPriority High |
|
485 //! @SYMTestType UT |
|
486 //! @SYMTestStatus Released |
|
487 //! @SYMPREQ PREQ 1662 |
|
488 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248, REQ 11475, REQ 11659, REQ 11660 |
|
489 //! @SYMCreationDate 27/11/2008 |
|
490 //! @SYMAuthor LornaM |
|
491 RUN_TEST_STEP 300 te_lbsagpspsysuite PowerAdvice c:\testdata\configs\te_lbsagpspsy.ini Section0 |
|
492 END_TESTCASE LBS-AgpsPsySuite-PowerAdvice-Section0 |
|
493 |
|
494 |
|
495 // Create dir for new device caps file in case it doesn't already exist |
|
496 RUN_UTILS MkDir c:\private\10282253\ |
|
497 RUN_UTILS MkDir c:\private\10282253\lbs\ |
|
498 RUN_UTILS MkDir c:\private\10282253\lbs\locmods\ |
|
499 RUN_UTILS MkDir c:\private\10282253\lbs\locmods\temp |
|
500 // copy current device caps file if there is one, to replace when finished |
|
501 RUN_UTILS CopyFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini c:\private\10282253\lbs\locmods\temp\sirfdatasource_original.ini |
|
502 RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\*.ini |
|
503 |
|
504 |
|
505 //------------------------------- Device Caps TB ONLY |
|
506 |
|
507 // Set up the device caps (lbs is restarted by test case so caps are re-parsed): |
|
508 RUN_UTILS CopyFile c:\testdata\configs\te_lbsagpspsy_devicecaps_TB.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini |
|
509 |
|
510 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTB-0-A |
|
511 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTB-0-A |
|
512 //! @SYMTestCaseDesc Verify correct merging of requests (single autonomous request) |
|
513 //! @SYMTestActions 1. Create gps positioner and update request listener. |
|
514 //! 2. The update request listener starts listening. |
|
515 //! 3. The positioner issues NPUD. |
|
516 //! 4. Start the active scheduler for some time. |
|
517 //! 5. Check that default update request is received with newClient flag set to ETrue and mode set to autonomous. |
|
518 //! 6. Create and issue the simple pos update. |
|
519 //! 7. Start the active scheduler for some time. |
|
520 //! 8. Check the pos update is received and equal to the sent one. |
|
521 //! @SYMTestExpectedResults single update request received with mode set to autonomous. NPUD completes normally |
|
522 //! @SYMTestPriority High |
|
523 //! @SYMTestType UT |
|
524 //! @SYMTestStatus Released |
|
525 //! @SYMPREQ PREQ 1662 |
|
526 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248,REQ11250, REQ 11252, REQ 11475, REQ 11480, REQ 11481, REQ 11649, REQ 11651, REQ 11657 |
|
527 //! @SYMCreationDate 21/11/2008 |
|
528 //! @SYMAuthor LornaM |
|
529 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTB-0-A |
|
530 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTB-0-A |
|
531 |
|
532 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTB-A-A |
|
533 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTB-A-A |
|
534 //! @SYMTestCaseDesc Verify correct merging of requests (2 autonomous requests) |
|
535 //! @SYMTestActions 1. Create gps positioner and update request listener. |
|
536 //! 2. The update request listener starts listening. |
|
537 //! 3. The positioner issues NPUD (mode = Autonomous). |
|
538 //! 4. Start the active scheduler for some time. |
|
539 //! 5. Check that default update request is received with newClient flag set to ETrue and mode set to autonomous. |
|
540 //! 6. Create a second gps positioner |
|
541 //! 7. Second positioner issues NPUD (mode = autonomous) |
|
542 //! 8. Check that another update request is not received |
|
543 //! 9. Create and issue the simple pos update. |
|
544 //! 10. Start the active scheduler for some time. |
|
545 //! 11. Check the pos update is received by both positioners and equal to the sent one. |
|
546 //! @SYMTestExpectedResults single update request received with mode set to autonomous. Both NPUDs complete normally. |
|
547 //! @SYMTestPriority High |
|
548 //! @SYMTestType UT |
|
549 //! @SYMTestStatus Released |
|
550 //! @SYMPREQ PREQ 1662 |
|
551 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248,REQ11250, REQ 11252, REQ 11475, REQ 11480, REQ 11481, REQ 11649, REQ 11656, REQ 11657 |
|
552 //! @SYMCreationDate 21/11/2008 |
|
553 //! @SYMAuthor LornaM |
|
554 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTB-A-A |
|
555 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTB-A-A |
|
556 |
|
557 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTB-0-TB |
|
558 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTB-0-TB |
|
559 //! @SYMTestCaseDesc Verify correct merging of requests (single TB) |
|
560 //! @SYMTestActions 1. Create agps positioner and update request listener. |
|
561 //! 2. The update request listener starts listening. |
|
562 //! 3. The positioner issues NPUD (mode = TB). |
|
563 //! 4. Start the active scheduler for some time. |
|
564 //! 5. Check that default update request is received with newClient flag set to ETrue and mode set to TB. |
|
565 //! 6. Create and issue the simple pos update. |
|
566 //! 7. Start the active scheduler for some time. |
|
567 //! 8. Check the pos update is received by the positioner and equal to the sent one. |
|
568 //! @SYMTestExpectedResults single update request received with mode set to TB. NPUD completes normally. |
|
569 //! @SYMTestPriority High |
|
570 //! @SYMTestType UT |
|
571 //! @SYMTestStatus Released |
|
572 //! @SYMPREQ PREQ 1662 |
|
573 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248,REQ11250, REQ 11252, REQ 11475, REQ 11480, REQ 11481, REQ 11657 |
|
574 //! @SYMCreationDate 21/11/2008 |
|
575 //! @SYMAuthor LornaM |
|
576 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTB-0-TB |
|
577 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTB-0-TB |
|
578 |
|
579 |
|
580 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTB-A-TB |
|
581 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTB-A-TB |
|
582 //! @SYMTestCaseDesc Verify correct merging of requests (autonomous then TB) |
|
583 //! @SYMTestActions 1. Create gps positioner and update request listener. |
|
584 //! 2. The update request listener starts listening. |
|
585 //! 3. The positioner issues NPUD (mode = Autonomous). |
|
586 //! 4. Start the active scheduler for some time. |
|
587 //! 5. Check that default update request is received with newClient flag set to ETrue and mode set to autonomous. |
|
588 //! 6. Create a second gps positioner |
|
589 //! 7. Second positioner issues NPUD (mode = TB) |
|
590 //! 8. Check that default update request is received with newClient flag set to ETrue and mode set to TB. |
|
591 //! 9. Create and issue the simple pos update. |
|
592 //! 10. Start the active scheduler for some time. |
|
593 //! 11. Check the pos update is received by both positioners and equal to the sent one. |
|
594 //! @SYMTestExpectedResults 2 update requests received with mode set to autonomous then TB. Both NPUDs complete normally |
|
595 //! @SYMTestPriority High |
|
596 //! @SYMTestType UT |
|
597 //! @SYMTestStatus Released |
|
598 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248,REQ11250, REQ 11252, REQ 11475, REQ 11480, REQ 11481, REQ 11649, REQ 11651, REQ 11656, REQ 11657 |
|
599 //! @SYMCreationDate 21/11/2008 |
|
600 //! @SYMAuthor LornaM |
|
601 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTB-A-TB |
|
602 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTB-A-TB |
|
603 |
|
604 |
|
605 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTB-0-TA |
|
606 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTB-0-TA |
|
607 //! @SYMTestCaseDesc Verify correct merging of requests (single TA request) |
|
608 //! @SYMTestActions 1. Create agps positioner and update request listener. |
|
609 //! 2. The update request listener starts listening. |
|
610 //! 3. The positioner issues NPUD (mode = TA). |
|
611 //! 4. Check that the update request fails with KErrCorrupt |
|
612 //! 5. Start the active scheduler for some time. |
|
613 //! 6. Check that an update request is not received |
|
614 //! @SYMTestExpectedResults No update requests received and NPUD completes with KErrCorrupt |
|
615 //! @SYMTestPriority High |
|
616 //! @SYMTestType UT |
|
617 //! @SYMTestStatus Released |
|
618 //! @SYMPREQ PREQ 1662 |
|
619 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248,REQ11250, REQ 11252, REQ 11475, REQ 11480, REQ 11481, REQ 11657 |
|
620 //! @SYMCreationDate 21/11/2008 |
|
621 //! @SYMAuthor LornaM |
|
622 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTB-0-TA |
|
623 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTB-0-TA |
|
624 |
|
625 |
|
626 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTB-A-TA |
|
627 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTB-A-TA |
|
628 //! @SYMTestCaseDesc Verify correct merging of requests (autonomous then TA ) |
|
629 //! @SYMTestActions 1. Create gps positioner and update request listener. |
|
630 //! 2. The update request listener starts listening. |
|
631 //! 3. The positioner issues NPUD (mode = autonomous). |
|
632 //! 4. Check that default update request is received with newClient flag set to ETrue and mode set to Autonomous. |
|
633 //! 6. Create a second agps positioner |
|
634 //! 7. Second positioner issues NPUD (mode = TA) |
|
635 //! 8. Check that the update request fails with KErrCorrupt |
|
636 //! 9. Start the active scheduler for some time. |
|
637 //! 10. Check that another update request is not received |
|
638 //! @SYMTestExpectedResults Single update requests received with mode autonomous, first NPUD completes normally second NPUD completes with KErrCorrupt |
|
639 //! @SYMTestPriority High |
|
640 //! @SYMTestType UT |
|
641 //! @SYMTestStatus Released |
|
642 //! @SYMPREQ PREQ 1662 |
|
643 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248,REQ11250, REQ 11252, REQ 11475, REQ 11480, REQ 11481, REQ 11649, REQ 11651, REQ 11652, REQ 11657 |
|
644 //! @SYMCreationDate 21/11/2008 |
|
645 //! @SYMAuthor LornaM |
|
646 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTB-A-TA |
|
647 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTB-A-TA |
|
648 |
|
649 |
|
650 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTB-TB-A |
|
651 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTB-TB-A |
|
652 //! @SYMTestCaseDesc Verify correct merging of requests (TB then autonomous) |
|
653 //! @SYMTestActions 1. Create agps positioner and update request listener. |
|
654 //! 2. The update request listener starts listening. |
|
655 //! 3. The positioner issues NPUD (mode = TB). |
|
656 //! 4. Start the active scheduler for some time. |
|
657 //! 5. Check that default update request is received with newClient flag set to ETrue and mode set to TB. |
|
658 //! 6. Create a second gps positioner |
|
659 //! 7. Second positioner issues NPUD (mode = Autononmous) |
|
660 //! 8. Check that another update request is not received |
|
661 //! 9. Create and issue the simple pos update. |
|
662 //! 10. Start the active scheduler for some time. |
|
663 //! 11. Check the pos update is received by both positioners and equal to the sent one. |
|
664 //! @SYMTestExpectedResults single update requests received with mode set to TB. Both NPUDs complete normally |
|
665 //! @SYMTestPriority High |
|
666 //! @SYMTestType UT |
|
667 //! @SYMTestStatus Released |
|
668 //! @SYMPREQ PREQ 1662 |
|
669 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248,REQ11250, REQ 11252, REQ 11475, REQ 11480, REQ 11481, REQ 11649, REQ 11651, REQ 11657 |
|
670 //! @SYMCreationDate 21/11/2008 |
|
671 //! @SYMAuthor LornaM |
|
672 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTB-TB-A |
|
673 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTB-TB-A |
|
674 |
|
675 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTB-TB-TB |
|
676 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTB-TB-TB |
|
677 //! @SYMTestCaseDesc Verify correct merging of requests (2 TB requests) |
|
678 //! @SYMTestActions 1. Create gps positioner and update request listener. |
|
679 //! 2. The update request listener starts listening. |
|
680 //! 3. The positioner issues NPUD (mode = TB). |
|
681 //! 4. Start the active scheduler for some time. |
|
682 //! 5. Check that default update request is received with newClient flag set to ETrue and mode set to TB. |
|
683 //! 6. Create a second gps positioner |
|
684 //! 7. Second positioner issues NPUD (mode = TB) |
|
685 //! 8. Check that another update request is not received |
|
686 //! 9. Create and issue the simple pos update. |
|
687 //! 10. Start the active scheduler for some time. |
|
688 //! 11. Check the pos update is received by both positioners and equal to the sent one. |
|
689 //! @SYMTestExpectedResults single update request received with mode set to TB. Both NPUDs complete normally. |
|
690 //! @SYMTestPriority High |
|
691 //! @SYMTestType UT |
|
692 //! @SYMTestStatus Released |
|
693 //! @SYMPREQ PREQ 1662 |
|
694 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248, REQ11250, REQ 11252, REQ 11475, REQ 11480, REQ 11481 |
|
695 //! @SYMCreationDate 21/11/2008 |
|
696 //! @SYMAuthor LornaM |
|
697 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTB-TB-TB |
|
698 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTB-TB-TB |
|
699 |
|
700 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTB-TB-TA |
|
701 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTB-TB-TA |
|
702 //! @SYMTestCaseDesc Verify correct merging of requests (TB then TA) |
|
703 //! @SYMTestActions 1. Create agps positioner and update request listener. |
|
704 //! 2. The update request listener starts listening. |
|
705 //! 3. The positioner issues NPUD (mode = TB). |
|
706 //! 4. Check that default update request is received with newClient flag set to ETrue and mode set to TB. |
|
707 //! 6. Create a second gps positioner |
|
708 //! 7. Second positioner issues NPUD (mode = TA) |
|
709 //! 8. Check that the update request fails with KErrInUse |
|
710 //! 9. Start the active scheduler for some time. |
|
711 //! 10. Check that another update request is not received |
|
712 //! @SYMTestExpectedResults Single update requests received with mode TB, first NPUD completes normally second NPUD completes with KErrInUse |
|
713 //! @SYMTestPriority High |
|
714 //! @SYMTestType UT |
|
715 //! @SYMTestStatus Released |
|
716 //! @SYMPREQ PREQ 1662 |
|
717 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248,REQ11250, REQ 11252, REQ 11475, REQ 11480, REQ 11481 |
|
718 //! @SYMCreationDate 21/11/2008 |
|
719 //! @SYMAuthor LornaM |
|
720 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTB-TB-TA |
|
721 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTB-TB-TA |
|
722 |
|
723 |
|
724 |
|
725 //------------------------------- Device Caps TA |
|
726 |
|
727 RUN_UTILS CopyFile c:\testdata\configs\te_lbsagpspsy_devicecaps_ta.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini |
|
728 |
|
729 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTA-0-A |
|
730 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTA-0-A |
|
731 //! @SYMTestCaseDesc Verify correct merging of requests (single Autonomous request) |
|
732 //! @SYMTestActions 1. Create gps positioner and update request listener. |
|
733 //! 2. The update request listener starts listening. |
|
734 //! 3. The positioner issues NPUD (mode = autonomous). |
|
735 //! 4. Check that the update request fails with KErrCorrupt |
|
736 //! 5. Start the active scheduler for some time. |
|
737 //! 6. Check that an update request is not received |
|
738 //! @SYMTestExpectedResults No update requests received and NPUD completes with KErrCorrupt |
|
739 //! @SYMTestPriority High |
|
740 //! @SYMTestType UT |
|
741 //! @SYMTestStatus Released |
|
742 //! @SYMPREQ PREQ 1662 |
|
743 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248, REQ 11252, REQ 11475, REQ 11480, REQ 11481, REQ 11649, REQ 11657 |
|
744 //! @SYMCreationDate 21/11/2008 |
|
745 //! @SYMAuthor LornaM |
|
746 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTA-0-A |
|
747 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTA-0-A |
|
748 |
|
749 |
|
750 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTA-TA-A |
|
751 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTA-TA-A |
|
752 //! @SYMTestCaseDesc Verify correct merging of requests (TA then autonomous) |
|
753 //! @SYMTestActions 1. Create agps positioner and update request listener. |
|
754 //! 2. The update request listener starts listening. |
|
755 //! 3. The positioner issues NPUD (mode = TA). |
|
756 //! 4. Check that default update request is received with newClient flag set to ETrue and mode set to TA. |
|
757 //! 6. Create a second gps positioner |
|
758 //! 7. Second positioner issues NPUD (mode = autonomous) |
|
759 //! 8. Check that the update request fails with KErrCorrupt |
|
760 //! 9. Start the active scheduler for some time. |
|
761 //! 10. Check that another update request is not received |
|
762 //! @SYMTestExpectedResults Single update requests received with mode TA, first NPUD completes normally second NPUD completes with KErrCorrupt |
|
763 //! @SYMTestPriority High |
|
764 //! @SYMTestType UT |
|
765 //! @SYMTestStatus Released |
|
766 //! @SYMPREQ PREQ 1662 |
|
767 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248,REQ11250, REQ 11252, REQ 11475, REQ 11480, REQ 11481, REQ 11649, REQ 11652, REQ 11657 |
|
768 //! @SYMCreationDate 21/11/2008 |
|
769 //! @SYMAuthor LornaM |
|
770 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTA-TA-A |
|
771 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTA-TA-A |
|
772 |
|
773 |
|
774 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTA-0-TB |
|
775 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTA-0-TB |
|
776 //! @SYMTestCaseDesc Verify correct merging of requests (single TB request) |
|
777 //! @SYMTestActions 1. Create agps positioner and update request listener. |
|
778 //! 2. The update request listener starts listening. |
|
779 //! 3. The positioner issues NPUD (mode = TB). |
|
780 //! 4. Check that the update request fails with KErrCorrupt |
|
781 //! 5. Start the active scheduler for some time. |
|
782 //! 6. Check that an update request is not received |
|
783 //! @SYMTestExpectedResults No update requests received and NPUD completes with KErrCorrupt |
|
784 //! @SYMTestPriority High |
|
785 //! @SYMTestType UT |
|
786 //! @SYMTestStatus Released |
|
787 //! @SYMPREQ PREQ 1662 |
|
788 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248, REQ 11252, REQ 11475, REQ 11480, REQ 11481, |
|
789 //! @SYMCreationDate 21/11/2008 |
|
790 //! @SYMAuthor LornaM |
|
791 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTA-0-TB |
|
792 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTA-0-TB |
|
793 |
|
794 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTA-TA-TB |
|
795 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTA-TA-TB |
|
796 //! @SYMTestCaseDesc Verify correct merging of requests (TA then TB) |
|
797 //! @SYMTestActions 1. Create agps positioner and update request listener. |
|
798 //! 2. The update request listener starts listening. |
|
799 //! 3. The positioner issues NPUD (mode = TA). |
|
800 //! 4. Check that default update request is received with newClient flag set to ETrue and mode set to TA. |
|
801 //! 6. Create a second gps positioner |
|
802 //! 7. Second positioner issues NPUD (mode = TB) |
|
803 //! 8. Check that the update request fails with KErrInUse |
|
804 //! 9. Start the active scheduler for some time. |
|
805 //! 10. Check that another update request is not received |
|
806 //! @SYMTestExpectedResults Single update requests received with mode TA, first NPUD completes normally second NPUD completes with KErrInUse |
|
807 //! @SYMTestPriority High |
|
808 //! @SYMTestType UT |
|
809 //! @SYMTestStatus Released |
|
810 //! @SYMPREQ PREQ 1662 |
|
811 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248, REQ11250, REQ 11252, REQ 11475, REQ 11480, REQ 11481 |
|
812 //! @SYMCreationDate 21/11/2008 |
|
813 //! @SYMAuthor LornaM |
|
814 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTA-TA-TB |
|
815 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTA-TA-TB |
|
816 |
|
817 |
|
818 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTA-0-TA |
|
819 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTA-0-TA |
|
820 //! @SYMTestCaseDesc Verify correct merging of requests (single TA request) |
|
821 //! @SYMTestActions 1. Create gps positioner and update request listener. |
|
822 //! 2. The update request listener starts listening. |
|
823 //! 3. The positioner issues NPUD. |
|
824 //! 4. Start the active scheduler for some time. |
|
825 //! 5. Check that default update request is received with newClient flag set to ETrue and mode set to TA. |
|
826 //! 6. Create and issue the simple pos update. |
|
827 //! 7. Start the active scheduler for some time. |
|
828 //! 8. Check the pos update is received and equal to the sent one. |
|
829 //! @SYMTestExpectedResults single update request received with mode set to TA. NPUD completes normally |
|
830 //! @SYMTestPriority High |
|
831 //! @SYMTestType UT |
|
832 //! @SYMTestStatus Released |
|
833 //! @SYMPREQ PREQ 1662 |
|
834 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248, REQ 11252, REQ 11475, REQ 11480, REQ 11481 |
|
835 //! @SYMCreationDate 21/11/2008 |
|
836 //! @SYMAuthor LornaM |
|
837 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTA-0-TA |
|
838 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTA-0-TA |
|
839 |
|
840 |
|
841 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTA-TA-TA |
|
842 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTA-TA-TA |
|
843 //! @SYMTestCaseDesc Verify correct merging of requests (2 TA requests) |
|
844 //! @SYMTestActions 1. Create agps positioner and update request listener. |
|
845 //! 2. The update request listener starts listening. |
|
846 //! 3. The positioner issues NPUD (mode = TA). |
|
847 //! 4. Start the active scheduler for some time. |
|
848 //! 5. Check that default update request is received with newClient flag set to ETrue and mode set to TA. |
|
849 //! 6. Create a second agps positioner |
|
850 //! 7. Second positioner issues NPUD (mode = TA) |
|
851 //! 8. Check that another update request is not received |
|
852 //! 9. Create and issue the simple pos update. |
|
853 //! 10. Start the active scheduler for some time. |
|
854 //! 11. Check the pos update is received by both positioners and equal to the sent one. |
|
855 //! @SYMTestExpectedResults single update request received with mode set to TA. Both NPUDs complete normally. |
|
856 //! @SYMTestPriority High |
|
857 //! @SYMTestType UT |
|
858 //! @SYMTestStatus Released |
|
859 //! @SYMPREQ PREQ 1662 |
|
860 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248,REQ11250, REQ 11252, REQ 11475, REQ 11480, REQ 11481 |
|
861 //! @SYMCreationDate 21/11/2008 |
|
862 //! @SYMAuthor LornaM |
|
863 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTA-TA-TA |
|
864 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTA-TA-TA |
|
865 |
|
866 |
|
867 |
|
868 //------------------------------- Device Caps TA || TB |
|
869 |
|
870 RUN_UTILS CopyFile c:\testdata\configs\te_lbsagpspsy_devicecaps_exclusive.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini |
|
871 |
|
872 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-0-A |
|
873 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-0-A |
|
874 //! @SYMTestCaseDesc Verify correct merging of requests (single autonomous request) |
|
875 //! @SYMTestActions 1. Create gps positioner and update request listener. |
|
876 //! 2. The update request listener starts listening. |
|
877 //! 3. The positioner issues NPUD. |
|
878 //! 4. Start the active scheduler for some time. |
|
879 //! 5. Check that default update request is received with newClient flag set to ETrue and mode set to autonomous. |
|
880 //! 6. Create and issue the simple pos update. |
|
881 //! 7. Start the active scheduler for some time. |
|
882 //! 8. Check the pos update is received and equal to the sent one. |
|
883 //! @SYMTestExpectedResults single update request received with mode set to autonomous. NPUD completes normally |
|
884 //! @SYMTestPriority High |
|
885 //! @SYMTestType UT |
|
886 //! @SYMTestStatus Released |
|
887 //! @SYMPREQ PREQ 1662 |
|
888 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248, REQ 11252, REQ 11475, REQ 11480, REQ 11481, REQ 11649, REQ 11657 |
|
889 //! @SYMCreationDate 21/11/2008 |
|
890 //! @SYMAuthor LornaM |
|
891 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTBORTA-0-A |
|
892 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-0-A |
|
893 |
|
894 |
|
895 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-0-TB |
|
896 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-0-TB |
|
897 //! @SYMTestCaseDesc Verify correct merging of requests (single TB) |
|
898 //! @SYMTestActions 1. Create agps positioner and update request listener. |
|
899 //! 2. The update request listener starts listening. |
|
900 //! 3. The positioner issues NPUD (mode = TB). |
|
901 //! 4. Start the active scheduler for some time. |
|
902 //! 5. Check that default update request is received with newClient flag set to ETrue and mode set to TB. |
|
903 //! 6. Create and issue the simple pos update. |
|
904 //! 7. Start the active scheduler for some time. |
|
905 //! 8. Check the pos update is received by the positioner and equal to the sent one. |
|
906 //! @SYMTestExpectedResults single update request received with mode set to TB. NPUD completes normally. |
|
907 //! @SYMTestPriority High |
|
908 //! @SYMTestType UT |
|
909 //! @SYMTestStatus Released |
|
910 //! @SYMPREQ PREQ 1662 |
|
911 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248, REQ 11252, REQ 11475, REQ 11480, REQ 11481 |
|
912 //! @SYMCreationDate 21/11/2008 |
|
913 //! @SYMAuthor LornaM |
|
914 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTBORTA-0-TB |
|
915 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-0-TB |
|
916 |
|
917 |
|
918 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-0-TA |
|
919 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-0-TA |
|
920 //! @SYMTestCaseDesc Verify correct merging of requests (single TA request) |
|
921 //! @SYMTestActions 1. Create gps positioner and update request listener. |
|
922 //! 2. The update request listener starts listening. |
|
923 //! 3. The positioner issues NPUD. |
|
924 //! 4. Start the active scheduler for some time. |
|
925 //! 5. Check that default update request is received with newClient flag set to ETrue and mode set to TA. |
|
926 //! 6. Create and issue the simple pos update. |
|
927 //! 7. Start the active scheduler for some time. |
|
928 //! 8. Check the pos update is received and equal to the sent one. |
|
929 //! @SYMTestExpectedResults single update request received with mode set to TA. NPUD completes normally |
|
930 //! @SYMTestPriority High |
|
931 //! @SYMTestType UT |
|
932 //! @SYMTestStatus Released |
|
933 //! @SYMPREQ PREQ 1662 |
|
934 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248,REQ 11252, REQ 11475, REQ 11480, REQ 11481 |
|
935 //! @SYMCreationDate 21/11/2008 |
|
936 //! @SYMAuthor LornaM |
|
937 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTBORTA-0-TA |
|
938 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-0-TA |
|
939 |
|
940 |
|
941 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-TB-A |
|
942 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-TB-A |
|
943 //! @SYMTestCaseDesc Verify correct merging of requests (TB then autonomous) |
|
944 //! @SYMTestActions 1. Create agps positioner and update request listener. |
|
945 //! 2. The update request listener starts listening. |
|
946 //! 3. The positioner issues NPUD (mode = TB). |
|
947 //! 4. Start the active scheduler for some time. |
|
948 //! 5. Check that default update request is received with newClient flag set to ETrue and mode set to TB. |
|
949 //! 6. Create a second gps positioner |
|
950 //! 7. Second positioner issues NPUD (mode = Autononmous) |
|
951 //! 8. Check that another update request is not received |
|
952 //! 9. Create and issue the simple pos update. |
|
953 //! 10. Start the active scheduler for some time. |
|
954 //! 11. Check the pos update is received by both positioners and equal to the sent one. |
|
955 //! @SYMTestExpectedResults single update request received with mode set to TB. Both NPUDs complete normally |
|
956 //! @SYMTestPriority High |
|
957 //! @SYMTestType UT |
|
958 //! @SYMTestStatus Released |
|
959 //! @SYMPREQ PREQ 1662 |
|
960 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248,REQ11250, REQ 11252, REQ 11475, REQ 11480, REQ 11481, REQ 11649, REQ 11651, REQ 11657 |
|
961 //! @SYMCreationDate 21/11/2008 |
|
962 //! @SYMAuthor LornaM |
|
963 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTBORTA-TB-A |
|
964 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-TB-A |
|
965 |
|
966 |
|
967 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-TB-TB |
|
968 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-TB-TB |
|
969 //! @SYMTestCaseDesc Verify correct merging of requests (2 TB requests) |
|
970 //! @SYMTestActions 1. Create gps positioner and update request listener. |
|
971 //! 2. The update request listener starts listening. |
|
972 //! 3. The positioner issues NPUD (mode = TB). |
|
973 //! 4. Start the active scheduler for some time. |
|
974 //! 5. Check that default update request is received with newClient flag set to ETrue and mode set to TB. |
|
975 //! 6. Create a second gps positioner |
|
976 //! 7. Second positioner issues NPUD (mode = TB) |
|
977 //! 8. Check that another update request is not received |
|
978 //! 9. Create and issue the simple pos update. |
|
979 //! 10. Start the active scheduler for some time. |
|
980 //! 11. Check the pos update is received by both positioners and equal to the sent one. |
|
981 //! @SYMTestExpectedResults single update request received with mode set to TB. Both NPUDs complete normally. |
|
982 //! @SYMTestPriority High |
|
983 //! @SYMTestType UT |
|
984 //! @SYMTestStatus Released |
|
985 //! @SYMPREQ PREQ 1662 |
|
986 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248, REQ11250, REQ 11252, REQ 11475, REQ 11480, REQ 11481 |
|
987 //! @SYMCreationDate 21/11/2008 |
|
988 //! @SYMAuthor LornaM |
|
989 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTBORTA-TB-TB |
|
990 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-TB-TB |
|
991 |
|
992 |
|
993 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-TB-TA |
|
994 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-TB-TA |
|
995 //! @SYMTestCaseDesc Verify correct merging of requests (TB then TA) |
|
996 //! @SYMTestActions 1. Create agps positioner and update request listener. |
|
997 //! 2. The update request listener starts listening. |
|
998 //! 3. The positioner issues NPUD (mode = TB). |
|
999 //! 4. Check that default update request is received with newClient flag set to ETrue and mode set to TB. |
|
1000 //! 6. Create a second gps positioner |
|
1001 //! 7. Second positioner issues NPUD (mode = TA) |
|
1002 //! 8. Check that the update request fails with KErrInUse |
|
1003 //! 9. Start the active scheduler for some time. |
|
1004 //! 10. Check that another update request is not received |
|
1005 //! @SYMTestExpectedResults Single update requests received with mode TB, first NPUD completes normally second NPUD completes with KErrInUse |
|
1006 //! @SYMTestPriority High |
|
1007 //! @SYMTestType UT |
|
1008 //! @SYMTestStatus Released |
|
1009 //! @SYMPREQ PREQ 1662 |
|
1010 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248, REQ11250, REQ 11252, REQ 11475, REQ 11480, REQ 11481 |
|
1011 //! @SYMCreationDate 21/11/2008 |
|
1012 //! @SYMAuthor LornaM |
|
1013 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTBORTA-TB-TA |
|
1014 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-TB-TA |
|
1015 |
|
1016 |
|
1017 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-TA-A |
|
1018 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-TA-A |
|
1019 //! @SYMTestCaseDesc Verify correct merging of requests (TA then autonomous) |
|
1020 //! @SYMTestActions 1. Create agps positioner and update request listener. |
|
1021 //! 2. The update request listener starts listening. |
|
1022 //! 3. The positioner issues NPUD (mode = TA). |
|
1023 //! 4. Check that default update request is received with newClient flag set to ETrue and mode set to TA. |
|
1024 //! 6. Create a second gps positioner |
|
1025 //! 7. Second positioner issues NPUD (mode = autonomous) |
|
1026 //! 8. Check that the update request fails with KErrInUse |
|
1027 //! 9. Start the active scheduler for some time. |
|
1028 //! 10. Check that another update request is not received |
|
1029 //! @SYMTestExpectedResults Single update requests received with mode TA, first NPUD completes normally second NPUD completes with KErrInUse |
|
1030 //! @SYMTestPriority High |
|
1031 //! @SYMTestType UT |
|
1032 //! @SYMTestStatus Released |
|
1033 //! @SYMPREQ PREQ 1662 |
|
1034 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248, REQ11250, REQ 11252, REQ 11475, REQ 11480, REQ 11481, REQ 11649, REQ 11651, REQ 11652, REQ 11657 |
|
1035 //! @SYMCreationDate 21/11/2008 |
|
1036 //! @SYMAuthor LornaM |
|
1037 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTBORTA-TA-A |
|
1038 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-TA-A |
|
1039 |
|
1040 |
|
1041 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-TA-TB |
|
1042 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-TA-TB |
|
1043 //! @SYMTestCaseDesc Verify correct merging of requests (TA then TB) |
|
1044 //! @SYMTestActions 1. Create agps positioner and update request listener. |
|
1045 //! 2. The update request listener starts listening. |
|
1046 //! 3. The positioner issues NPUD (mode = TA). |
|
1047 //! 4. Check that default update request is received with newClient flag set to ETrue and mode set to TA. |
|
1048 //! 6. Create a second gps positioner |
|
1049 //! 7. Second positioner issues NPUD (mode = TB) |
|
1050 //! 8. Check that the update request fails with KErrInUse |
|
1051 //! 9. Start the active scheduler for some time. |
|
1052 //! 10. Check that another update request is not received |
|
1053 //! @SYMTestExpectedResults Single update requests received with mode TA, first NPUD completes normally second NPUD completes with KErrInUse |
|
1054 //! @SYMTestPriority High |
|
1055 //! @SYMTestType UT |
|
1056 //! @SYMTestStatus Released |
|
1057 //! @SYMPREQ PREQ 1662 |
|
1058 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248, REQ11250, REQ 11252, REQ 11475, REQ 11480, REQ 11481 |
|
1059 //! @SYMCreationDate 21/11/2008 |
|
1060 //! @SYMAuthor LornaM |
|
1061 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTBORTA-TA-TB |
|
1062 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-TA-TB |
|
1063 |
|
1064 |
|
1065 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-TA-TA |
|
1066 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-TA-TA |
|
1067 //! @SYMTestCaseDesc Verify correct merging of requests (2 TA requests) |
|
1068 //! @SYMTestActions 1. Create agps positioner and update request listener. |
|
1069 //! 2. The update request listener starts listening. |
|
1070 //! 3. The positioner issues NPUD (mode = TA). |
|
1071 //! 4. Start the active scheduler for some time. |
|
1072 //! 5. Check that default update request is received with newClient flag set to ETrue and mode set to TA. |
|
1073 //! 6. Create a second agps positioner |
|
1074 //! 7. Second positioner issues NPUD (mode = TA) |
|
1075 //! 8. Check that another update request is not received |
|
1076 //! 9. Create and issue the simple pos update. |
|
1077 //! 10. Start the active scheduler for some time. |
|
1078 //! 11. Check the pos update is received by both positioners and equal to the sent one. |
|
1079 //! @SYMTestExpectedResults single update request received with mode set to TA. Both NPUDs complete normally. |
|
1080 //! @SYMTestPriority High |
|
1081 //! @SYMTestType UT |
|
1082 //! @SYMTestStatus Released |
|
1083 //! @SYMPREQ PREQ 1662 |
|
1084 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248, REQ11250, REQ 11252, REQ 11475, REQ 11480, REQ 11481 |
|
1085 //! @SYMCreationDate 21/11/2008 |
|
1086 //! @SYMAuthor LornaM |
|
1087 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTBORTA-TA-TA |
|
1088 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-TA-TA |
|
1089 |
|
1090 |
|
1091 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-A-A |
|
1092 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-A-A |
|
1093 //! @SYMTestCaseDesc Verify correct merging of requests (2 autonomous requests) |
|
1094 //! @SYMTestActions 1. Create gps positioner and update request listener. |
|
1095 //! 2. The update request listener starts listening. |
|
1096 //! 3. The positioner issues NPUD (mode = Autonomous). |
|
1097 //! 4. Start the active scheduler for some time. |
|
1098 //! 5. Check that default update request is received with newClient flag set to ETrue and mode set to autonomous. |
|
1099 //! 6. Create a second gps positioner |
|
1100 //! 7. Second positioner issues NPUD (mode = autonomous) |
|
1101 //! 8. Check that another update request is not received |
|
1102 //! 9. Create and issue the simple pos update. |
|
1103 //! 10. Start the active scheduler for some time. |
|
1104 //! 11. Check the pos update is received by both positioners and equal to the sent one. |
|
1105 //! @SYMTestExpectedResults single update request received with mode set to autonomous. Both NPUDs complete normally. |
|
1106 //! @SYMTestPriority High |
|
1107 //! @SYMTestType UT |
|
1108 //! @SYMTestStatus Released |
|
1109 //! @SYMPREQ PREQ 1662 |
|
1110 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248, REQ11250, REQ 11252, REQ 11475, REQ 11480, REQ 11481, REQ 11649, REQ 11656, REQ 11657 |
|
1111 //! @SYMCreationDate 21/11/2008 |
|
1112 //! @SYMAuthor LornaM |
|
1113 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTBORTA-A-A |
|
1114 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-A-A |
|
1115 |
|
1116 |
|
1117 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-A-TB |
|
1118 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-A-TB |
|
1119 //! @SYMTestCaseDesc Verify correct merging of requests (autonomous then TB) |
|
1120 //! @SYMTestActions 1. Create gps positioner and update request listener. |
|
1121 //! 2. The update request listener starts listening. |
|
1122 //! 3. The positioner issues NPUD (mode = Autonomous). |
|
1123 //! 4. Start the active scheduler for some time. |
|
1124 //! 5. Check that default update request is received with newClient flag set to ETrue and mode set to autonomous. |
|
1125 //! 6. Create a second gps positioner |
|
1126 //! 7. Second positioner issues NPUD (mode = TB) |
|
1127 //! 8. Check that default update request is received with newClient flag set to ETrue and mode set to TB. |
|
1128 //! 9. Create and issue the simple pos update. |
|
1129 //! 10. Start the active scheduler for some time. |
|
1130 //! 11. Check the pos update is received by both positioners and equal to the sent one. |
|
1131 //! @SYMTestExpectedResults 2 update requests received with mode set to autonomous then TB. Both NPUDs complete normally |
|
1132 //! @SYMTestPriority High |
|
1133 //! @SYMTestType UT |
|
1134 //! @SYMTestStatus Released |
|
1135 //! @SYMPREQ PREQ 1662 |
|
1136 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248, REQ11250, REQ 11252, REQ 11475, REQ 11480, REQ 11481, REQ 11649, REQ 11651, REQ 11657 |
|
1137 //! @SYMCreationDate 21/11/2008 |
|
1138 //! @SYMAuthor LornaM |
|
1139 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTBORTA-A-TB |
|
1140 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-A-TB |
|
1141 |
|
1142 |
|
1143 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-A-TA |
|
1144 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-A-TA |
|
1145 //! @SYMTestCaseDesc Verify correct merging of requests (autonomous the TA) |
|
1146 //! @SYMTestActions 1. Create gps positioner and update request listener. |
|
1147 //! 2. The update request listener starts listening. |
|
1148 //! 3. The positioner issues NPUD (mode = autonomous). |
|
1149 //! 4. Check that default update request is received with newClient flag set to ETrue and mode set to autonomous. |
|
1150 //! 6. Create a second, agps, positioner |
|
1151 //! 7. Second positioner issues NPUD (mode = TA) |
|
1152 //! 8. Check that the update request fails with KErrInUse |
|
1153 //! 9. Start the active scheduler for some time. |
|
1154 //! 10. Check that another update request is not received |
|
1155 //! @SYMTestExpectedResults Single update requests received with mode autonomous, first NPUD completes normally second NPUD completes with KErrInUse |
|
1156 //! @SYMTestPriority High |
|
1157 //! @SYMTestType UT |
|
1158 //! @SYMTestStatus Released |
|
1159 //! @SYMPREQ PREQ 1662 |
|
1160 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248, REQ11250, REQ 11252, REQ 11475, REQ 11480, REQ 11481, REQ 11649, REQ 11651, REQ 11652, REQ 11657 |
|
1161 //! @SYMCreationDate 21/11/2008 |
|
1162 //! @SYMAuthor LornaM |
|
1163 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTBORTA-A-TA |
|
1164 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTAORTB-A-TA |
|
1165 |
|
1166 |
|
1167 |
|
1168 //------------------------------- Device Caps TB && TA |
|
1169 |
|
1170 RUN_UTILS CopyFile c:\testdata\configs\te_lbsagpspsy_devicecaps_simultaneous.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini |
|
1171 |
|
1172 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-0-A |
|
1173 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-0-A |
|
1174 //! @SYMTestCaseDesc Verify correct merging of requests (single autonomous request) |
|
1175 //! @SYMTestActions 1. Create gps positioner and update request listener. |
|
1176 //! 2. The update request listener starts listening. |
|
1177 //! 3. The positioner issues NPUD. |
|
1178 //! 4. Start the active scheduler for some time. |
|
1179 //! 5. Check that default update request is received with newClient flag set to ETrue and mode set to autonomous. |
|
1180 //! 6. Create and issue the simple pos update. |
|
1181 //! 7. Start the active scheduler for some time. |
|
1182 //! 8. Check the pos update is received and equal to the sent one. |
|
1183 //! @SYMTestExpectedResults single update request received with mode set to autonomous. NPUD completes normally |
|
1184 //! @SYMTestPriority High |
|
1185 //! @SYMTestType UT |
|
1186 //! @SYMTestStatus Released |
|
1187 //! @SYMPREQ PREQ 1662 |
|
1188 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248, REQ 11252, REQ 11475, REQ 11480, REQ 11481, REQ 11649, REQ 11657 |
|
1189 //! @SYMCreationDate 21/11/2008 |
|
1190 //! @SYMAuthor LornaM |
|
1191 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTBANDTA-0-A |
|
1192 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-0-A |
|
1193 |
|
1194 |
|
1195 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-0-TB |
|
1196 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-0-TB |
|
1197 //! @SYMTestCaseDesc Verify correct merging of requests (single TB) |
|
1198 //! @SYMTestActions 1. Create agps positioner and update request listener. |
|
1199 //! 2. The update request listener starts listening. |
|
1200 //! 3. The positioner issues NPUD (mode = TB). |
|
1201 //! 4. Start the active scheduler for some time. |
|
1202 //! 5. Check that default update request is received with newClient flag set to ETrue and mode set to TB. |
|
1203 //! 6. Create and issue the simple pos update. |
|
1204 //! 7. Start the active scheduler for some time. |
|
1205 //! 8. Check the pos update is received by the positioner and equal to the sent one. |
|
1206 //! @SYMTestExpectedResults single update request received with mode set to TB. NPUD completes normally. |
|
1207 //! @SYMTestPriority High |
|
1208 //! @SYMTestType UT |
|
1209 //! @SYMTestStatus Released |
|
1210 //! @SYMPREQ PREQ 1662 |
|
1211 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248, REQ 11252, REQ 11475, REQ 11480, REQ 11481 |
|
1212 //! @SYMCreationDate 21/11/2008 |
|
1213 //! @SYMAuthor LornaM |
|
1214 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTBANDTA-0-TB |
|
1215 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-0-TB |
|
1216 |
|
1217 |
|
1218 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-0-TA |
|
1219 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-0-TA |
|
1220 //! @SYMTestCaseDesc Verify correct merging of requests (single TA request) |
|
1221 //! @SYMTestActions 1. Create gps positioner and update request listener. |
|
1222 //! 2. The update request listener starts listening. |
|
1223 //! 3. The positioner issues NPUD. |
|
1224 //! 4. Start the active scheduler for some time. |
|
1225 //! 5. Check that default update request is received with newClient flag set to ETrue and mode set to TA. |
|
1226 //! 6. Create and issue the simple pos update. |
|
1227 //! 7. Start the active scheduler for some time. |
|
1228 //! 8. Check the pos update is received and equal to the sent one. |
|
1229 //! @SYMTestExpectedResults single update request received with mode set to TA. NPUD completes normally |
|
1230 //! @SYMTestPriority High |
|
1231 //! @SYMTestType UT |
|
1232 //! @SYMTestStatus Released |
|
1233 //! @SYMPREQ PREQ 1662 |
|
1234 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248, REQ 11252, REQ 11475, REQ 11480, REQ 11481 |
|
1235 //! @SYMCreationDate 21/11/2008 |
|
1236 //! @SYMAuthor LornaM |
|
1237 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTBANDTA-0-TA |
|
1238 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-0-TA |
|
1239 |
|
1240 |
|
1241 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-TB-A |
|
1242 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-TB-A |
|
1243 //! @SYMTestCaseDesc Verify correct merging of requests (TB then autonomous) |
|
1244 //! @SYMTestActions 1. Create agps positioner and update request listener. |
|
1245 //! 2. The update request listener starts listening. |
|
1246 //! 3. The positioner issues NPUD (mode = TB). |
|
1247 //! 4. Start the active scheduler for some time. |
|
1248 //! 5. Check that default update request is received with newClient flag set to ETrue and mode set to TB. |
|
1249 //! 6. Create a second gps positioner |
|
1250 //! 7. Second positioner issues NPUD (mode = Autononmous) |
|
1251 //! 8. Check that another update request is not received |
|
1252 //! 9. Create and issue the simple pos update. |
|
1253 //! 10. Start the active scheduler for some time. |
|
1254 //! 11. Check the pos update is received by both positioners and equal to the sent one. |
|
1255 //! @SYMTestExpectedResults single update request received with mode set to TB. Both NPUDs complete normally |
|
1256 //! @SYMTestPriority High |
|
1257 //! @SYMTestType UT |
|
1258 //! @SYMTestStatus Released |
|
1259 //! @SYMPREQ PREQ 1662 |
|
1260 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248, REQ11250, REQ 11252, REQ 11475, REQ 11480, REQ 11481, REQ 11649, REQ 11651, REQ 11657 |
|
1261 //! @SYMCreationDate 21/11/2008 |
|
1262 //! @SYMAuthor LornaM |
|
1263 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTBANDTA-TB-A |
|
1264 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-TB-A |
|
1265 |
|
1266 |
|
1267 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-TB-TB |
|
1268 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-TB-TB |
|
1269 //! @SYMTestCaseDesc Verify correct merging of requests (2 TB requests) |
|
1270 //! @SYMTestActions 1. Create gps positioner and update request listener. |
|
1271 //! 2. The update request listener starts listening. |
|
1272 //! 3. The positioner issues NPUD (mode = TB). |
|
1273 //! 4. Start the active scheduler for some time. |
|
1274 //! 5. Check that default update request is received with newClient flag set to ETrue and mode set to TB. |
|
1275 //! 6. Create a second gps positioner |
|
1276 //! 7. Second positioner issues NPUD (mode = TB) |
|
1277 //! 8. Check that another update request is not received |
|
1278 //! 9. Create and issue the simple pos update. |
|
1279 //! 10. Start the active scheduler for some time. |
|
1280 //! 11. Check the pos update is received by both positioners and equal to the sent one. |
|
1281 //! @SYMTestExpectedResults single update request received with mode set to TB. Both NPUDs complete normally. |
|
1282 //! @SYMTestPriority High |
|
1283 //! @SYMTestType UT |
|
1284 //! @SYMTestStatus Released |
|
1285 //! @SYMPREQ PREQ 1662 |
|
1286 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248, REQ11250, REQ 11252, REQ 11475, REQ 11480, REQ 11481 |
|
1287 //! @SYMCreationDate 21/11/2008 |
|
1288 //! @SYMAuthor LornaM |
|
1289 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTBANDTA-TB-TB |
|
1290 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-TB-TB |
|
1291 |
|
1292 |
|
1293 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-TB-TA |
|
1294 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-TB-TA |
|
1295 //! @SYMTestCaseDesc Verify correct merging of requests (TB then TA) |
|
1296 //! @SYMTestActions 1. Create agps positioner and update request listener. |
|
1297 //! 2. The update request listener starts listening. |
|
1298 //! 3. The positioner issues NPUD (mode = TB). |
|
1299 //! 4. Check that default update request is received with newClient flag set to ETrue and mode set to TB. |
|
1300 //! 6. Create a second gps positioner |
|
1301 //! 7. Second positioner issues NPUD (mode = TA) |
|
1302 //! 8. Check that the update request fails with KErrInUse |
|
1303 //! 9. Start the active scheduler for some time. |
|
1304 //! 10. Check that another update request is not received |
|
1305 //! @SYMTestExpectedResults Single update requests received with mode TB, first NPUD completes normally second NPUD completes with KErrInUse |
|
1306 //! @SYMTestPriority High |
|
1307 //! @SYMTestType UT |
|
1308 //! @SYMTestStatus Released |
|
1309 //! @SYMPREQ PREQ 1662 |
|
1310 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248, REQ11250, REQ 11252, REQ 11475, REQ 11480, REQ 11481 |
|
1311 //! @SYMCreationDate 21/11/2008 |
|
1312 //! @SYMAuthor LornaM |
|
1313 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTBANDTA-TB-TA |
|
1314 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-TB-TA |
|
1315 |
|
1316 |
|
1317 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-TA-A |
|
1318 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-TA-A |
|
1319 //! @SYMTestCaseDesc Verify correct merging of requests (TA then autonomous) |
|
1320 //! @SYMTestActions 1. Create agps positioner and update request listener. |
|
1321 //! 2. The update request listener starts listening. |
|
1322 //! 3. The positioner issues NPUD (mode = TA). |
|
1323 //! 4. Check that default update request is received with newClient flag set to ETrue and mode set to TA. |
|
1324 //! 6. Create a second gps positioner |
|
1325 //! 7. Second positioner issues NPUD (mode = autonomous) |
|
1326 //! 8. Check that the update request fails with KErrInUse |
|
1327 //! 9. Start the active scheduler for some time. |
|
1328 //! 10. Check that another update request is not received |
|
1329 //! @SYMTestExpectedResults Single update requests received with mode TA, first NPUD completes normally second NPUD completes with KErrInUse |
|
1330 //! @SYMTestPriority High |
|
1331 //! @SYMTestType UT |
|
1332 //! @SYMTestStatus Released |
|
1333 //! @SYMPREQ PREQ 1662 |
|
1334 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248, REQ11250, REQ 11252, REQ 11475, REQ 11480, REQ 11481, REQ 11649, REQ 11652, REQ 11657 |
|
1335 //! @SYMCreationDate 21/11/2008 |
|
1336 //! @SYMAuthor LornaM |
|
1337 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTBANDTA-TA-A |
|
1338 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-TA-A |
|
1339 |
|
1340 |
|
1341 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-TA-TB |
|
1342 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-TA-TB |
|
1343 //! @SYMTestCaseDesc Verify correct merging of requests (TA then TB) |
|
1344 //! @SYMTestActions 1. Create agps positioner and update request listener. |
|
1345 //! 2. The update request listener starts listening. |
|
1346 //! 3. The positioner issues NPUD (mode = TA). |
|
1347 //! 4. Check that default update request is received with newClient flag set to ETrue and mode set to TA. |
|
1348 //! 6. Create a second gps positioner |
|
1349 //! 7. Second positioner issues NPUD (mode = TB) |
|
1350 //! 8. Check that the update request fails with KErrInUse |
|
1351 //! 9. Start the active scheduler for some time. |
|
1352 //! 10. Check that another update request is not received |
|
1353 //! @SYMTestExpectedResults Single update requests received with mode TA, first NPUD completes normally second NPUD completes with KErrInUse |
|
1354 //! @SYMTestPriority High |
|
1355 //! @SYMTestType UT |
|
1356 //! @SYMTestStatus Released |
|
1357 //! @SYMPREQ PREQ 1662 |
|
1358 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248, REQ11250, REQ 11252, REQ 11475, REQ 11480, REQ 11481 |
|
1359 //! @SYMCreationDate 21/11/2008 |
|
1360 //! @SYMAuthor LornaM |
|
1361 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTBANDTA-TA-TB |
|
1362 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-TA-TB |
|
1363 |
|
1364 |
|
1365 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-TA-TA |
|
1366 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-TA-TA |
|
1367 //! @SYMTestCaseDesc Verify correct merging of requests (2 TA requests) |
|
1368 //! @SYMTestActions 1. Create agps positioner and update request listener. |
|
1369 //! 2. The update request listener starts listening. |
|
1370 //! 3. The positioner issues NPUD (mode = TA). |
|
1371 //! 4. Start the active scheduler for some time. |
|
1372 //! 5. Check that default update request is received with newClient flag set to ETrue and mode set to TA. |
|
1373 //! 6. Create a second agps positioner |
|
1374 //! 7. Second positioner issues NPUD (mode = TA) |
|
1375 //! 8. Check that another update request is not received |
|
1376 //! 9. Create and issue the simple pos update. |
|
1377 //! 10. Start the active scheduler for some time. |
|
1378 //! 11. Check the pos update is received by both positioners and equal to the sent one. |
|
1379 //! @SYMTestExpectedResults single update request received with mode set to TA. Both NPUDs complete normally. |
|
1380 //! @SYMTestPriority High |
|
1381 //! @SYMTestType UT |
|
1382 //! @SYMTestStatus Released |
|
1383 //! @SYMPREQ PREQ 1662 |
|
1384 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248, REQ11250, REQ 11252, REQ 11475, REQ 11480, REQ 11481 |
|
1385 //! @SYMCreationDate 21/11/2008 |
|
1386 //! @SYMAuthor LornaM |
|
1387 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTBANDTA-TA-TA |
|
1388 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-TA-TA |
|
1389 |
|
1390 |
|
1391 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-A-A |
|
1392 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-A-A |
|
1393 //! @SYMTestCaseDesc Verify correct merging of requests (2 autonomous requests) |
|
1394 //! @SYMTestActions 1. Create gps positioner and update request listener. |
|
1395 //! 2. The update request listener starts listening. |
|
1396 //! 3. The positioner issues NPUD (mode = Autonomous). |
|
1397 //! 4. Start the active scheduler for some time. |
|
1398 //! 5. Check that default update request is received with newClient flag set to ETrue and mode set to autonomous. |
|
1399 //! 6. Create a second gps positioner |
|
1400 //! 7. Second positioner issues NPUD (mode = autonomous) |
|
1401 //! 8. Check that another update request is not received |
|
1402 //! 9. Create and issue the simple pos update. |
|
1403 //! 10. Start the active scheduler for some time. |
|
1404 //! 11. Check the pos update is received by both positioners and equal to the sent one. |
|
1405 //! @SYMTestExpectedResults single update request received with mode set to autonomous. Both NPUDs complete normally. |
|
1406 //! @SYMTestPriority High |
|
1407 //! @SYMTestType UT |
|
1408 //! @SYMTestStatus Released |
|
1409 //! @SYMPREQ PREQ 1662 |
|
1410 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248, REQ11250, REQ 11252, REQ 11475, REQ 11480, REQ 11481, REQ 11649, REQ 11656, REQ 11657 |
|
1411 //! @SYMCreationDate 21/11/2008 |
|
1412 //! @SYMAuthor LornaM |
|
1413 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTBANDTA-A-A |
|
1414 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-A-A |
|
1415 |
|
1416 |
|
1417 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-A-TB |
|
1418 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-A-TB |
|
1419 //! @SYMTestCaseDesc Verify correct merging of requests (autonomous then TB) |
|
1420 //! @SYMTestActions 1. Create gps positioner and update request listener. |
|
1421 //! 2. The update request listener starts listening. |
|
1422 //! 3. The positioner issues NPUD (mode = Autonomous). |
|
1423 //! 4. Start the active scheduler for some time. |
|
1424 //! 5. Check that default update request is received with newClient flag set to ETrue and mode set to autonomous. |
|
1425 //! 6. Create a second gps positioner |
|
1426 //! 7. Second positioner issues NPUD (mode = TB) |
|
1427 //! 8. Check that default update request is received with newClient flag set to ETrue and mode set to TB. |
|
1428 //! 9. Create and issue the simple pos update. |
|
1429 //! 10. Start the active scheduler for some time. |
|
1430 //! 11. Check the pos update is received by both positioners and equal to the sent one. |
|
1431 //! @SYMTestExpectedResults 2 update requests received with mode set to autonomous then TB. Both NPUDs complete normally |
|
1432 //! @SYMTestPriority High |
|
1433 //! @SYMTestType UT |
|
1434 //! @SYMTestStatus Released |
|
1435 //! @SYMPREQ PREQ 1662 |
|
1436 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248, REQ11250, REQ 11252, REQ 11475, REQ 11480, REQ 11481, REQ 11649, REQ 11651, REQ 11657 |
|
1437 //! @SYMCreationDate 21/11/2008 |
|
1438 //! @SYMAuthor LornaM |
|
1439 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTBANDTA-A-TB |
|
1440 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-A-TB |
|
1441 |
|
1442 |
|
1443 START_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-A-TA |
|
1444 //! @SYMTestCaseID LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-A-TA |
|
1445 //! @SYMTestCaseDesc Verify correct merging of requests (autonomous then TA) |
|
1446 //! @SYMTestActions 1. Create agps positioner and update request listener. |
|
1447 //! 2. The update request listener starts listening. |
|
1448 //! 3. The positioner issues NPUD (mode = autonomous). |
|
1449 //! 4. Check that default update request is received with newClient flag set to ETrue and mode set to autonomous. |
|
1450 //! 6. Create a second gps positioner |
|
1451 //! 7. Second positioner issues NPUD (mode = TA) |
|
1452 //! 8. Check that the update request fails with KErrInUse |
|
1453 //! 9. Start the active scheduler for some time. |
|
1454 //! 10. Check that another update request is not received |
|
1455 //! @SYMTestExpectedResults Single update requests received with mode autonomous, first NPUD completes normally second NPUD completes with KErrInUse |
|
1456 //! @SYMTestPriority High |
|
1457 //! @SYMTestType UT |
|
1458 //! @SYMTestStatus Released |
|
1459 //! @SYMPREQ PREQ 1662 |
|
1460 //! @SYMREQ REQ 8827, REQ 8828, REQ 11248, REQ11250, REQ 11252, REQ 11475, REQ 11480, REQ 11481, REQ 11649, REQ 11652, REQ 11657 |
|
1461 //! @SYMCreationDate 21/11/2008 |
|
1462 //! @SYMAuthor LornaM |
|
1463 RUN_TEST_STEP 300 te_lbsagpspsysuite NotifyPositionUpdateMode c:\testdata\configs\te_lbsagpspsy.ini SectionMerge-CAPSTBANDTA-A-TA |
|
1464 END_TESTCASE LBS-AgpsPsySuite-NPUDModeMerge-CapsTBANDTA-A-TA |
|
1465 |
|
1466 |
|
1467 // TidyUp: |
|
1468 RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini |
|
1469 RUN_UTILS CopyFile c:\private\10282253\lbs\locmods\temp\sirfdatasource_original.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini |
|
1470 |
|
1471 PRINT COMPLETE ALL te_lbsagpspsysuite TESTS |
|
1472 |
|
1473 |