|
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 LOAD_SUITE LbsAssDataTestServer -SharedData |
|
17 |
|
18 PRINT Run LbsAssDataTestServer |
|
19 PRINT |
|
20 |
|
21 //Before we start LBS, select the test A-GPS integration module and network reg status txt file to use. |
|
22 PREFIX RUN_UTILS |
|
23 MkDir c:\private\10282253\ |
|
24 MkDir c:\private\10282253\lbs\ |
|
25 MkDir c:\private\10282253\lbs\locmods\ |
|
26 CopyFile c:\testdata\configs\xtestmodule.ini c:\private\10282253\lbs\locmods\agpsintegmodule.ini |
|
27 CopyFile c:\testdata\configs\lbstestconfig.txt c:\config.txt |
|
28 DeleteFile c:\private\10282253\lbs\lbsprofile.ini |
|
29 REMOVE_PREFIX |
|
30 |
|
31 // Reset admin then select the privacy controller (reset will give us the EGpsPreferTerminalBased). |
|
32 RUN_TEST_STEP 010 LbsAssDataTestServer LbsStep_ResetDefaultAdmin |
|
33 RUN_TEST_STEP 010 LbsAssDataTestServer LbsStep_SetPrivacyHandler c:\testdata\configs\lbsassdata.ini LBS-Ass-Data |
|
34 |
|
35 RUN_TEST_STEP 030 LbsAssDataTestServer LbsStep_StartLbs |
|
36 |
|
37 |
|
38 START_TESTCASE LBS-AssistanceData-0101 |
|
39 |
|
40 //!@SYMTestCaseID LBS-AssistanceData-0101 |
|
41 //!@SYMTestCaseDesc Empty GPS assistance data cache test |
|
42 //! |
|
43 //!@SYMTestActions 1. Connect to the location server. |
|
44 //! 2. Invoke a MO-LR using the self locate API. This will cause the A-GPS test module to |
|
45 //! receive a position update request. |
|
46 //! 3. Within the A-GPS test module attempt to read some assistance data, and verify result |
|
47 //! as below. |
|
48 //! Note: call GetAssistanceDataItem(), from within RequestLocationUpdate(). |
|
49 //! 4. Close the server connection. |
|
50 //! |
|
51 //!@SYMTestExpectedResults Verify the correct not found error (KErrNotFound) is returned for step 3. |
|
52 //!@SYMPREQ PREQ928 |
|
53 //!@SYMREQ REQ928.06 |
|
54 //! |
|
55 //!@SYMTestType CIT |
|
56 //!@SYMTestPriority 2 |
|
57 //!@SYMTestStatus Implemented. |
|
58 |
|
59 RUN_TEST_STEP 010 LbsAssDataTestServer LbsStep_InstallScheduler |
|
60 RUN_TEST_STEP 020 LbsAssDataTestServer LbsStep_SetUpPsy c:\testdata\configs\lbsassdata.ini LBS-Ass-Data |
|
61 RUN_TEST_STEP 020 LbsAssDataTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\lbsassdata.ini LBS-Ass-Data-0040 |
|
62 RUN_TEST_STEP 020 LbsAssDataTestServer LbsAssDataStep_Main c:\testdata\configs\lbsassdata.ini LBS-Ass-Data-0040 |
|
63 RUN_TEST_STEP 010 LbsAssDataTestServer LbsStep_VerifyPosInfos |
|
64 //RUN_TEST_STEP 010 LbsAssDataTestServer LbsStep_VerifyLogInfo |
|
65 |
|
66 END_TESTCASE LBS-AssistanceData-0101 |
|
67 |
|
68 |
|
69 |
|
70 //START_TESTCASE LBS-AssistanceData-0002 |
|
71 |
|
72 //!@SYMTestCaseID LBS-AssistanceData-0002 |
|
73 //!@SYMTestCaseDesc A-GPS module creation and destruction |
|
74 //! |
|
75 //!@SYMTestActions 1. Start LBS sub-system, verify the creation of the test module. |
|
76 //! 2. Shutdown the LBS sub-system, verify the destruction of the test module. |
|
77 //! |
|
78 //!@SYMTestExpectedResults Ensure the correct creation and destruction of the test module as per steps 1 and 2. |
|
79 //!@SYMPREQ PREQ928 |
|
80 //!@SYMREQ REQ928.03 |
|
81 //! |
|
82 //!@SYMTestType CIT |
|
83 //!@SYMTestPriority 2 |
|
84 //!@SYMTestStatus Not Implemented. Note: start and shutdown of LBS sub-system may not be enough to |
|
85 //! create and destroy the module. For example MLbsLocationSourceGpsObserver::Shutdown() |
|
86 //! may have to called by the module. |
|
87 |
|
88 //RUN_TEST_STEP 010 LbsAssDataTestServer LbsStep_InstallScheduler |
|
89 //RUN_TEST_STEP 020 LbsAssDataTestServer LbsStep_SetUpPsy c:\testdata\configs\lbsassdata.ini LBS-Ass-Data |
|
90 //RUN_TEST_STEP 020 LbsAssDataTestServer LbsAssDataStep_Main c:\testdata\configs\lbsassdata.ini LBS-Ass-Data-0001 |
|
91 //RUN_TEST_STEP 010 LbsAssDataTestServer LbsStep_VerifyLogInfo |
|
92 |
|
93 //END_TESTCASE LBS-AssistanceData-0002 |
|
94 |
|
95 |
|
96 |
|
97 START_TESTCASE LBS-AssistanceData-0102 |
|
98 |
|
99 //!@SYMTestCaseID LBS-AssistanceData-0102 |
|
100 //!@SYMTestCaseDesc Verify a single batch of GPS assistance data |
|
101 //! |
|
102 //!@SYMTestActions 1. Configure the network simulator to deliver a single subset of assistance data. The |
|
103 //! subset data should be chosen to ensure only one batch is delivered to the A-GPS |
|
104 //! test module. |
|
105 //! 2. Connect to the location server. |
|
106 //! 3. Invoke a MO-LR using the self locate API. This will cause the A-GPS test module to |
|
107 //! request assistance data as a result of the position update request. |
|
108 //! Note: use RequestAssistanceData(). |
|
109 //! 4. Wait for the "assistance data arrived" event within the A-GPS test module, then read |
|
110 //! and verify the assistance data. |
|
111 //! Note: implement AssistanceDataEvent() and call GetAssistanceDataItem(). |
|
112 //! 5. Process the position update produced as a result of the MO-LR, close the server |
|
113 //! connection. |
|
114 //! |
|
115 //!@SYMTestExpectedResults Verify the assistance data in step 4 against the configured network simulator data. |
|
116 //! Also ensure the correct assistance data information is logged. Note: use the RDataReader |
|
117 //! class; the TEF test step will need to verify the data via the A-GPS test module in some |
|
118 //! manner |
|
119 //!@SYMPREQ PREQ928 |
|
120 //!@SYMREQ REQ928.03 |
|
121 //!@SYMREQ REQ928.05 |
|
122 //!@SYMREQ REQ928.06 |
|
123 //!@SYMREQ REQ928.10 |
|
124 //!@SYMPREQ PREQ89 |
|
125 //!@SYMREQ REQ89.06 |
|
126 //! |
|
127 //!@SYMTestType CIT |
|
128 //!@SYMTestPriority 1 |
|
129 //!@SYMTestStatus Implemented. |
|
130 |
|
131 RUN_TEST_STEP 010 LbsAssDataTestServer LbsStep_InstallScheduler |
|
132 RUN_TEST_STEP 020 LbsAssDataTestServer LbsStep_SetUpPsy c:\testdata\configs\lbsassdata.ini LBS-Ass-Data |
|
133 |
|
134 RUN_TEST_STEP 020 LbsAssDataTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\lbsassdata.ini LBS-Ass-Data-0010 |
|
135 RUN_TEST_STEP 020 LbsAssDataTestServer LbsAssDataStep_Main c:\testdata\configs\lbsassdata.ini LBS-Ass-Data-0010 |
|
136 RUN_TEST_STEP 010 LbsAssDataTestServer LbsStep_VerifyPosInfos |
|
137 //RUN_TEST_STEP 010 LbsAssDataTestServer LbsStep_VerifyLogInfo |
|
138 |
|
139 END_TESTCASE LBS-AssistanceData-0102 |
|
140 |
|
141 |
|
142 |
|
143 //START_TESTCASE LBS-AssistanceData-0004 |
|
144 |
|
145 //!@SYMTestCaseID LBS-AssistanceData-0004 |
|
146 //!@SYMTestCaseDesc Verify multiple batches of GPS assistance data |
|
147 //! |
|
148 //!@SYMTestActions 1. Configure the network simulator to deliver a single subset of assistance data. The |
|
149 //! subset data should be chosen to ensure multiple batches are delivered to the A-GPS |
|
150 //! test module. |
|
151 //! 2. Connect to the location server. |
|
152 //! 3. Invoke a MO-LR using the self locate API. This will cause the A-GPS test module to |
|
153 //! request assistance data as a result of the position update request. |
|
154 //! Note: use RequestAssistanceData(). |
|
155 //! 4. Wait for the "assistance data arrived" event within the A-GPS test module, then read |
|
156 //! and verify the assistance data. |
|
157 //! Note: implement AssistanceDataEvent() and call GetAssistanceDataItem(). |
|
158 //! 5. Repeat step 4 until all assistance data as been processed. |
|
159 //! 6. Process the position update produced as a result of the MO-LR, close the server |
|
160 //! connection. |
|
161 //! |
|
162 //!@SYMTestExpectedResults Verify the assistance data in steps 4 and 5 against the configured network simulator data. |
|
163 //! Also ensure the correct assistance data information is logged. |
|
164 //!@SYMPREQ PREQ928 |
|
165 //!@SYMREQ REQ928.03 |
|
166 //!@SYMREQ REQ928.05 |
|
167 //!@SYMREQ REQ928.06 |
|
168 //!@SYMREQ REQ928.10 |
|
169 //!@SYMPREQ PREQ89 |
|
170 //!@SYMREQ REQ89.06 |
|
171 //! |
|
172 //!@SYMTestType CIT |
|
173 //!@SYMTestPriority 1 |
|
174 //!@SYMTestStatus Not Implemented. |
|
175 |
|
176 // may not be possible to test, we may not have this level of control when using the netsim |
|
177 |
|
178 //END_TESTCASE LBS-AssistanceData-0004 |
|
179 |
|
180 |
|
181 |
|
182 //START_TESTCASE LBS-AssistanceData-0005 |
|
183 |
|
184 //!@SYMTestCaseID LBS-AssistanceData-0005 |
|
185 //!@SYMTestCaseDesc Cancel assistance data request test PREQ 928 |
|
186 //! |
|
187 //!@SYMTestActions 1. Connect to the location server. |
|
188 //! 2. Invoke a MO-LR using the self locate API. This will cause the A-GPS test module to |
|
189 //! request assistance data as a result of the position update request. |
|
190 //! Note: use RequestAssistanceData(). |
|
191 //! 3. Invoke the cancel by passing 0 for the aDataItemMask parameter to the |
|
192 //! RequestAssistanceData() function. |
|
193 //! |
|
194 //!@SYMTestExpectedResults Verify no assistance data was not received, AssistanceDataEvent() was not called. |
|
195 //! Note: Cancel may result in a AssistanceDataEvent() being called, if so verify by looking |
|
196 //! for a MO-LR release from the network simulator. |
|
197 //!@SYMREQ REQ928.04 |
|
198 //! |
|
199 //!@SYMTestType CIT |
|
200 //!@SYMTestPriority 2 |
|
201 //!@SYMTestStatus Removed - because of new behaviour as a result of CR946. |
|
202 // |
|
203 // In the past assistance data could be cancel by cancelling the current MOLR being processed by the |
|
204 // protocol module, assistance data can now be cancelled without cancelling the MOLR, however this test |
|
205 // case and the test module does not support this. |
|
206 |
|
207 //RUN_TEST_STEP 010 LbsAssDataTestServer LbsStep_InstallScheduler |
|
208 //RUN_TEST_STEP 020 LbsAssDataTestServer LbsStep_SetUpPsy c:\testdata\configs\lbsassdata.ini LBS-Ass-Data |
|
209 //RUN_TEST_STEP 020 LbsAssDataTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\lbsassdata.ini LBS-Ass-Data-0012 |
|
210 //RUN_TEST_STEP 020 LbsAssDataTestServer LbsAssDataStep_Main c:\testdata\configs\lbsassdata.ini LBS-Ass-Data-0012 |
|
211 //RUN_TEST_STEP 010 LbsAssDataTestServer LbsStep_VerifyPosInfos |
|
212 //RUN_TEST_STEP 010 LbsAssDataTestServer LbsStep_VerifyLogInfo |
|
213 |
|
214 //END_TESTCASE LBS-AssistanceData-0005 |
|
215 |
|
216 |
|
217 |
|
218 START_TESTCASE LBS-AssistanceData-0103 |
|
219 |
|
220 //!@SYMTestCaseID LBS-AssistanceData-0103 |
|
221 //!@SYMTestCaseDesc Verify unsolicited GPS assistance data |
|
222 //! |
|
223 //!@SYMTestActions 1. Configure the network simulator to deliver a single subset of assistance data. The |
|
224 //! subset data should be chosen to ensure only one batch is delivered to the A-GPS |
|
225 //! test module. |
|
226 //! 2. Invoke a MT-LR using the network simulator. This will cause the A-GPS test module to receive an unsolicited batch of GPS assistance data. |
|
227 //! 3. Wait for the "assistance data arrived" event within the A-GPS test module, then read and verify the assistance data. |
|
228 //! Note: implement AssistanceDataEvent() and call GetAssistanceDataItem(). |
|
229 //! 4. Process the position update produced as a result of the MT-LR, using the network simulator. |
|
230 //! Note: may have to process the privacy and MT-LR position up via the network/privacy API. |
|
231 //! |
|
232 //!@SYMTestExpectedResults Verify the assistance data in step 3 against the configured network simulator data. |
|
233 //! Note the unsolicited data may result in a log entry as per REQ928.10 - check. |
|
234 //!@SYMPREQ PREQ928 |
|
235 //!@SYMREQ REQ928.05 |
|
236 //! |
|
237 //!@SYMTestType CIT |
|
238 //!@SYMTestPriority 1 |
|
239 //!@SYMTestStatus Implemented. |
|
240 |
|
241 RUN_TEST_STEP 010 LbsAssDataTestServer LbsStep_InstallScheduler |
|
242 RUN_TEST_STEP 020 LbsAssDataTestServer LbsStep_SetUpPsy c:\testdata\configs\lbsassdata.ini LBS-Ass-Data |
|
243 |
|
244 RUN_TEST_STEP 020 LbsAssDataTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\lbsassdata.ini LBS-Ass-Data-0020 |
|
245 RUN_TEST_STEP 020 LbsAssDataTestServer LbsAssDataStep_Main c:\testdata\configs\lbsassdata.ini LBS-Ass-Data-0020 |
|
246 //RUN_TEST_STEP 010 LbsAssDataTestServer LbsStep_VerifyLogInfo |
|
247 |
|
248 END_TESTCASE LBS-AssistanceData-0103 |
|
249 |
|
250 |
|
251 START_TESTCASE LBS-AssistanceData-0104 |
|
252 |
|
253 //!@SYMTestCaseID LBS-AssistanceData-0104 |
|
254 //!@SYMTestCaseDesc Verify the GPS assistance data time stamp |
|
255 //! |
|
256 //!@SYMTestActions 1. Configure the network simulator to deliver a single subset of assistance data. The |
|
257 //! subset data should be chosen to ensure only one batch is delivered to the A-GPS |
|
258 //! test module. |
|
259 //! 2. Connect to the location server. |
|
260 //! 3. Invoke a MO-LR using the self locate API. This will cause the A-GPS test module to |
|
261 //! request assistance data as a result of the position update request. |
|
262 //! Note: use RequestAssistanceData(). |
|
263 //! 4. Wait for the "assistance data arrived" event within the A-GPS test module, then read |
|
264 //! and verify the assistance data time stamp. |
|
265 //! Note: implement AssistanceDataEvent() and call GetAssistanceDataItemTimeStamp(). |
|
266 //! 5. Process the position update produced as a result of the MO-LR, close the server |
|
267 //! connection. |
|
268 //! |
|
269 //!@SYMTestExpectedResults Verify the assistance data time stamp in step 4 falls between request time and current time. |
|
270 //!@SYMPREQ PREQ928 |
|
271 //!@SYMREQ REQ928.03 |
|
272 //! |
|
273 //!@SYMTestType CIT |
|
274 //!@SYMTestPriority 2 |
|
275 //!@SYMTestStatus Implemented. |
|
276 |
|
277 RUN_TEST_STEP 010 LbsAssDataTestServer LbsStep_InstallScheduler |
|
278 RUN_TEST_STEP 020 LbsAssDataTestServer LbsStep_SetUpPsy c:\testdata\configs\lbsassdata.ini LBS-Ass-Data |
|
279 |
|
280 RUN_TEST_STEP 020 LbsAssDataTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\lbsassdata.ini LBS-Ass-Data-0030 |
|
281 RUN_TEST_STEP 020 LbsAssDataTestServer LbsAssDataStep_Main c:\testdata\configs\lbsassdata.ini LBS-Ass-Data-0030 |
|
282 RUN_TEST_STEP 010 LbsAssDataTestServer LbsStep_VerifyPosInfos |
|
283 //RUN_TEST_STEP 010 LbsAssDataTestServer LbsStep_VerifyLogInfo |
|
284 |
|
285 END_TESTCASE LBS-AssistanceData-0104 |
|
286 |
|
287 |
|
288 |
|
289 START_TESTCASE LBS-AssistanceData-0105 |
|
290 |
|
291 //!@SYMTestCaseID LBS-AssistanceData-0105 |
|
292 //!@SYMTestCaseDesc Request GPS assistance data when no network available |
|
293 //! |
|
294 //!@SYMTestActions 1. Configure network simulation to ensure it does not deliver assistance data. |
|
295 //! 2. Connect to the location server. |
|
296 //! 3. Invoke a MO-LR using the self locate API. This will cause the A-GPS test module to |
|
297 //! receive a position update request. |
|
298 //! 4. Within the A-GPS test module attempt to read some assistance data, and verify result |
|
299 //! as below. |
|
300 //! Note: call GetAssistanceDataItem(), from within RequestLocationUpdate(). |
|
301 //! 5. Close the server connection. |
|
302 //! |
|
303 //!@SYMTestExpectedResults Verify the correct data not available error is returned for step 3. |
|
304 //!@SYMPREQ PREQ928 |
|
305 //!@SYMREQ REQ928.03 |
|
306 //!@SYMREQ REQ928.05 |
|
307 //! |
|
308 //!@SYMTestType CIT |
|
309 //!@SYMTestPriority 2 |
|
310 //!@SYMTestStatus Not Implemented. |
|
311 |
|
312 RUN_TEST_STEP 010 LbsAssDataTestServer LbsStep_InstallScheduler |
|
313 RUN_TEST_STEP 020 LbsAssDataTestServer LbsStep_SetUpPsy c:\testdata\configs\lbsassdata.ini LBS-Ass-Data |
|
314 |
|
315 RUN_TEST_STEP 020 LbsAssDataTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\lbsassdata.ini LBS-Ass-Data-0041 |
|
316 RUN_TEST_STEP 020 LbsAssDataTestServer LbsAssDataStep_Main c:\testdata\configs\lbsassdata.ini LBS-Ass-Data-0041 |
|
317 RUN_TEST_STEP 010 LbsAssDataTestServer LbsStep_VerifyPosInfos |
|
318 //RUN_TEST_STEP 010 LbsAssDataTestServer LbsStep_VerifyLogInfo |
|
319 |
|
320 END_TESTCASE LBS-AssistanceData-0105 |
|
321 |
|
322 |
|
323 |
|
324 START_TESTCASE LBS-AssistanceData-0106 |
|
325 |
|
326 //!@SYMTestCaseID LBS-AssistanceData-0106 |
|
327 //!@SYMTestCaseDesc Request multiple items of GPS assistance data when not all of the itmes are available. |
|
328 //! |
|
329 //!@SYMTestActions 1. Configure the network simulator to deliver 2 items of assistance data. |
|
330 //! 2. Connect to the location server. |
|
331 //! 3. Invoke a MO-LR using the self locate API. This will cause the A-GPS test module to |
|
332 //! request assistance data as a result of the position update request. Request 3 items |
|
333 //! of assistance data. |
|
334 //! Note: use RequestAssistanceData() with a suitable mask value. |
|
335 //! 4. Wait for the "assistance data arrived" event within the A-GPS test module, then read |
|
336 //! and verify the assistance data. |
|
337 //! Note: implement AssistanceDataEvent() and call GetAssistanceDataItem(). |
|
338 //! 5. Process the position update produced as a result of the MO-LR, close the server |
|
339 //! connection. |
|
340 //! |
|
341 //!@SYMTestExpectedResults Verify the assistance data in steps 4. Ensure only 2 items of assistance data are given, |
|
342 //! and a error is reported for the 3rd requested item. Also ensure the correct assistance data |
|
343 //! information is logged. |
|
344 //! |
|
345 //!@SYMPREQ PREQ928 |
|
346 //!@SYMREQ REQ928.03 |
|
347 //!@SYMREQ REQ928.05 |
|
348 //!@SYMREQ REQ928.10 |
|
349 //! |
|
350 //!@SYMTestType CIT |
|
351 //!@SYMTestPriority 2 |
|
352 //!@SYMTestStatus Implemented. |
|
353 |
|
354 RUN_TEST_STEP 010 LbsAssDataTestServer LbsStep_InstallScheduler |
|
355 RUN_TEST_STEP 020 LbsAssDataTestServer LbsStep_SetUpPsy c:\testdata\configs\lbsassdata.ini LBS-Ass-Data |
|
356 |
|
357 RUN_TEST_STEP 020 LbsAssDataTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\lbsassdata.ini LBS-Ass-Data-0042 |
|
358 RUN_TEST_STEP 020 LbsAssDataTestServer LbsAssDataStep_Main c:\testdata\configs\lbsassdata.ini LBS-Ass-Data-0042 |
|
359 RUN_TEST_STEP 010 LbsAssDataTestServer LbsStep_VerifyPosInfos |
|
360 //RUN_TEST_STEP 010 LbsAssDataTestServer LbsStep_VerifyLogInfo |
|
361 |
|
362 END_TESTCASE LBS-AssistanceData-0106 |
|
363 |
|
364 |
|
365 |
|
366 START_TESTCASE LBS-AssistanceData-0107 |
|
367 |
|
368 //!@SYMTestCaseID LBS-AssistanceData-0107 |
|
369 //!@SYMTestCaseDesc Request assistance data, upper boundary test |
|
370 //! |
|
371 //!@SYMTestActions 1. Connect to the location server. |
|
372 //! 2. Invoke a MO-LR using the self locate API. This will cause the A-GPS test module to |
|
373 //! receive a position update request. |
|
374 //! 3. Pass the EAssistanceDataPositionGpsUtcModel + 0x200 (to ensure an unknown bit is set) |
|
375 //! for the aDataItemMask parameter to the RequestAssistanceData() function. |
|
376 //! Note: call from RequestLocationUpdate(). |
|
377 //! |
|
378 //!@SYMTestExpectedResults Verify the bad request results in the correct assistance data event call with |
|
379 //! a KErrNotFound err given. |
|
380 //!@SYMPREQ PREQ928 |
|
381 //!@SYMREQ REQ928.03 |
|
382 //! |
|
383 //!@SYMTestType CIT |
|
384 //!@SYMTestPriority 2 |
|
385 //!@SYMTestStatus Implemented |
|
386 RUN_TEST_STEP 020 LbsAssDataTestServer LbsStep_StopLbs |
|
387 RUN_TEST_STEP 030 LbsAssDataTestServer LbsStep_StartLbs |
|
388 |
|
389 RUN_TEST_STEP 010 LbsAssDataTestServer LbsStep_InstallScheduler |
|
390 RUN_TEST_STEP 020 LbsAssDataTestServer LbsStep_SetUpPsy c:\testdata\configs\lbsassdata.ini LBS-Ass-Data |
|
391 |
|
392 RUN_TEST_STEP 020 LbsAssDataTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\lbsassdata.ini LBS-Ass-Data-0050 |
|
393 RUN_TEST_STEP 020 LbsAssDataTestServer LbsAssDataStep_Main c:\testdata\configs\lbsassdata.ini LBS-Ass-Data-0050 |
|
394 RUN_TEST_STEP 010 LbsAssDataTestServer LbsStep_VerifyPosInfos |
|
395 //RUN_TEST_STEP 010 LbsAssDataTestServer LbsStep_VerifyLogInfo |
|
396 |
|
397 END_TESTCASE LBS-AssistanceData-0107 |
|
398 |
|
399 |
|
400 |
|
401 START_TESTCASE LBS-AssistanceData-0108 |
|
402 |
|
403 //!@SYMTestCaseID LBS-AssistanceData-0108 |
|
404 //!@SYMTestCaseDesc Get assistance data item, upper boundary test |
|
405 //! |
|
406 //!@SYMTestActions 1. Connect to the location server. |
|
407 //! 2. Invoke a MO-LR using the self locate API. This will cause the A-GPS test module to |
|
408 //! request assistance data as a result of the position update request. |
|
409 //! Note: use RequestAssistanceData(). |
|
410 //! 3. Wait for the "assistance data arrived" event within the A-GPS test module, |
|
411 //! from here attempt to get assistance using a invalid item flag. |
|
412 //! Note: implement AssistanceDataEvent() and call GetAssistanceDataItem(). |
|
413 //! |
|
414 //!@SYMTestExpectedResults Verify the call fails in step 3. |
|
415 //!@SYMPREQ PREQ928 |
|
416 //!@SYMREQ REQ928.03 |
|
417 //! |
|
418 //!@SYMTestType CIT |
|
419 //!@SYMTestPriority 2 |
|
420 //!@SYMTestStatus Implemented |
|
421 |
|
422 RUN_TEST_STEP 010 LbsAssDataTestServer LbsStep_InstallScheduler |
|
423 RUN_TEST_STEP 020 LbsAssDataTestServer LbsStep_SetUpPsy c:\testdata\configs\lbsassdata.ini LBS-Ass-Data |
|
424 |
|
425 RUN_TEST_STEP 020 LbsAssDataTestServer LbsStep_CreateVerifyPosInfos c:\testdata\configs\lbsassdata.ini LBS-Ass-Data-0051 |
|
426 RUN_TEST_STEP 020 LbsAssDataTestServer LbsAssDataStep_Main c:\testdata\configs\lbsassdata.ini LBS-Ass-Data-0051 |
|
427 RUN_TEST_STEP 010 LbsAssDataTestServer LbsStep_VerifyPosInfos |
|
428 //RUN_TEST_STEP 010 LbsAssDataTestServer LbsStep_VerifyLogInfo |
|
429 |
|
430 END_TESTCASE LBS-AssistanceData-0108 |
|
431 |
|
432 |
|
433 |
|
434 START_TESTCASE LBS-AssistanceData-0109 |
|
435 |
|
436 //!@SYMTestCaseID LBS-AssistanceData-0109 |
|
437 //!@SYMTestCaseDesc Place holder for Assistance Data Reuse test |
|
438 //!@SYMTestActions 1. ---. |
|
439 //! |
|
440 //!@SYMTestExpectedResults |
|
441 //!@SYMPREQ PREQ 928 |
|
442 //!@SYMREQ REQ 928.08 |
|
443 //! |
|
444 //!@SYMTestType CIT |
|
445 //!@SYMTestPriority 1 |
|
446 //!@SYMTestStatus Not Implemented - need to determine how this maybe tested from an integration test case. |
|
447 |
|
448 END_TESTCASE LBS-AssistanceData-0109 |
|
449 |
|
450 |
|
451 |
|
452 START_TESTCASE LBS-AssistanceData-0110 |
|
453 |
|
454 //!@SYMTestCaseID LBS-AssistanceData-0110 |
|
455 //!@SYMTestCaseDesc Place holder for Assistance Data Security test |
|
456 //!@SYMTestActions 1. ---. |
|
457 //! |
|
458 //!@SYMTestExpectedResults |
|
459 //!@SYMPREQ PREQ 928 |
|
460 //!@SYMREQ REQ 928.09 |
|
461 //! |
|
462 //!@SYMTestType CIT |
|
463 //!@SYMTestPriority 1 |
|
464 //!@SYMTestStatus Not Implemented - need to determine how this maybe tested, it's a mmp file build time issue, runtime dll loading issue. |
|
465 |
|
466 END_TESTCASE LBS-AssistanceData-0110 |
|
467 |
|
468 |
|
469 RUN_TEST_STEP 010 LbsAssDataTestServer LbsStep_ResetDefaultAdmin |
|
470 |
|
471 PRINT Stop LBS |
|
472 RUN_TEST_STEP 020 LbsAssDataTestServer LbsStep_StopLbs |
|
473 |
|
474 // Re-select the real A-GPS integration module. |
|
475 RUN_UTILS DeleteFile c:\private\10282253\lbs\locmods\agpsintegmodule.ini |
|
476 |
|
477 // Delete network registration status text file |
|
478 RUN_UTILS DeleteFile c:\config.txt |