110 |
110 |
111 START_TESTCASE LBS-Client-LastKnownPosArea-0003 |
111 START_TESTCASE LBS-Client-LastKnownPosArea-0003 |
112 //! @SYMTestCaseID LBS-Client-LastKnownPosArea-0003 |
112 //! @SYMTestCaseID LBS-Client-LastKnownPosArea-0003 |
113 //! @SYMTestCaseDesc verify that the last position is returned if current network position is unavailable |
113 //! @SYMTestCaseDesc verify that the last position is returned if current network position is unavailable |
114 //! @SYMTestPriority Medium |
114 //! @SYMTestPriority Medium |
115 //! @SYMTestActions 1. Set up SIM TSY so that the cell area is unknown |
115 //! @SYMTestActions 1. Set up SIM TSY so that the cell id is unknown |
116 //! 2. NPUD |
116 //! 2. NPUD |
117 //! 3. LastKnown Pos Area, to check position with invalid area params didn't go into database |
117 //! 3. LastKnown Pos Area |
118 //! 4. Move to GSM cell 234.15.1911.36463 (all valid) and do a NPUD |
118 //! 7. Clear Database |
119 //! 5. Do LastKnownPosArea and check match level |
119 //! @SYMTestExpectedResults Step 3: Lastknown Pos Area should return position from 2, with match level unknown |
120 //! 6. Move to 'invalid' WCDMA cell 234.15.1911.36463 and do lastknown pos area |
|
121 //! 7. Move to invalid GSM cell of 234.15.1911.90000 and do lastknown pos area |
|
122 //! 8. Move to valid GSM cell of 234.15.1911.36000 and do lastknown pos area |
|
123 //! 9. Clear Database |
|
124 //! @SYMTestExpectedResults Generally all methods should return KErrNone unless stated otherwise. Note the following: |
|
125 //! Step 3: Lastknown Pos Area should return KErrUnknown |
|
126 //! Step 5: Lastknown Pos Area should return position from 4, with match level EAreaCity |
|
127 //! Step 6: Lastknown Pos Area should return position from 4, with match level EAreaCountry (match country and network) |
|
128 //! Step 7: Lastknown Pos Area should return position from 4, with match level EAreaUknown |
|
129 //! Step 8: LastKnown Pos Area shoulr return position from 4, with match level EAreaRegion (match on all except cell) |
|
130 |
|
131 //! @SYMTestType CIT |
120 //! @SYMTestType CIT |
132 //! @SYMCreationDate 13/2/2009 |
121 //! @SYMCreationDate 13/2/2009 |
133 //! @SymTestReq REQ11527 |
122 //! @SymTestReq REQ11527 |
134 //! @SYMAuthor oad |
123 //! @SYMAuthor oad |
135 RUN_UTILS CopyFile c:\testdata\configs\lbsclientlastknownposarea0003.txt c:\config.txt |
124 RUN_UTILS CopyFile c:\testdata\configs\lbsclientlastknownposarea0003.txt c:\config.txt |
283 //RUN_TEST_STEP 010 LbsClientTestServer LbsStep_VerifyPosInfos |
272 //RUN_TEST_STEP 010 LbsClientTestServer LbsStep_VerifyPosInfos |
284 RUN_TEST_STEP 010 LbsClientTestServer LbsStep_StopLbs |
273 RUN_TEST_STEP 010 LbsClientTestServer LbsStep_StopLbs |
285 END_TESTCASE LBS-Client-LastKnownPosArea-0008 |
274 END_TESTCASE LBS-Client-LastKnownPosArea-0008 |
286 |
275 |
287 |
276 |
288 DELAY 5000 |
|
289 |
|
290 START_TESTCASE LBS-Client-LastKnownPosArea-0009 |
|
291 //! @SYMTestCaseID LBS-Client-LastKnownPosArea-0009 |
|
292 //! @SYMTestCaseDesc With both GSM and WCDMA positions in the database, we check that GetLastKnownPosArea returns the correct |
|
293 //! position and match level as we switch between GSM and WCDMA cells. |
|
294 //! @SYMTestPriority Medium |
|
295 //! @SYMTestActions 1. NPUD at 234.15.1911.65535 (GSM) |
|
296 //! 2. NPUD at 234.15.1913.65536 (WCDMA) |
|
297 //! 3. LastKnownPosInfo without change of cell |
|
298 //! 4. LastknownPosArea at 234.15.1913.32121 |
|
299 //! 5. LastKnownPosArea at 234.15.1911.88880 |
|
300 //! 6. LastKnownPosArea at 234.15.1913.76554 |
|
301 //! 7. LastKnownPosArea at 234.15.1911.19980 |
|
302 //! 8. LastKnownPosArea at 234.30.1511.66003 |
|
303 //! 9. NPUD at 234.15.1911.100 |
|
304 //! 10. LastKnownPosArea at 234.15.1911.88880 |
|
305 //! 11. Clear Database |
|
306 //! |
|
307 //! @SYMTestExpectedResults for LbsClientStep_LastKnownPosArea step |
|
308 //! 1. Completes successfully |
|
309 //! 2. Completes successfully |
|
310 //! 3. WCDMA position with EAreaCity (all area fields match) |
|
311 //! 4. Get WCDMA position, accuracy EAreaCountry |
|
312 //! 5. Get WCDMA position, accuracy EAreaCountry |
|
313 //! 6. Get WCDMA position, accuracy EAreaRegion |
|
314 //! 7. Get GSM position, accuracy EAreaRegion |
|
315 //! 8. Get WCDMA position, accuracy EAreaCountry |
|
316 //! 9. Completes Sucessfully |
|
317 //! 10. Gets GSM position with EAreaCountry. |
|
318 //! 11. Completes successfully |
|
319 //! |
|
320 //! @SYMTestType CIT |
|
321 //! @SYMCreationDate 12/10/2010 |
|
322 //! @SYMAuthor ajw |
|
323 RUN_UTILS CopyFile c:\testdata\configs\lbsclientlastknownposarea0009.txt c:\config.txt |
|
324 RUN_TEST_STEP 010 LbsClientTestServer LbsStep_StartLbs |
|
325 RUN_TEST_STEP 020 LbsClientTestServer LbsStep_SetAutonomousMode |
|
326 RUN_TEST_STEP 010 LbsClientTestServer LbsStep_InstallScheduler |
|
327 RUN_TEST_STEP 020 LbsClientTestServer LbsStep_SetUpPsy c:\testdata\configs\lbsclientlastknownposarea.ini LBS-Client-LastKnownPosArea |
|
328 RUN_TEST_STEP 020 LbsClientTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\lbsclientlastknownposarea.ini LBS-Client-LastKnownPosArea-0009 |
|
329 RUN_TEST_STEP 120 LbsClientTestServer LbsClientStep_LastKnownPosArea c:\testdata\configs\lbsclientlastknownposarea.ini LBS-Client-LastKnownPosArea-0009 |
|
330 //RUN_TEST_STEP 010 LbsClientTestServer LbsStep_VerifyPosInfos |
|
331 RUN_TEST_STEP 010 LbsClientTestServer LbsStep_StopLbs |
|
332 END_TESTCASE LBS-Client-LastKnownPosArea-0009 |
|
333 |
|
334 |
|
335 |
|
336 |
|
337 PREFIX RUN_UTILS |
277 PREFIX RUN_UTILS |
338 DeleteFile c:\config.txt |
278 DeleteFile c:\config.txt |
339 REMOVE_PREFIX |
279 REMOVE_PREFIX |
340 |
280 |