|
1 // |
|
2 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 // All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of "Eclipse Public License v1.0" |
|
6 // which accompanies this distribution, and is available |
|
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 // |
|
9 // Initial Contributors: |
|
10 // Nokia Corporation - initial contribution. |
|
11 // |
|
12 // Contributors: |
|
13 // |
|
14 // Description: |
|
15 // |
|
16 //! @file |
|
17 //! @SYMTestSuiteName lbs-lbsclient-api-validation-automated-gps |
|
18 //! @SYMScriptTestEnvironment This test script requires a basic ROM. |
|
19 // |
|
20 // Tests all public elements of the RPositioner, RPositionServer |
|
21 // classes as a means of confidence that the APIs work as expected. |
|
22 // |
|
23 // The purpose is to provide a regression test suite of PublishedAll |
|
24 // APIs for: RPositioner, RPositionServer |
|
25 // The tests are fully automated. |
|
26 // |
|
27 |
|
28 |
|
29 |
|
30 LOAD_SUITE t_lbsclient |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0001 |
|
36 DELAY 5000 |
|
37 |
|
38 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0001 |
|
39 |
|
40 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0001 |
|
41 //!@SYMAPI |
|
42 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
43 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
44 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
45 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
46 //! RPositioner::Close() |
|
47 //! RPositionSever::Connect() |
|
48 //! RPositionSever::Close() |
|
49 //!@SYMAuthor jguillermo |
|
50 //!@SYMCreationDate 6/16/2008 |
|
51 //!@SYMTestCaseDesc Get position withGPS, mobile terminated, requestor URL |
|
52 //!@SYMTestActions |
|
53 //! 1. Connect to position server |
|
54 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
55 //! 3. Open positioner session (PositionServerInstance = posser) |
|
56 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatUrl; RequestorData = {ResquestorDataVars, RequestorDataURL}) |
|
57 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
58 //! 6. Get position (PositionServerInstance = posser; Latitude = Any; Longitude = Any; MaximumError = Any; PositionAccuracy = Any; Altitude = Any; MaximumAltitudeError = Any; AltitudeAccuracyLimit = Any; Speed = Any; MaxSpeedError = 0.0; StorePositionData = FALSE; ExpectedDataQualityStatus = {SetDataQualityStatusVars,EDataQualityNormal}; MinimumSuccessfullPositionQueryCount = {TimesAndIntervals, DEFAULT_POSITION_QUERY_MINIMUM_SUCCESSFUL}; Iterations = {TimesAndIntervals,DEFAULT_POSITION_QUERY_RETRIES}) |
|
59 //! 8. Close positioner session |
|
60 //! 9. Close position server |
|
61 //!@SYMTestStatus Verified |
|
62 //!@SYMTestPriority High |
|
63 //!@SYMTestExpectedResults |
|
64 //! Get position with GPS |
|
65 //!@SYMTestType CIT |
|
66 |
|
67 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps.ini |
|
68 CREATE_OBJECT RPositionServer posser |
|
69 CREATE_OBJECT RPositioner pos |
|
70 COMMAND posser Connect |
|
71 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-0001-0001-SetPositionerModuleId_command02 |
|
72 COMMAND pos Open LBS-LBSCLIENT-Gps-0001-0001-Open_command03 |
|
73 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-0001-0001-SetRequestor_command04 |
|
74 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-0001-0001-SetUpdateOptions_command05 |
|
75 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-0001-0001-GetPosition_command06 |
|
76 COMMAND pos Close |
|
77 COMMAND posser Close |
|
78 END_TEST_BLOCK |
|
79 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0001 |
|
80 |
|
81 |
|
82 |
|
83 |
|
84 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0002 |
|
85 DELAY 5000 |
|
86 |
|
87 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0002 |
|
88 |
|
89 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0002 |
|
90 //!@SYMAPI |
|
91 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
92 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
93 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
94 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
95 //! RPositioner::Close() |
|
96 //! RPositionSever::Connect() |
|
97 //! RPositionSever::Close() |
|
98 //!@SYMAuthor jguillermo |
|
99 //!@SYMCreationDate 6/16/2008 |
|
100 //!@SYMTestCaseDesc Get position withGPS, mobile originated |
|
101 //!@SYMTestActions |
|
102 //! 1. Connect to position server |
|
103 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId ={ModuleIdVars,MODULEID_GPS}) |
|
104 //! 3. Open positioner session (PositionServerInstance = posser) |
|
105 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
106 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
107 //! 6. Get position (PositionServerInstance = posser;Latitude = Any; Longitude = Any; MaximumError = Any; PositionAccuracy = Any; Altitude = Any; MaximumAltitudeError = Any; AltitudeAccuracyLimit = Any; Speed = Any; MaxSpeedError = 0.0; StorePositionData = FALSE; ExpectedDataQualityStatus = {SetDataQualityStatusVars,EDataQualityNormal}; MinimumSuccessfullPositionQueryCount = {TimesAndIntervals, DEFAULT_POSITION_QUERY_MINIMUM_SUCCESSFUL}; Iterations = {TimesAndIntervals,DEFAULT_POSITION_QUERY_RETRIES}) |
|
108 //! 8. Close positioner session |
|
109 //! 9. Close position server |
|
110 //!@SYMTestStatus Verified |
|
111 //!@SYMTestPriority High |
|
112 //!@SYMTestExpectedResults |
|
113 //! Get position with GPS |
|
114 //!@SYMTestType CIT |
|
115 |
|
116 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps.ini |
|
117 CREATE_OBJECT RPositionServer posser |
|
118 CREATE_OBJECT RPositioner pos |
|
119 COMMAND posser Connect |
|
120 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-0002-0001-SetPositionerModuleId_command02 |
|
121 COMMAND pos Open LBS-LBSCLIENT-Gps-0002-0001-Open_command03 |
|
122 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-0002-0001-SetRequestor_command04 |
|
123 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-0002-0001-SetUpdateOptions_command05 |
|
124 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-0002-0001-GetPosition_command06 |
|
125 COMMAND pos Close |
|
126 COMMAND posser Close |
|
127 END_TEST_BLOCK |
|
128 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0002 |
|
129 |
|
130 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0003 |
|
131 DELAY 5000 |
|
132 |
|
133 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0003 |
|
134 |
|
135 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0003 |
|
136 //!@SYMAPI |
|
137 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
138 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
139 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
140 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
141 //! RPositioner::Close() |
|
142 //! RPositionSever::Connect() |
|
143 //! RPositionSever::Close() |
|
144 //!@SYMAuthor jguillermo |
|
145 //!@SYMCreationDate 6/16/2008 |
|
146 //!@SYMTestCaseDesc Get first position withGPS in 10 seconds |
|
147 //!@SYMTestActions |
|
148 //! 1. Connect to position server |
|
149 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
150 //! 3. Open positioner session (PositionServerInstance = posser) |
|
151 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
152 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
153 //! 6. Get position (PositionServerInstance = posser; Latitude = Any; Longitude = Any; MaximumError = Any; PositionAccuracy = Any; Altitude = Any; MaximumAltitudeError = Any; AltitudeAccuracyLimit = Any; Speed = Any; MaxSpeedError = 0.0; StorePositionData = FALSE; ExpectedDataQualityStatus = {SetDataQualityStatusVars,EDataQualityNormal}; MinimumSuccessfullPositionQueryCount = 1 ; Iterations = 1) |
|
154 //! 8. Close positioner session |
|
155 //! 9. Close position server |
|
156 //!@SYMTestStatus Verified |
|
157 //!@SYMTestPriority High |
|
158 //!@SYMTestExpectedResults |
|
159 //! Get position with GPS, in 10 seconds |
|
160 //!@SYMTestType CIT |
|
161 |
|
162 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps.ini |
|
163 CREATE_OBJECT RPositionServer posser |
|
164 CREATE_OBJECT RPositioner pos |
|
165 COMMAND posser Connect |
|
166 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-0003-0001-SetPositionerModuleId_command02 |
|
167 COMMAND pos Open LBS-LBSCLIENT-Gps-0003-0001-Open_command03 |
|
168 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-0003-0001-SetRequestor_command04 |
|
169 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-0003-0001-SetUpdateOptions_command05 |
|
170 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-0003-0001-GetPosition_command06 |
|
171 COMMAND pos Close |
|
172 COMMAND posser Close |
|
173 END_TEST_BLOCK |
|
174 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0003 |
|
175 |
|
176 |
|
177 |
|
178 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0004 |
|
179 DELAY 5000 |
|
180 |
|
181 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0004 |
|
182 |
|
183 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0004 |
|
184 //!@SYMAPI |
|
185 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
186 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
187 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
188 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
189 //! RPositioner::Close() |
|
190 //! RPositionSever::Connect() |
|
191 //! RPositionSever::Close() |
|
192 //!@SYMAuthor jguillermo |
|
193 //!@SYMCreationDate 6/16/2008 |
|
194 //!@SYMTestCaseDesc Get route withGPS, 4 seconds interval for 120 seconds |
|
195 //!@SYMTestActions |
|
196 //! 1. Connect to position server |
|
197 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
198 //! 3. Open positioner session (PositionServerInstance = posser) |
|
199 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
200 //! 5. Set update options (UpdateInterval = 3000000; UpdateTimeout = 4000000; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
201 //! 6. Get position (PositionServerInstance = posser; Latitude = Any; Longitude = Any; MaximumError = Any; PositionAccuracy = Any; Altitude = Any; MaximumAltitudeError = Any; AltitudeAccuracyLimit = Any; Speed = Any; MaxSpeedError = 0.0; StorePositionData = FALSE; ExpectedDataQualityStatus = {SetDataQualityStatusVars,EDataQualityNormal}; MinimumSuccessfullPositionQueryCount = 28; Iterations = 30) |
|
202 //! 8. Close positioner session |
|
203 //! 9. Close position server |
|
204 //!@SYMTestStatus Verified |
|
205 //!@SYMTestPriority High |
|
206 //!@SYMTestExpectedResults |
|
207 //! Get route with GPS, 4 seconds interval for 120 seconds |
|
208 //!@SYMTestType CIT |
|
209 |
|
210 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps.ini |
|
211 CREATE_OBJECT RPositionServer posser |
|
212 CREATE_OBJECT RPositioner pos |
|
213 COMMAND posser Connect |
|
214 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-0004-0001-SetPositionerModuleId_command02 |
|
215 COMMAND pos Open LBS-LBSCLIENT-Gps-0004-0001-Open_command03 |
|
216 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-0004-0001-SetRequestor_command04 |
|
217 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-0004-0001-SetUpdateOptions_command05 |
|
218 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-0004-0001-GetPosition_command06 |
|
219 COMMAND pos Close |
|
220 COMMAND posser Close |
|
221 END_TEST_BLOCK |
|
222 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0004 |
|
223 |
|
224 |
|
225 |
|
226 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0005 |
|
227 DELAY 5000 |
|
228 |
|
229 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0005 |
|
230 |
|
231 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0005 |
|
232 //!@SYMAPI |
|
233 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
234 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
235 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
236 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
237 //! RPositioner::Close() |
|
238 //! RPositionSever::Connect() |
|
239 //! RPositionSever::Close() |
|
240 //!@SYMAuthor jguillermo |
|
241 //!@SYMCreationDate 6/16/2008 |
|
242 //!@SYMTestCaseDesc Get position withGPS, mobile terminated, requestor mail |
|
243 //!@SYMTestActions |
|
244 //! 1. Connect to position server |
|
245 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
246 //! 3. Open positioner session (PositionServerInstance = posser) |
|
247 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatMail; RequestorData = {ResquestorDataVars, RequestorDataMail}) |
|
248 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
249 //! 6. Get position (PositionServerInstance = posser; Latitude = Any; Longitude = Any; MaximumError = Any; PositionAccuracy = Any; Altitude = Any; MaximumAltitudeError = Any; AltitudeAccuracyLimit = Any; Speed = Any; MaxSpeedError = 0.0; StorePositionData = FALSE; ExpectedDataQualityStatus = {SetDataQualityStatusVars,EDataQualityNormal}; MinimumSuccessfullPositionQueryCount = {TimesAndIntervals, DEFAULT_POSITION_QUERY_MINIMUM_SUCCESSFUL}; Iterations = {TimesAndIntervals,DEFAULT_POSITION_QUERY_RETRIES}) |
|
250 //! 8. Close positioner session |
|
251 //! 9. Close position server |
|
252 //!@SYMTestStatus Verified |
|
253 //!@SYMTestPriority High |
|
254 //!@SYMTestExpectedResults |
|
255 //! Get position with GPS, mobile terminated, requestor mail |
|
256 //!@SYMTestType CIT |
|
257 |
|
258 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps.ini |
|
259 CREATE_OBJECT RPositionServer posser |
|
260 CREATE_OBJECT RPositioner pos |
|
261 COMMAND posser Connect |
|
262 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-0005-0001-SetPositionerModuleId_command02 |
|
263 COMMAND pos Open LBS-LBSCLIENT-Gps-0005-0001-Open_command03 |
|
264 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-0005-0001-SetRequestor_command04 |
|
265 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-0005-0001-SetUpdateOptions_command05 |
|
266 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-0005-0001-GetPosition_command06 |
|
267 COMMAND pos Close |
|
268 COMMAND posser Close |
|
269 END_TEST_BLOCK |
|
270 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0005 |
|
271 |
|
272 |
|
273 |
|
274 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0006 |
|
275 DELAY 5000 |
|
276 |
|
277 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0006 |
|
278 |
|
279 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0006 |
|
280 //!@SYMAPI |
|
281 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
282 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
283 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
284 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
285 //! RPositioner::Close() |
|
286 //! RPositionSever::Connect() |
|
287 //! RPositionSever::Close() |
|
288 //!@SYMAuthor jguillermo |
|
289 //!@SYMCreationDate 6/16/2008 |
|
290 //!@SYMTestCaseDesc Get position withGPS, mobile terminated, requestor telephone |
|
291 //!@SYMTestActions |
|
292 //! 1. Connect to position server |
|
293 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
294 //! 3. Open positioner session (PositionServerInstance = posser) |
|
295 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatTelephone; RequestorData = {ResquestorDataVars, RequestorDataTelephone}) |
|
296 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
297 //! 6. Get position (PositionServerInstance = posser; Latitude = Any; Longitude = Any; MaximumError = Any; PositionAccuracy = Any; Altitude = Any; MaximumAltitudeError = Any; AltitudeAccuracyLimit = Any; Speed = Any; MaxSpeedError = 0.0; StorePositionData = FALSE; ExpectedDataQualityStatus = {SetDataQualityStatusVars,EDataQualityNormal}; MinimumSuccessfullPositionQueryCount = {TimesAndIntervals, DEFAULT_POSITION_QUERY_MINIMUM_SUCCESSFUL}; Iterations = {TimesAndIntervals,DEFAULT_POSITION_QUERY_RETRIES}) |
|
298 //! 8. Close positioner session |
|
299 //! 9. Close position server |
|
300 //!@SYMTestStatus Verified |
|
301 //!@SYMTestPriority High |
|
302 //!@SYMTestExpectedResults |
|
303 //! Get position with GPS, mobile terminated, requestor telephone |
|
304 //!@SYMTestType CIT |
|
305 |
|
306 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps.ini |
|
307 CREATE_OBJECT RPositionServer posser |
|
308 CREATE_OBJECT RPositioner pos |
|
309 COMMAND posser Connect |
|
310 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-0006-0001-SetPositionerModuleId_command02 |
|
311 COMMAND pos Open LBS-LBSCLIENT-Gps-0006-0001-Open_command03 |
|
312 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-0006-0001-SetRequestor_command04 |
|
313 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-0006-0001-SetUpdateOptions_command05 |
|
314 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-0006-0001-GetPosition_command06 |
|
315 COMMAND pos Close |
|
316 COMMAND posser Close |
|
317 END_TEST_BLOCK |
|
318 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0006 |
|
319 |
|
320 |
|
321 |
|
322 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0007 |
|
323 DELAY 5000 |
|
324 |
|
325 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0007 |
|
326 |
|
327 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0007 |
|
328 //!@SYMAPI |
|
329 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
330 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
331 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
332 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
333 //! RPositioner::Close() |
|
334 //! RPositionSever::Connect() |
|
335 //! RPositionSever::Close() |
|
336 //!@SYMAuthor jguillermo |
|
337 //!@SYMCreationDate 6/16/2008 |
|
338 //!@SYMTestCaseDesc Get first position withGPS in 60 seconds |
|
339 //!@SYMTestActions |
|
340 //! 1. Connect to position server |
|
341 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
342 //! 3. Open positioner session (PositionServerInstance = posser) |
|
343 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
344 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
345 //! 6. Get position (PositionServerInstance = posser; Latitude = Any; Longitude = Any; MaximumError = Any; PositionAccuracy = Any; Altitude = Any; MaximumAltitudeError = Any; AltitudeAccuracyLimit = Any; Speed = Any; MaxSpeedError = 0.0; StorePositionData = FALSE; ExpectedDataQualityStatus = {SetDataQualityStatusVars,EDataQualityNormal}; MinimumSuccessfullPositionQueryCount = 1; Iterations = 6) |
|
346 //! 8. Close positioner session |
|
347 //! 9. Close position server |
|
348 //!@SYMTestStatus Verified |
|
349 //!@SYMTestPriority High |
|
350 //!@SYMTestExpectedResults |
|
351 //! Get first position with GPS in 60 seconds |
|
352 //!@SYMTestType CIT |
|
353 |
|
354 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps.ini |
|
355 CREATE_OBJECT RPositionServer posser |
|
356 CREATE_OBJECT RPositioner pos |
|
357 COMMAND posser Connect |
|
358 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-0007-0001-SetPositionerModuleId_command02 |
|
359 COMMAND pos Open LBS-LBSCLIENT-Gps-0007-0001-Open_command03 |
|
360 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-0007-0001-SetRequestor_command04 |
|
361 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-0007-0001-SetUpdateOptions_command05 |
|
362 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-0007-0001-GetPosition_command06 |
|
363 COMMAND pos Close |
|
364 COMMAND posser Close |
|
365 END_TEST_BLOCK |
|
366 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0007 |
|
367 |
|
368 |
|
369 |
|
370 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0008 |
|
371 DELAY 5000 |
|
372 |
|
373 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0008 |
|
374 |
|
375 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0008 |
|
376 //!@SYMAPI |
|
377 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
378 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
379 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
380 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
381 //! RPositioner::Close() |
|
382 //! RPositionSever::Connect() |
|
383 //! RPositionSever::Close() |
|
384 //!@SYMAuthor jguillermo |
|
385 //!@SYMCreationDate 6/16/2008 |
|
386 //!@SYMTestCaseDesc Get first position withGPS in 120 seconds |
|
387 //!@SYMTestActions |
|
388 //! 1. Connect to position server |
|
389 //! 2. Set positioner module ID (PositionServerInstance = posser, ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
390 //! 3. Open positioner session (PositionServerInstance = posser) |
|
391 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
392 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
393 //! 6. Get position (PositionServerInstance = posser; Latitude = Any; Longitude = Any; MaximumError = Any; PositionAccuracy = Any; Altitude = Any; MaximumAltitudeError = Any; AltitudeAccuracyLimit = Any; Speed = Any; MaxSpeedError = 0.0; StorePositionData = FALSE; ExpectedDataQualityStatus = {SetDataQualityStatusVars,EDataQualityNormal}; MinimumSuccessfullPositionQueryCount = 1; Iterations = 12) |
|
394 //! 8. Close positioner session |
|
395 //! 9. Close position server |
|
396 //!@SYMTestStatus Verified |
|
397 //!@SYMTestPriority High |
|
398 //!@SYMTestExpectedResults |
|
399 //! Get first position with GPS in 120 seconds |
|
400 //!@SYMTestType CIT |
|
401 |
|
402 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps.ini |
|
403 CREATE_OBJECT RPositionServer posser |
|
404 CREATE_OBJECT RPositioner pos |
|
405 COMMAND posser Connect |
|
406 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-0008-0001-SetPositionerModuleId_command02 |
|
407 COMMAND pos Open LBS-LBSCLIENT-Gps-0008-0001-Open_command03 |
|
408 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-0008-0001-SetRequestor_command04 |
|
409 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-0008-0001-SetUpdateOptions_command05 |
|
410 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-0008-0001-GetPosition_command06 |
|
411 COMMAND pos Close |
|
412 COMMAND posser Close |
|
413 END_TEST_BLOCK |
|
414 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0008 |
|
415 |
|
416 |
|
417 |
|
418 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0009 |
|
419 DELAY 5000 |
|
420 |
|
421 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0009 |
|
422 |
|
423 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0009 |
|
424 //!@SYMAPI |
|
425 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
426 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
427 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
428 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
429 //! RPositioner::Close() |
|
430 //! RPositionSever::Connect() |
|
431 //! RPositionSever::Close() |
|
432 //!@SYMAuthor jguillermo |
|
433 //!@SYMCreationDate 6/16/2008 |
|
434 //!@SYMTestCaseDesc Get route withGPS, 600 seconds interval max for 1200 seconds |
|
435 //!@SYMTestActions |
|
436 //! 1. Connect to position server |
|
437 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
438 //! 3. Open positioner session (PositionServerInstance = posser) |
|
439 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
440 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = 600000000; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
441 //! 6. Get position (PositionServerInstance = posser; Latitude = Any; Longitude = Any; MaximumError = Any; PositionAccuracy = Any; Altitude = Any; MaximumAltitudeError = Any; AltitudeAccuracyLimit = Any; Speed = Any; MaxSpeedError = 0.0; StorePositionData = FALSE;ExpectedDataQualityStatus = {SetDataQualityStatusVars,EDataQualityNormal}; MinimumSuccessfullPositionQueryCount = 2; Iterations = 2) |
|
442 //! 8. Close positioner session |
|
443 //! 9. Close position server |
|
444 //!@SYMTestStatus Verified |
|
445 //!@SYMTestPriority High |
|
446 //!@SYMTestExpectedResults |
|
447 //! Get route |
|
448 //!@SYMTestType CIT |
|
449 |
|
450 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps.ini |
|
451 CREATE_OBJECT RPositionServer posser |
|
452 CREATE_OBJECT RPositioner pos |
|
453 COMMAND posser Connect |
|
454 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-0009-0001-SetPositionerModuleId_command02 |
|
455 COMMAND pos Open LBS-LBSCLIENT-Gps-0009-0001-Open_command03 |
|
456 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-0009-0001-SetRequestor_command04 |
|
457 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-0009-0001-SetUpdateOptions_command05 |
|
458 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-0009-0001-GetPosition_command06 |
|
459 COMMAND pos Close |
|
460 COMMAND posser Close |
|
461 END_TEST_BLOCK |
|
462 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0009 |
|
463 |
|
464 |
|
465 |
|
466 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0010 |
|
467 DELAY 5000 |
|
468 |
|
469 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0010 |
|
470 |
|
471 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0010 |
|
472 //!@SYMAPI |
|
473 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
474 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
475 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
476 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
477 //! RPositioner::Close() |
|
478 //! RPositionSever::Connect() |
|
479 //! RPositionSever::Close() |
|
480 //!@SYMAuthor jguillermo |
|
481 //!@SYMCreationDate 6/16/2008 |
|
482 //!@SYMTestCaseDesc Get route withGPS, 10 seconds interval for 120 seconds |
|
483 //!@SYMTestActions |
|
484 //! 1. Connect to position server |
|
485 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
486 //! 3. Open positioner session (PositionServerInstance = posser) |
|
487 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
488 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
489 //! 6. Get position (PositionServerInstance = posser; Latitude = Any; Longitude = Any; MaximumError = Any; PositionAccuracy = Any; Altitude = Any; MaximumAltitudeError = Any; AltitudeAccuracyLimit = Any; Speed = Any; MaxSpeedError = 0.0; StorePositionData = FALSE; ExpectedDataQualityStatus = {SetDataQualityStatusVars,EDataQualityNormal}; MinimumSuccessfullPositionQueryCount = 11; Iterations = 12) |
|
490 //! 8. Close positioner session |
|
491 //! 9. Close position server |
|
492 //!@SYMTestStatus Verified |
|
493 //!@SYMTestPriority High |
|
494 //!@SYMTestExpectedResults |
|
495 //! Get route |
|
496 //!@SYMTestType CIT |
|
497 |
|
498 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps.ini |
|
499 CREATE_OBJECT RPositionServer posser |
|
500 CREATE_OBJECT RPositioner pos |
|
501 COMMAND posser Connect |
|
502 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-0010-0001-SetPositionerModuleId_command02 |
|
503 COMMAND pos Open LBS-LBSCLIENT-Gps-0010-0001-Open_command03 |
|
504 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-0010-0001-SetRequestor_command04 |
|
505 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-0010-0001-SetUpdateOptions_command05 |
|
506 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-0010-0001-GetPosition_command06 |
|
507 COMMAND pos Close |
|
508 COMMAND posser Close |
|
509 END_TEST_BLOCK |
|
510 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0010 |
|
511 |
|
512 |
|
513 |
|
514 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0011 |
|
515 DELAY 5000 |
|
516 |
|
517 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0011 |
|
518 |
|
519 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0011 |
|
520 //!@SYMAPI |
|
521 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
522 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
523 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
524 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
525 //! RPositioner::Close() |
|
526 //! RPositionSever::Connect() |
|
527 //! RPositionSever::Close() |
|
528 //!@SYMAuthor jguillermo |
|
529 //!@SYMCreationDate 6/16/2008 |
|
530 //!@SYMTestCaseDesc Get route withGPS, 60 seconds interval max for 240 seconds |
|
531 //!@SYMTestActions |
|
532 //! 1. Connect to position server |
|
533 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
534 //! 3. Open positioner session (PositionServerInstance = posser) |
|
535 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
536 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = 60000000; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
537 //! 6. Get position (PositionServerInstance = posser; Latitude = Any; Longitude = Any; MaximumError = Any; PositionAccuracy = Any; Altitude = Any; MaximumAltitudeError = Any; AltitudeAccuracyLimit = Any; Speed = Any; MaxSpeedError = 0.0; StorePositionData = FALSE; ExpectedDataQualityStatus = {SetDataQualityStatusVars,EDataQualityNormal}; MinimumSuccessfullPositionQueryCount = 4; Iterations = 4) |
|
538 //! 8. Close positioner session |
|
539 //! 9. Close position server |
|
540 //!@SYMTestStatus Verified |
|
541 //!@SYMTestPriority High |
|
542 //!@SYMTestExpectedResults |
|
543 //! Get route |
|
544 //!@SYMTestType CIT |
|
545 |
|
546 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps.ini |
|
547 CREATE_OBJECT RPositionServer posser |
|
548 CREATE_OBJECT RPositioner pos |
|
549 COMMAND posser Connect |
|
550 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-0011-0001-SetPositionerModuleId_command02 |
|
551 COMMAND pos Open LBS-LBSCLIENT-Gps-0011-0001-Open_command03 |
|
552 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-0011-0001-SetRequestor_command04 |
|
553 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-0011-0001-SetUpdateOptions_command05 |
|
554 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-0011-0001-GetPosition_command06 |
|
555 COMMAND pos Close |
|
556 COMMAND posser Close |
|
557 END_TEST_BLOCK |
|
558 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0011 |
|
559 |
|
560 |
|
561 |
|
562 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0012 |
|
563 DELAY 5000 |
|
564 |
|
565 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0012 |
|
566 |
|
567 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0012 |
|
568 //!@SYMAPI |
|
569 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
570 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
571 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
572 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
573 //! RPositioner::Close() |
|
574 //! RPositionSever::Connect() |
|
575 //! RPositionSever::Close() |
|
576 //!@SYMAuthor jguillermo |
|
577 //!@SYMCreationDate 6/16/2008 |
|
578 //!@SYMTestCaseDesc Get first position withGPS in 240 seconds |
|
579 //!@SYMTestActions |
|
580 //! 1. Connect to position server |
|
581 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
582 //! 3. Open positioner session (PositionServerInstance = posser) |
|
583 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
584 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
585 //! 6. Get position (PositionServerInstance = posser; Latitude = Any; Longitude = Any; MaximumError = Any; PositionAccuracy = Any; Altitude = Any; MaximumAltitudeError = Any; AltitudeAccuracyLimit = Any; Speed = Any; MaxSpeedError = 0.0; StorePositionData = FALSE; ExpectedDataQualityStatus = {SetDataQualityStatusVars,EDataQualityNormal}; MinimumSuccessfullPositionQueryCount = 1; Iterations = 24) |
|
586 //! 8. Close positioner session |
|
587 //! 9. Close position server |
|
588 //!@SYMTestStatus Verified |
|
589 //!@SYMTestPriority High |
|
590 //!@SYMTestExpectedResults |
|
591 //! Get GPS Position |
|
592 //!@SYMTestType CIT |
|
593 |
|
594 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps.ini |
|
595 CREATE_OBJECT RPositionServer posser |
|
596 CREATE_OBJECT RPositioner pos |
|
597 COMMAND posser Connect |
|
598 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-0012-0001-SetPositionerModuleId_command02 |
|
599 COMMAND pos Open LBS-LBSCLIENT-Gps-0012-0001-Open_command03 |
|
600 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-0012-0001-SetRequestor_command04 |
|
601 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-0012-0001-SetUpdateOptions_command05 |
|
602 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-0012-0001-GetPosition_command06 |
|
603 COMMAND pos Close |
|
604 COMMAND posser Close |
|
605 END_TEST_BLOCK |
|
606 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0012 |
|
607 |
|
608 |
|
609 |
|
610 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0013 |
|
611 DELAY 5000 |
|
612 |
|
613 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0013 |
|
614 |
|
615 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0013 |
|
616 //!@SYMAPI |
|
617 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
618 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
619 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
620 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
621 //! RPositioner::Close() |
|
622 //! RPositionSever::Connect() |
|
623 //! RPositionSever::Close() |
|
624 //!@SYMAuthor jguillermo |
|
625 //!@SYMCreationDate 6/16/2008 |
|
626 //!@SYMTestCaseDesc Get first position withGPS in 20 seconds |
|
627 //!@SYMTestActions |
|
628 //! 1. Connect to position server |
|
629 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
630 //! 3. Open positioner session (PositionServerInstance = posser) |
|
631 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
632 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
633 //! 6. Get position (PositionServerInstance = posser; Latitude = Any; Longitude = Any; MaximumError = Any; PositionAccuracy = Any; Altitude = Any; MaximumAltitudeError = Any; AltitudeAccuracyLimit = Any; Speed = Any; MaxSpeedError = 0.0; StorePositionData = FALSE; ExpectedDataQualityStatus = {SetDataQualityStatusVars,EDataQualityNormal}; MinimumSuccessfullPositionQueryCount = 1; Iterations = 2) |
|
634 //! 8. Close positioner session |
|
635 //! 9. Close position server |
|
636 //!@SYMTestStatus Verified |
|
637 //!@SYMTestPriority High |
|
638 //!@SYMTestExpectedResults |
|
639 //! Get GPS Position |
|
640 //!@SYMTestType CIT |
|
641 |
|
642 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps.ini |
|
643 CREATE_OBJECT RPositionServer posser |
|
644 CREATE_OBJECT RPositioner pos |
|
645 COMMAND posser Connect |
|
646 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-0013-0001-SetPositionerModuleId_command02 |
|
647 COMMAND pos Open LBS-LBSCLIENT-Gps-0013-0001-Open_command03 |
|
648 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-0013-0001-SetRequestor_command04 |
|
649 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-0013-0001-SetUpdateOptions_command05 |
|
650 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-0013-0001-GetPosition_command06 |
|
651 COMMAND pos Close |
|
652 COMMAND posser Close |
|
653 END_TEST_BLOCK |
|
654 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0013 |
|
655 |
|
656 |
|
657 |
|
658 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0014 |
|
659 DELAY 5000 |
|
660 |
|
661 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0014 |
|
662 |
|
663 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0014 |
|
664 //!@SYMAPI |
|
665 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
666 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
667 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
668 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
669 //! RPositioner::Close() |
|
670 //! RPositionSever::Connect() |
|
671 //! RPositionSever::Close() |
|
672 //!@SYMAuthor jguillermo |
|
673 //!@SYMCreationDate 6/16/2008 |
|
674 //!@SYMTestCaseDesc Get first position withGPS in 40 seconds |
|
675 //!@SYMTestActions |
|
676 //! 1. Connect to position server |
|
677 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
678 //! 3. Open positioner session (PositionServerInstance = posser) |
|
679 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
680 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
681 //! 6. Get position (PositionServerInstance = posser; Latitude = Any; Longitude = Any; MaximumError = Any; PositionAccuracy = Any; Altitude = Any; MaximumAltitudeError = Any; AltitudeAccuracyLimit = Any; Speed = Any; MaxSpeedError = 0.0; StorePositionData = FALSE; ExpectedDataQualityStatus = {SetDataQualityStatusVars,EDataQualityNormal}; MinimumSuccessfullPositionQueryCount = 1; Iterations = 4) |
|
682 //! 8. Close positioner session |
|
683 //! 9. Close position server |
|
684 //!@SYMTestStatus Verified |
|
685 //!@SYMTestPriority High |
|
686 //!@SYMTestExpectedResults |
|
687 //! Get GPS Position |
|
688 //!@SYMTestType CIT |
|
689 |
|
690 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps.ini |
|
691 CREATE_OBJECT RPositionServer posser |
|
692 CREATE_OBJECT RPositioner pos |
|
693 COMMAND posser Connect |
|
694 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-0014-0001-SetPositionerModuleId_command02 |
|
695 COMMAND pos Open LBS-LBSCLIENT-Gps-0014-0001-Open_command03 |
|
696 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-0014-0001-SetRequestor_command04 |
|
697 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-0014-0001-SetUpdateOptions_command05 |
|
698 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-0014-0001-GetPosition_command06 |
|
699 COMMAND pos Close |
|
700 COMMAND posser Close |
|
701 END_TEST_BLOCK |
|
702 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0014 |
|
703 |
|
704 |
|
705 |
|
706 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0015 |
|
707 DELAY 5000 |
|
708 |
|
709 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0015 |
|
710 |
|
711 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0015 |
|
712 //!@SYMAPI |
|
713 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
714 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
715 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
716 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
717 //! RPositioner::Close() |
|
718 //! RPositionSever::Connect() |
|
719 //! RPositionSever::Close() |
|
720 //!@SYMAuthor jguillermo |
|
721 //!@SYMCreationDate 6/16/2008 |
|
722 //!@SYMTestCaseDesc Get position withGPS, PartialUpdate Not Allowed |
|
723 //!@SYMTestActions |
|
724 //! 1. Connect to position server |
|
725 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
726 //! 3. Open positioner session (PositionServerInstance = posser) |
|
727 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
728 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
729 //! 6. Get position (PositionServerInstance = posser; Latitude = Any; Longitude = Any; MaximumError = Any; PositionAccuracy = Any; Altitude = Any; MaximumAltitudeError = Any; AltitudeAccuracyLimit = Any; Speed = Any; MaxSpeedError = 0.0; ExpectedDataQualityStatus = {SetDataQualityStatusVars,EDataQualityNormal}; StorePositionData = FALSE; MinimumSuccessfullPositionQueryCount = {TimesAndIntervals, DEFAULT_POSITION_QUERY_MINIMUM_SUCCESSFUL}; Iterations = {TimesAndIntervals,DEFAULT_POSITION_QUERY_RETRIES}) |
|
730 //! 8. Close positioner session |
|
731 //! 9. Close position server |
|
732 //!@SYMTestStatus Verified |
|
733 //!@SYMTestPriority High |
|
734 //!@SYMTestExpectedResults |
|
735 //! Get GPS Position |
|
736 //!@SYMTestType CIT |
|
737 |
|
738 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps.ini |
|
739 CREATE_OBJECT RPositionServer posser |
|
740 CREATE_OBJECT RPositioner pos |
|
741 COMMAND posser Connect |
|
742 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-0015-0001-SetPositionerModuleId_command02 |
|
743 COMMAND pos Open LBS-LBSCLIENT-Gps-0015-0001-Open_command03 |
|
744 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-0015-0001-SetRequestor_command04 |
|
745 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-0015-0001-SetUpdateOptions_command05 |
|
746 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-0015-0001-GetPosition_command06 |
|
747 COMMAND pos Close |
|
748 COMMAND posser Close |
|
749 END_TEST_BLOCK |
|
750 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0015 |
|
751 |
|
752 |
|
753 |
|
754 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0016 |
|
755 DELAY 5000 |
|
756 |
|
757 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0016 |
|
758 |
|
759 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0016 |
|
760 //!@SYMAPI |
|
761 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
762 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
763 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
764 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
765 //! RPositioner::Close() |
|
766 //! RPositionSever::Connect() |
|
767 //! RPositionSever::Close() |
|
768 //!@SYMAuthor jguillermo |
|
769 //!@SYMCreationDate 6/16/2008 |
|
770 //!@SYMTestCaseDesc Get Position, Position Data Age Below 0.1 s |
|
771 //!@SYMTestActions |
|
772 //! 1. Connect to position server |
|
773 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_NONE}) |
|
774 //! 3. Open positioner session (PositionServerInstance = posser) |
|
775 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
776 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 100000; AcceptPartialUpdates = FALSE) |
|
777 //! 6. Get position (PositionServerInstance = posser; Latitude = Any; Longitude = Any; MaximumError = Any; PositionAccuracy = Any; Altitude = Any; MaximumAltitudeError = Any; AltitudeAccuracyLimit = Any; Speed = Any; MaxSpeedError = 0.0; StorePositionData = FALSE; ExpectedDataQualityStatus = {SetDataQualityStatusVars,EDataQualityNormal}; MinimumSuccessfullPositionQueryCount = {TimesAndIntervals, DEFAULT_POSITION_QUERY_MINIMUM_SUCCESSFUL}; Iterations = {TimesAndIntervals,DEFAULT_POSITION_QUERY_RETRIES}) |
|
778 //! 8. Close positioner session |
|
779 //! 9. Close position server |
|
780 //!@SYMTestStatus Implemented |
|
781 //!@SYMTestPriority High |
|
782 //!@SYMTestExpectedResults |
|
783 //! Get GPS Position |
|
784 //!@SYMTestType CIT |
|
785 |
|
786 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps.ini |
|
787 CREATE_OBJECT RPositionServer posser |
|
788 CREATE_OBJECT RPositioner pos |
|
789 COMMAND posser Connect |
|
790 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-0016-0001-SetPositionerModuleId_command02 |
|
791 COMMAND pos Open LBS-LBSCLIENT-Gps-0016-0001-Open_command03 |
|
792 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-0016-0001-SetRequestor_command04 |
|
793 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-0016-0001-SetUpdateOptions_command05 |
|
794 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-0016-0001-GetPosition_command06 |
|
795 COMMAND pos Close |
|
796 COMMAND posser Close |
|
797 END_TEST_BLOCK |
|
798 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0016 |
|
799 |
|
800 |
|
801 |
|
802 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0017 |
|
803 DELAY 5000 |
|
804 |
|
805 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0017 |
|
806 |
|
807 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0017 |
|
808 //!@SYMAPI |
|
809 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
810 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
811 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
812 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
813 //! RPositioner::Close() |
|
814 //! RPositionSever::Connect() |
|
815 //! RPositionSever::Close() |
|
816 //!@SYMAuthor jguillermo |
|
817 //!@SYMCreationDate 6/16/2008 |
|
818 //!@SYMTestCaseDesc Get Position, Position Data Age Below 1.0 s |
|
819 //!@SYMTestActions |
|
820 //! 1. Connect to position server |
|
821 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_NONE}) |
|
822 //! 3. Open positioner session (PositionServerInstance = posser) |
|
823 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
824 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 1000000; AcceptPartialUpdates = FALSE) |
|
825 //! 6. Get position (PositionServerInstance = posser; Latitude = Any; Longitude = Any; MaximumError = Any; PositionAccuracy = Any; Altitude = Any; MaximumAltitudeError = Any; AltitudeAccuracyLimit = Any; Speed = Any; MaxSpeedError = 0.0; StorePositionData = FALSE; ExpectedDataQualityStatus = {SetDataQualityStatusVars,EDataQualityNormal}; MinimumSuccessfullPositionQueryCount = {TimesAndIntervals, DEFAULT_POSITION_QUERY_MINIMUM_SUCCESSFUL}; Iterations = {TimesAndIntervals,DEFAULT_POSITION_QUERY_RETRIES}) |
|
826 //! 8. Close positioner session |
|
827 //! 9. Close position server |
|
828 //!@SYMTestStatus Verified |
|
829 //!@SYMTestPriority High |
|
830 //!@SYMTestExpectedResults |
|
831 //! Get GPS Position |
|
832 //!@SYMTestType CIT |
|
833 |
|
834 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps.ini |
|
835 CREATE_OBJECT RPositionServer posser |
|
836 CREATE_OBJECT RPositioner pos |
|
837 COMMAND posser Connect |
|
838 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-0017-0001-SetPositionerModuleId_command02 |
|
839 COMMAND pos Open LBS-LBSCLIENT-Gps-0017-0001-Open_command03 |
|
840 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-0017-0001-SetRequestor_command04 |
|
841 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-0017-0001-SetUpdateOptions_command05 |
|
842 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-0017-0001-GetPosition_command06 |
|
843 COMMAND pos Close |
|
844 COMMAND posser Close |
|
845 END_TEST_BLOCK |
|
846 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0017 |
|
847 |
|
848 |
|
849 |
|
850 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0018 |
|
851 DELAY 5000 |
|
852 |
|
853 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0018 |
|
854 |
|
855 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0018 |
|
856 //!@SYMAPI |
|
857 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
858 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
859 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
860 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
861 //! RPositioner::Close() |
|
862 //! RPositionSever::Connect() |
|
863 //! RPositionSever::Close() |
|
864 //!@SYMAuthor jguillermo |
|
865 //!@SYMCreationDate 6/16/2008 |
|
866 //!@SYMTestCaseDesc Get Position, Position Data Age Below 2.5 s |
|
867 //!@SYMTestActions |
|
868 //! 1. Connect to position server |
|
869 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_NONE}) |
|
870 //! 3. Open positioner session (PositionServerInstance = posser) |
|
871 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
872 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 2500000; AcceptPartialUpdates = FALSE) |
|
873 //! 6. Get position (PositionServerInstance = posser; Latitude = Any; Longitude = Any; MaximumError = Any; PositionAccuracy = Any; Altitude = Any; MaximumAltitudeError = Any; AltitudeAccuracyLimit = Any; Speed = Any; MaxSpeedError = 0.0; StorePositionData = FALSE; ExpectedDataQualityStatus = {SetDataQualityStatusVars,EDataQualityNormal}; MinimumSuccessfullPositionQueryCount = {TimesAndIntervals, DEFAULT_POSITION_QUERY_MINIMUM_SUCCESSFUL}; Iterations = {TimesAndIntervals,DEFAULT_POSITION_QUERY_RETRIES}) |
|
874 //! 8. Close positioner session |
|
875 //! 9. Close position server |
|
876 //!@SYMTestStatus Verified |
|
877 //!@SYMTestPriority High |
|
878 //!@SYMTestExpectedResults |
|
879 //! Get GPS Position |
|
880 //!@SYMTestType CIT |
|
881 |
|
882 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps.ini |
|
883 CREATE_OBJECT RPositionServer posser |
|
884 CREATE_OBJECT RPositioner pos |
|
885 COMMAND posser Connect |
|
886 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-0018-0001-SetPositionerModuleId_command02 |
|
887 COMMAND pos Open LBS-LBSCLIENT-Gps-0018-0001-Open_command03 |
|
888 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-0018-0001-SetRequestor_command04 |
|
889 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-0018-0001-SetUpdateOptions_command05 |
|
890 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-0018-0001-GetPosition_command06 |
|
891 COMMAND pos Close |
|
892 COMMAND posser Close |
|
893 END_TEST_BLOCK |
|
894 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0018 |
|
895 |
|
896 |
|
897 |
|
898 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0019 |
|
899 DELAY 5000 |
|
900 |
|
901 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0019 |
|
902 |
|
903 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0019 |
|
904 //!@SYMAPI |
|
905 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
906 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
907 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
908 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
909 //! RPositioner::Close() |
|
910 //! RPositionSever::Connect() |
|
911 //! RPositionSever::Close() |
|
912 //!@SYMAuthor jguillermo |
|
913 //!@SYMCreationDate 6/16/2008 |
|
914 //!@SYMTestCaseDesc Get Position Without Positioner ID |
|
915 //!@SYMTestActions |
|
916 //! 1. Connect to position server |
|
917 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_NONE}) |
|
918 //! 3. Open positioner session (PositionServerInstance = posser) |
|
919 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
920 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
921 //! 6. Get position (PositionServerInstance = posser; Latitude = Any; Longitude = Any; MaximumError = Any; PositionAccuracy = Any; Altitude = Any; MaximumAltitudeError = Any; AltitudeAccuracyLimit = Any; Speed = Any; MaxSpeedError = 0.0; StorePositionData = FALSE; ExpectedDataQualityStatus = {SetDataQualityStatusVars,EDataQualityNormal}; MinimumSuccessfullPositionQueryCount = {TimesAndIntervals, DEFAULT_POSITION_QUERY_MINIMUM_SUCCESSFUL}; Iterations = {TimesAndIntervals,DEFAULT_POSITION_QUERY_RETRIES}) |
|
922 //! 8. Close positioner session |
|
923 //! 9. Close position server |
|
924 //!@SYMTestStatus Verified |
|
925 //!@SYMTestPriority High |
|
926 //!@SYMTestExpectedResults |
|
927 //! Get GPS Position |
|
928 //!@SYMTestType CIT |
|
929 |
|
930 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps.ini |
|
931 CREATE_OBJECT RPositionServer posser |
|
932 CREATE_OBJECT RPositioner pos |
|
933 COMMAND posser Connect |
|
934 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-0019-0001-SetPositionerModuleId_command02 |
|
935 COMMAND pos Open LBS-LBSCLIENT-Gps-0019-0001-Open_command03 |
|
936 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-0019-0001-SetRequestor_command04 |
|
937 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-0019-0001-SetUpdateOptions_command05 |
|
938 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-0019-0001-GetPosition_command06 |
|
939 COMMAND pos Close |
|
940 COMMAND posser Close |
|
941 END_TEST_BLOCK |
|
942 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0019 |
|
943 |
|
944 |
|
945 |
|
946 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0020 |
|
947 DELAY 5000 |
|
948 |
|
949 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0020 |
|
950 |
|
951 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0020 |
|
952 //!@SYMAPI |
|
953 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
954 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
955 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
956 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
957 //! RPositioner::Close() |
|
958 //!@SYMAuthor jguillermo |
|
959 //!@SYMCreationDate 6/16/2008 |
|
960 //!@SYMTestCaseDesc Get position withGPS in 600 s, pos acc 500 m, altitude acc 100 m |
|
961 //!@SYMTestActions |
|
962 //! 1. Connect to position server |
|
963 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
964 //! 3. Open positioner session (PositionServerInstance = posser) |
|
965 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
966 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
967 //! 6. Get position (PositionServerInstance = posser; Latitude = {ActualPositionVars,LATITUDE}; Longitude = {ActualPositionVars,LONGITUDE}; MaximumError = 500.0; PositionAccuracy = Any; Altitude = {ActualPositionVars, ALTITUDE}; MaximumAltitudeError = 100.0; AltitudeAccuracyLimit = Any; Speed = Any; MaxSpeedError = 0.0; StorePositionData = FALSE; ExpectedDataQualityStatus = {SetDataQualityStatusVars,EDataQualityNormal}; MinimumSuccessfullPositionQueryCount = 1; Iterations = 54) |
|
968 //! 8. Close positioner session |
|
969 //! 9. Close position server |
|
970 //!@SYMTestStatus Verified |
|
971 //!@SYMTestPriority High |
|
972 //!@SYMTestExpectedResults |
|
973 //! Get GPS Position |
|
974 //!@SYMTestType CIT |
|
975 |
|
976 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps.ini |
|
977 CREATE_OBJECT RPositionServer posser |
|
978 CREATE_OBJECT RPositioner pos |
|
979 COMMAND posser Connect |
|
980 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-0020-0001-SetPositionerModuleId_command02 |
|
981 COMMAND pos Open LBS-LBSCLIENT-Gps-0020-0001-Open_command03 |
|
982 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-0020-0001-SetRequestor_command04 |
|
983 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-0020-0001-SetUpdateOptions_command05 |
|
984 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-0020-0001-GetPosition_command06 |
|
985 COMMAND pos Close |
|
986 COMMAND posser Close |
|
987 END_TEST_BLOCK |
|
988 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0020 |
|
989 |
|
990 |
|
991 |
|
992 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0021 |
|
993 DELAY 5000 |
|
994 |
|
995 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0021 |
|
996 |
|
997 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0021 |
|
998 //!@SYMAPI |
|
999 //! RPositionSever::Connect() |
|
1000 //! RPositionSever::GetModuleStatus(TPositionModuleStatusBase {ref}, TPositionModuleId) |
|
1001 //! RPositionSever::Close() |
|
1002 //!@SYMAuthor jguillermo |
|
1003 //!@SYMCreationDate 6/16/2008 |
|
1004 //!@SYMTestCaseDesc GetGPS position module status |
|
1005 //!@SYMTestActions |
|
1006 //! 1. Connect to position server |
|
1007 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
1008 //! 3. Get module status (DeviceStatus = {SetDeviceStatusVars, EDeviceInactive}; DataQualityStatus = {SetDataQualityStatusVars,EDataQualityUnknown}; ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
1009 //! 4. Close position server |
|
1010 //!@SYMTestStatus Verified |
|
1011 //!@SYMTestPriority High |
|
1012 //!@SYMTestExpectedResults |
|
1013 //! Get Position module status |
|
1014 //!@SYMTestType CIT |
|
1015 |
|
1016 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps.ini |
|
1017 CREATE_OBJECT RPositionServer posser |
|
1018 CREATE_OBJECT RPositioner pos |
|
1019 COMMAND posser Connect |
|
1020 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-0021-0001-SetPositionerModuleId_command02 |
|
1021 COMMAND posser GetModuleStatus LBS-LBSCLIENT-Gps-0021-0001-GetModuleStatus_command03 |
|
1022 COMMAND posser Close |
|
1023 END_TEST_BLOCK |
|
1024 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0021 |
|
1025 |
|
1026 |
|
1027 |
|
1028 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0022 |
|
1029 DELAY 5000 |
|
1030 |
|
1031 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0022 |
|
1032 |
|
1033 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0022 |
|
1034 //!@SYMAPI |
|
1035 //! RPositionSever::Connect() |
|
1036 //! RPositionSever::Close() |
|
1037 //!@SYMAuthor jguillermo |
|
1038 //!@SYMCreationDate 6/16/2008 |
|
1039 //!@SYMTestCaseDesc RPositionServer connect |
|
1040 //!@SYMTestActions |
|
1041 //! 1. Connect to position server |
|
1042 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_DEFAULT}) |
|
1043 //!@SYMTestStatus Verified |
|
1044 //!@SYMTestPriority High |
|
1045 //!@SYMTestExpectedResults |
|
1046 //! Set a conection with the position server |
|
1047 //!@SYMTestType CIT |
|
1048 |
|
1049 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps.ini |
|
1050 CREATE_OBJECT RPositionServer posser |
|
1051 CREATE_OBJECT RPositioner pos |
|
1052 COMMAND posser Connect |
|
1053 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-0022-0001-SetPositionerModuleId_command02 |
|
1054 END_TEST_BLOCK |
|
1055 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0022 |
|
1056 |
|
1057 |
|
1058 |
|
1059 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0023 |
|
1060 DELAY 5000 |
|
1061 |
|
1062 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0023 |
|
1063 |
|
1064 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0023 |
|
1065 //!@SYMAPI |
|
1066 //! RPositionSever::Connect() |
|
1067 //! RPositionSever::GetModuleStatus(TPositionModuleStatusBase {ref}, TPositionModuleId) |
|
1068 //! RPositionSever::Close() |
|
1069 //!@SYMAuthor jguillermo |
|
1070 //!@SYMCreationDate 6/16/2008 |
|
1071 //!@SYMTestCaseDesc Get default positioning module status |
|
1072 //!@SYMTestActions |
|
1073 //! 1. Connect to position server |
|
1074 //! 2. Set positioner module Id (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_DEFAULT}) |
|
1075 //! 3. Get positioner module status (DeviceStatus = Any; DataQualityStatus = Any; ModuleId = {ModuleIdVars,MODULEID_DEFAULT}) |
|
1076 //! 4. Get positioner module status (DeviceStatus = {SetDeviceStatusVars,EDeviceInactive}; DataQualityStatus = {SetDataQualityStatusVars,EDataQualityUnknown}; ModuleId = {ModuleIdVars,MODULEID_DEFAULT}) |
|
1077 //! 5. Close position server |
|
1078 //!@SYMTestStatus Verified |
|
1079 //!@SYMTestPriority High |
|
1080 //!@SYMTestExpectedResults |
|
1081 //! Get default positioning module status |
|
1082 //!@SYMTestType CIT |
|
1083 |
|
1084 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps.ini |
|
1085 CREATE_OBJECT RPositionServer posser |
|
1086 CREATE_OBJECT RPositioner pos |
|
1087 COMMAND posser Connect |
|
1088 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-0023-0001-SetPositionerModuleId_command02 |
|
1089 COMMAND posser GetModuleStatus LBS-LBSCLIENT-Gps-0023-0001-GetModuleStatus_command03 |
|
1090 COMMAND posser GetModuleStatus LBS-LBSCLIENT-Gps-0023-0001-GetModuleStatus_command04 |
|
1091 COMMAND posser Close |
|
1092 END_TEST_BLOCK |
|
1093 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0023 |
|
1094 |
|
1095 |
|
1096 |
|
1097 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0024 |
|
1098 DELAY 5000 |
|
1099 |
|
1100 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0024 |
|
1101 |
|
1102 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0024 |
|
1103 //!@SYMAPI |
|
1104 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
1105 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
1106 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
1107 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
1108 //! RPositioner::Close() |
|
1109 //! RPositionSever::Connect() |
|
1110 //! RPositionSever::Close() |
|
1111 //!@SYMAuthor jguillermo |
|
1112 //!@SYMCreationDate 6/16/2008 |
|
1113 //!@SYMTestCaseDesc Set Max Age to 1 seconds |
|
1114 //!@SYMTestActions |
|
1115 //! 1. Connect to position server |
|
1116 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_DEFAULT}) |
|
1117 //! 3. Open positioner session (PositionServerInstance = posser) |
|
1118 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
1119 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
1120 //! 6. Close positioner |
|
1121 //! 7. Close position server |
|
1122 //!@SYMTestStatus Verified |
|
1123 //!@SYMTestPriority High |
|
1124 //!@SYMTestExpectedResults |
|
1125 //! Set Max Age to 1 seconds |
|
1126 //!@SYMTestType CIT |
|
1127 |
|
1128 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps.ini |
|
1129 CREATE_OBJECT RPositionServer posser |
|
1130 CREATE_OBJECT RPositioner pos |
|
1131 COMMAND posser Connect |
|
1132 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-0024-0001-SetPositionerModuleId_command02 |
|
1133 COMMAND pos Open LBS-LBSCLIENT-Gps-0024-0001-Open_command03 |
|
1134 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-0024-0001-SetRequestor_command04 |
|
1135 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-0024-0001-SetUpdateOptions_command05 |
|
1136 COMMAND pos Close |
|
1137 COMMAND posser Close |
|
1138 END_TEST_BLOCK |
|
1139 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-0024 |
|
1140 |
|
1141 DELAY 10000 |
|
1142 |