|
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-accuracy |
|
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-ACCURACY-0001 |
|
36 DELAY 5000 |
|
37 |
|
38 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0001 |
|
39 |
|
40 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-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 Verify GPS coordinates, accuracy 10 meters |
|
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 = EFormatApplication; RequestorData = Location-GPS) |
|
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 = {ActualPositionVars,LATITUDE}; Longitude = {ActualPositionVars,LONGITUDE}; MaximumError = 10.0; 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 //! 7. Close positioner session |
|
60 //! 8. Close position server |
|
61 //!@SYMTestStatus Verified |
|
62 //!@SYMTestPriority High |
|
63 //!@SYMTestExpectedResults |
|
64 //! Verify GPS coordinates, accuracy 10 meters |
|
65 //!@SYMTestType CIT |
|
66 |
|
67 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps-accuracy.ini |
|
68 CREATE_OBJECT RPositionServer posser |
|
69 CREATE_OBJECT RPositioner pos |
|
70 COMMAND posser Connect |
|
71 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-Accuracy-0001-0001-SetPositionerModuleId_command02 |
|
72 COMMAND pos Open LBS-LBSCLIENT-Gps-Accuracy-0001-0001-Open_command03 |
|
73 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-Accuracy-0001-0001-SetRequestor_command04 |
|
74 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-Accuracy-0001-0001-SetUpdateOptions_command05 |
|
75 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-Accuracy-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-ACCURACY-0001 |
|
80 |
|
81 |
|
82 |
|
83 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0002 |
|
84 DELAY 5000 |
|
85 |
|
86 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0002 |
|
87 |
|
88 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0002 |
|
89 //!@SYMAPI |
|
90 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
91 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
92 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
93 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
94 //! RPositioner::Close() |
|
95 //! RPositionSever::Connect() |
|
96 //! RPositionSever::Close() |
|
97 //!@SYMAuthor jguillermo |
|
98 //!@SYMCreationDate 6/16/2008 |
|
99 //!@SYMTestCaseDesc Verify GPS coordinate accuracy |
|
100 //!@SYMTestActions |
|
101 //! 1. Connect to position server |
|
102 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
103 //! 3. Open positioner session (PositionServerInstance = posser) |
|
104 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
105 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
106 //! 6. Get position (PositionServerInstance = posser; Latitude = Any; Longitude = Any; MaximumError = Any; PositionAccuracy = 50.0; Altitude = {ActualPositionVars,ALTITUDE}; 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}) |
|
107 //! 7. Close positioner session |
|
108 //! 8. Close position server |
|
109 //!@SYMTestStatus Verified |
|
110 //!@SYMTestPriority High |
|
111 //!@SYMTestExpectedResults |
|
112 //! Verify GPS coordinate accuracy |
|
113 //!@SYMTestType CIT |
|
114 |
|
115 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps-accuracy.ini |
|
116 CREATE_OBJECT RPositionServer posser |
|
117 CREATE_OBJECT RPositioner pos |
|
118 COMMAND posser Connect |
|
119 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-Accuracy-0002-0001-SetPositionerModuleId_command02 |
|
120 COMMAND pos Open LBS-LBSCLIENT-Gps-Accuracy-0002-0001-Open_command03 |
|
121 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-Accuracy-0002-0001-SetRequestor_command04 |
|
122 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-Accuracy-0002-0001-SetUpdateOptions_command05 |
|
123 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-Accuracy-0002-0001-GetPosition_command06 |
|
124 COMMAND pos Close |
|
125 COMMAND posser Close |
|
126 END_TEST_BLOCK |
|
127 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0002 |
|
128 |
|
129 |
|
130 |
|
131 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0003 |
|
132 DELAY 5000 |
|
133 |
|
134 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0003 |
|
135 |
|
136 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0003 |
|
137 //!@SYMAPI |
|
138 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
139 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
140 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
141 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
142 //! RPositioner::Close() |
|
143 //! RPositionSever::Connect() |
|
144 //! RPositionSever::Close() |
|
145 //!@SYMAuthor jguillermo |
|
146 //!@SYMCreationDate 6/16/2008 |
|
147 //!@SYMTestCaseDesc Verify GPS altitude, accuracy 5 meters |
|
148 //!@SYMTestActions |
|
149 //! 1. Connect to position server |
|
150 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
151 //! 3. Open positioner session (PositionServerInstance = posser) |
|
152 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
153 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
154 //! 6. Get position (PositionServerInstance = posser; Latitude = Any; Longitude = Any; MaximumError = Any; PositionAccuracy = Any; Altitude = {ActualPositionVars,ALTITUDE}; MaximumAltitudeError = 5.0; 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}) |
|
155 //! 7. Close positioner session |
|
156 //! 8. Close position server |
|
157 //!@SYMTestStatus Verified |
|
158 //!@SYMTestPriority High |
|
159 //!@SYMTestExpectedResults |
|
160 //! Verify GPS altitude, accuracy 5 meters |
|
161 //!@SYMTestType CIT |
|
162 |
|
163 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps-accuracy.ini |
|
164 CREATE_OBJECT RPositionServer posser |
|
165 CREATE_OBJECT RPositioner pos |
|
166 COMMAND posser Connect |
|
167 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-Accuracy-0003-0001-SetPositionerModuleId_command02 |
|
168 COMMAND pos Open LBS-LBSCLIENT-Gps-Accuracy-0003-0001-Open_command03 |
|
169 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-Accuracy-0003-0001-SetRequestor_command04 |
|
170 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-Accuracy-0003-0001-SetUpdateOptions_command05 |
|
171 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-Accuracy-0003-0001-GetPosition_command06 |
|
172 COMMAND pos Close |
|
173 COMMAND posser Close |
|
174 END_TEST_BLOCK |
|
175 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0003 |
|
176 |
|
177 |
|
178 |
|
179 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0004 |
|
180 DELAY 5000 |
|
181 |
|
182 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0004 |
|
183 |
|
184 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0004 |
|
185 //!@SYMAPI |
|
186 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
187 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
188 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
189 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
190 //! RPositioner::Close() |
|
191 //! RPositionSever::Connect() |
|
192 //! RPositionSever::Close() |
|
193 //!@SYMAuthor jguillermo |
|
194 //!@SYMCreationDate 6/16/2008 |
|
195 //!@SYMTestCaseDesc Verify GPS altitude accuracy |
|
196 //!@SYMTestActions |
|
197 //! 1. Connect to position server |
|
198 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
199 //! 3. Open positioner session (PositionServerInstance = posser) |
|
200 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
201 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
202 //! 6. Get position (PositionServerInstance = posser; Latitude = Any; Longitude = Any; MaximumError = Any; PositionAccuracy = Any; Altitude = Any; MaximumAltitudeError = Any; AltitudeAccuracyLimit = 50.0; Speed = Any; MaxSpeedError = 0.0; StorePositionData = FALSE; ExpectedDataQualityStatus = {SetDataQualityStatusVars,EDataQualityNormal}; MinimumSuccessfullPositionQueryCount = {TimesAndIntervals, DEFAULT_POSITION_QUERY_MINIMUM_SUCCESSFUL}; Iterations = {TimesAndIntervals,DEFAULT_POSITION_QUERY_RETRIES}) |
|
203 //! 7. Close positioner session |
|
204 //! 8. Close position server |
|
205 //!@SYMTestStatus Verified |
|
206 //!@SYMTestPriority High |
|
207 //!@SYMTestExpectedResults |
|
208 //! Verify GPS altitude accuracy |
|
209 //!@SYMTestType CIT |
|
210 |
|
211 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps-accuracy.ini |
|
212 CREATE_OBJECT RPositionServer posser |
|
213 CREATE_OBJECT RPositioner pos |
|
214 COMMAND posser Connect |
|
215 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-Accuracy-0004-0001-SetPositionerModuleId_command02 |
|
216 COMMAND pos Open LBS-LBSCLIENT-Gps-Accuracy-0004-0001-Open_command03 |
|
217 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-Accuracy-0004-0001-SetRequestor_command04 |
|
218 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-Accuracy-0004-0001-SetUpdateOptions_command05 |
|
219 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-Accuracy-0004-0001-GetPosition_command06 |
|
220 COMMAND pos Close |
|
221 COMMAND posser Close |
|
222 END_TEST_BLOCK |
|
223 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0004 |
|
224 |
|
225 |
|
226 |
|
227 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0005 |
|
228 DELAY 5000 |
|
229 |
|
230 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0005 |
|
231 |
|
232 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0005 |
|
233 //!@SYMAPI |
|
234 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
235 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
236 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
237 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
238 //! RPositioner::Close() |
|
239 //! RPositionSever::Connect() |
|
240 //! RPositionSever::Close() |
|
241 //!@SYMAuthor jguillermo |
|
242 //!@SYMCreationDate 6/16/2008 |
|
243 //!@SYMTestCaseDesc Verify GPS coordinates, accuracy 30 meters |
|
244 //!@SYMTestActions |
|
245 //! 1. Connect to position server |
|
246 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
247 //! 3. Open positioner session (PositionServerInstance = posser) |
|
248 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
249 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
250 //! 6. Get position (PositionServerInstance = posser; Latitude = {ActualPositionVars,LATITUDE}; Longitude = {ActualPositionVars,LONGITUDE}; MaximumError = 30.0; 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}) |
|
251 //! 7. Close positioner session |
|
252 //! 8. Close position server |
|
253 //!@SYMTestStatus Verified |
|
254 //!@SYMTestPriority High |
|
255 //!@SYMTestExpectedResults |
|
256 //! Verify GPS coordinates, accuracy 30 meters |
|
257 //!@SYMTestType CIT |
|
258 |
|
259 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps-accuracy.ini |
|
260 CREATE_OBJECT RPositionServer posser |
|
261 CREATE_OBJECT RPositioner pos |
|
262 COMMAND posser Connect |
|
263 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-Accuracy-0005-0001-SetPositionerModuleId_command02 |
|
264 COMMAND pos Open LBS-LBSCLIENT-Gps-Accuracy-0005-0001-Open_command03 |
|
265 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-Accuracy-0005-0001-SetRequestor_command04 |
|
266 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-Accuracy-0005-0001-SetUpdateOptions_command05 |
|
267 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-Accuracy-0005-0001-GetPosition_command06 |
|
268 COMMAND pos Close |
|
269 COMMAND posser Close |
|
270 END_TEST_BLOCK |
|
271 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0005 |
|
272 |
|
273 |
|
274 |
|
275 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0006 |
|
276 DELAY 5000 |
|
277 |
|
278 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0006 |
|
279 |
|
280 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0006 |
|
281 //!@SYMAPI |
|
282 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
283 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
284 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
285 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
286 //! RPositioner::Close() |
|
287 //! RPositionSever::Connect() |
|
288 //! RPositionSever::Close() |
|
289 //!@SYMAuthor jguillermo |
|
290 //!@SYMCreationDate 6/16/2008 |
|
291 //!@SYMTestCaseDesc Verify GPS coordinates, accuracy 50 meters |
|
292 //!@SYMTestActions |
|
293 //! 1. Connect to position server |
|
294 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
295 //! 3. Open positioner session (PositionServerInstance = posser) |
|
296 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
297 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
298 //! 6. Get position (PositionServerInstance = posser; Latitude = {ActualPositionVars,LATITUDE}; Longitude = {ActualPositionVars,LONGITUDE}; MaximumError = 50.0; 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}) |
|
299 //! 7. Close positioner session |
|
300 //! 8. Close position server |
|
301 //!@SYMTestStatus Verified |
|
302 //!@SYMTestPriority High |
|
303 //!@SYMTestExpectedResults |
|
304 //! Verify GPS coordinates, accuracy 50 meters |
|
305 //!@SYMTestType CIT |
|
306 |
|
307 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps-accuracy.ini |
|
308 CREATE_OBJECT RPositionServer posser |
|
309 CREATE_OBJECT RPositioner pos |
|
310 COMMAND posser Connect |
|
311 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-Accuracy-0006-0001-SetPositionerModuleId_command02 |
|
312 COMMAND pos Open LBS-LBSCLIENT-Gps-Accuracy-0006-0001-Open_command03 |
|
313 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-Accuracy-0006-0001-SetRequestor_command04 |
|
314 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-Accuracy-0006-0001-SetUpdateOptions_command05 |
|
315 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-Accuracy-0006-0001-GetPosition_command06 |
|
316 COMMAND pos Close |
|
317 COMMAND posser Close |
|
318 END_TEST_BLOCK |
|
319 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0006 |
|
320 |
|
321 |
|
322 |
|
323 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0007 |
|
324 DELAY 5000 |
|
325 |
|
326 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0007 |
|
327 |
|
328 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0007 |
|
329 //!@SYMAPI |
|
330 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
331 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
332 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
333 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
334 //! RPositioner::Close() |
|
335 //! RPositionSever::Connect() |
|
336 //! RPositionSever::Close() |
|
337 //!@SYMAuthor jguillermo |
|
338 //!@SYMCreationDate 6/16/2008 |
|
339 //!@SYMTestCaseDesc Verify GPS coordinates, accuracy 100 meters |
|
340 //!@SYMTestActions |
|
341 //! 1. Connect to position server |
|
342 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
343 //! 3. Open positioner session (PositionServerInstance = posser) |
|
344 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
345 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
346 //! 6. Get position (PositionServerInstance = posser; Latitude = {ActualPositionVars,LATITUDE}; Longitude = {ActualPositionVars,LONGITUDE}; MaximumError = 100; PositionAccuracy = Any; Altitude = {ActualPositionVars,ALTITUDE}; 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}) |
|
347 //! 7. Close positioner session |
|
348 //! 8. Close position server |
|
349 //!@SYMTestStatus Verified |
|
350 //!@SYMTestPriority High |
|
351 //!@SYMTestExpectedResults |
|
352 //! Verify GPS coordinates, accuracy 100 meters |
|
353 //!@SYMTestType CIT |
|
354 |
|
355 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps-accuracy.ini |
|
356 CREATE_OBJECT RPositionServer posser |
|
357 CREATE_OBJECT RPositioner pos |
|
358 COMMAND posser Connect |
|
359 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-Accuracy-0007-0001-SetPositionerModuleId_command02 |
|
360 COMMAND pos Open LBS-LBSCLIENT-Gps-Accuracy-0007-0001-Open_command03 |
|
361 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-Accuracy-0007-0001-SetRequestor_command04 |
|
362 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-Accuracy-0007-0001-SetUpdateOptions_command05 |
|
363 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-Accuracy-0007-0001-GetPosition_command06 |
|
364 COMMAND pos Close |
|
365 COMMAND posser Close |
|
366 END_TEST_BLOCK |
|
367 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0007 |
|
368 |
|
369 |
|
370 |
|
371 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0008 |
|
372 DELAY 5000 |
|
373 |
|
374 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0008 |
|
375 |
|
376 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0008 |
|
377 //!@SYMAPI |
|
378 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
379 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
380 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
381 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
382 //! RPositioner::Close() |
|
383 //! RPositionSever::Connect() |
|
384 //! RPositionSever::Close() |
|
385 //!@SYMAuthor jguillermo |
|
386 //!@SYMCreationDate 6/16/2008 |
|
387 //!@SYMTestCaseDesc Verify GPS altitude, accuracy 10 meters |
|
388 //!@SYMTestActions |
|
389 //! 1. Connect to position server |
|
390 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
391 //! 3. Open positioner session (PositionServerInstance = posser) |
|
392 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
393 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
394 //! 6. Get position (PositionServerInstance = posser; Latitude = Any; Longitude = Any; MaximumError = Any; PositionAccuracy = Any; Altitude = {ActualPositionVars,ALTITUDE}; MaximumAltitudeError = 10.0; 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}) |
|
395 //! 7. Close positioner session |
|
396 //! 8. Close position server |
|
397 //!@SYMTestStatus Verified |
|
398 //!@SYMTestPriority High |
|
399 //!@SYMTestExpectedResults |
|
400 //! Verify GPS altitude, accuracy 10 meters |
|
401 //!@SYMTestType CIT |
|
402 |
|
403 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps-accuracy.ini |
|
404 CREATE_OBJECT RPositionServer posser |
|
405 CREATE_OBJECT RPositioner pos |
|
406 COMMAND posser Connect |
|
407 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-Accuracy-0008-0001-SetPositionerModuleId_command02 |
|
408 COMMAND pos Open LBS-LBSCLIENT-Gps-Accuracy-0008-0001-Open_command03 |
|
409 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-Accuracy-0008-0001-SetRequestor_command04 |
|
410 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-Accuracy-0008-0001-SetUpdateOptions_command05 |
|
411 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-Accuracy-0008-0001-GetPosition_command06 |
|
412 COMMAND pos Close |
|
413 COMMAND posser Close |
|
414 END_TEST_BLOCK |
|
415 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0008 |
|
416 |
|
417 |
|
418 |
|
419 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0009 |
|
420 DELAY 5000 |
|
421 |
|
422 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0009 |
|
423 |
|
424 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0009 |
|
425 //!@SYMAPI |
|
426 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
427 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
428 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
429 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
430 //! RPositioner::Close() |
|
431 //! RPositionSever::Connect() |
|
432 //! RPositionSever::Close() |
|
433 //!@SYMAuthor jguillermo |
|
434 //!@SYMCreationDate 6/16/2008 |
|
435 //!@SYMTestCaseDesc Verify GPS altitude, accuracy 30 meters |
|
436 //!@SYMTestActions |
|
437 //! 1. Connect to position server |
|
438 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
439 //! 3. Open positioner session (PositionServerInstance = posser) |
|
440 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
441 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
442 //! 6. Get position (PositionServerInstance = posser; Latitude = Any; Longitude = Any; MaximumError = Any; PositionAccuracy = Any; Altitude = {ActualPositionVars,ALTITUDE}; MaximumAltitudeError = 30.0; 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}) |
|
443 //! 7. Close positioner session |
|
444 //! 8. Close position server |
|
445 //!@SYMTestStatus Verified |
|
446 //!@SYMTestPriority High |
|
447 //!@SYMTestExpectedResults |
|
448 //! Verify GPS altitude, accuracy 30 meters |
|
449 //!@SYMTestType CIT |
|
450 |
|
451 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps-accuracy.ini |
|
452 CREATE_OBJECT RPositionServer posser |
|
453 CREATE_OBJECT RPositioner pos |
|
454 COMMAND posser Connect |
|
455 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-Accuracy-0009-0001-SetPositionerModuleId_command02 |
|
456 COMMAND pos Open LBS-LBSCLIENT-Gps-Accuracy-0009-0001-Open_command03 |
|
457 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-Accuracy-0009-0001-SetRequestor_command04 |
|
458 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-Accuracy-0009-0001-SetUpdateOptions_command05 |
|
459 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-Accuracy-0009-0001-GetPosition_command06 |
|
460 COMMAND pos Close |
|
461 COMMAND posser Close |
|
462 END_TEST_BLOCK |
|
463 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0009 |
|
464 |
|
465 |
|
466 |
|
467 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0010 |
|
468 DELAY 5000 |
|
469 |
|
470 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0010 |
|
471 |
|
472 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0010 |
|
473 //!@SYMAPI |
|
474 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
475 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
476 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
477 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
478 //! RPositioner::Close() |
|
479 //! RPositionSever::Connect() |
|
480 //! RPositionSever::Close() |
|
481 //!@SYMAuthor jguillermo |
|
482 //!@SYMCreationDate 6/16/2008 |
|
483 //!@SYMTestCaseDesc Verify GPS coordinates, accuracy 1000 meters |
|
484 //!@SYMTestActions |
|
485 //! 1. Connect to position server |
|
486 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
487 //! 3. Open positioner session (PositionServerInstance = posser) |
|
488 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
489 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
490 //! 6. Get position (PositionServerInstance = posser; Latitude = {ActualPositionVars,LATITUDE}; Longitude = {ActualPositionVars,LONGITUDE}; MaximumError = 1000.0; 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}) |
|
491 //! 7. Close positioner session |
|
492 //! 8. Close position server |
|
493 //!@SYMTestStatus Verified |
|
494 //!@SYMTestPriority High |
|
495 //!@SYMTestExpectedResults |
|
496 //! Verify GPS coordinates, accuracy 1000 meters |
|
497 //!@SYMTestType CIT |
|
498 |
|
499 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps-accuracy.ini |
|
500 CREATE_OBJECT RPositionServer posser |
|
501 CREATE_OBJECT RPositioner pos |
|
502 COMMAND posser Connect |
|
503 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-Accuracy-0010-0001-SetPositionerModuleId_command02 |
|
504 COMMAND pos Open LBS-LBSCLIENT-Gps-Accuracy-0010-0001-Open_command03 |
|
505 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-Accuracy-0010-0001-SetRequestor_command04 |
|
506 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-Accuracy-0010-0001-SetUpdateOptions_command05 |
|
507 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-Accuracy-0010-0001-GetPosition_command06 |
|
508 COMMAND pos Close |
|
509 COMMAND posser Close |
|
510 END_TEST_BLOCK |
|
511 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0010 |
|
512 |
|
513 |
|
514 |
|
515 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0011 |
|
516 DELAY 5000 |
|
517 |
|
518 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0011 |
|
519 |
|
520 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0011 |
|
521 //!@SYMAPI |
|
522 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
523 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
524 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
525 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
526 //! RPositioner::Close() |
|
527 //! RPositionSever::Connect() |
|
528 //! RPositionSever::Close() |
|
529 //!@SYMAuthor jguillermo |
|
530 //!@SYMCreationDate 6/16/2008 |
|
531 //!@SYMTestCaseDesc Verify GPS coordinates, accuracy 10000 meters |
|
532 //!@SYMTestActions |
|
533 //! 1. Connect to position server |
|
534 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
535 //! 3. Open positioner session (PositionServerInstance = posser) |
|
536 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
537 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
538 //! 6. Get position (PositionServerInstance = posser; Latitude = {ActualPositionVars,LATITUDE}; Longitude = {ActualPositionVars,LONGITUDE}; MaximumError = 10000.0; 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}) |
|
539 //! 7. Close positioner session |
|
540 //! 8. Close position server |
|
541 //!@SYMTestStatus Verified |
|
542 //!@SYMTestPriority High |
|
543 //!@SYMTestExpectedResults |
|
544 //! Verify GPS coordinates, accuracy 10000 meters |
|
545 //!@SYMTestType CIT |
|
546 |
|
547 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps-accuracy.ini |
|
548 CREATE_OBJECT RPositionServer posser |
|
549 CREATE_OBJECT RPositioner pos |
|
550 COMMAND posser Connect |
|
551 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-Accuracy-0011-0001-SetPositionerModuleId_command02 |
|
552 COMMAND pos Open LBS-LBSCLIENT-Gps-Accuracy-0011-0001-Open_command03 |
|
553 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-Accuracy-0011-0001-SetRequestor_command04 |
|
554 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-Accuracy-0011-0001-SetUpdateOptions_command05 |
|
555 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-Accuracy-0011-0001-GetPosition_command06 |
|
556 COMMAND pos Close |
|
557 COMMAND posser Close |
|
558 END_TEST_BLOCK |
|
559 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0011 |
|
560 |
|
561 |
|
562 |
|
563 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0012 |
|
564 DELAY 5000 |
|
565 |
|
566 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0012 |
|
567 |
|
568 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0012 |
|
569 //!@SYMAPI |
|
570 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
571 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
572 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
573 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
574 //! RPositioner::Close() |
|
575 //! RPositionSever::Connect() |
|
576 //! RPositionSever::Close() |
|
577 //!@SYMAuthor jguillermo |
|
578 //!@SYMCreationDate 6/16/2008 |
|
579 //!@SYMTestCaseDesc Verify GPS altitude, accuracy 100 meters |
|
580 //!@SYMTestActions |
|
581 //! 1. Connect to position server |
|
582 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
583 //! 3. Open positioner session (PositionServerInstance = posser) |
|
584 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
585 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
586 //! 6. Get position (PositionServerInstance = posser; Latitude = Any; Longitude = Any; MaximumError = Any; PositionAccuracy = Any; Altitude = {ActualPositionVars,ALTITUDE}; MaximumAltitudeError = 100.0; 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}) |
|
587 //! 7. Close positioner session |
|
588 //! 8. Close position server |
|
589 //!@SYMTestStatus Verified |
|
590 //!@SYMTestPriority High |
|
591 //!@SYMTestExpectedResults |
|
592 //! Verify GPS altitude, accuracy 100 meters |
|
593 //!@SYMTestType CIT |
|
594 |
|
595 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps-accuracy.ini |
|
596 CREATE_OBJECT RPositionServer posser |
|
597 CREATE_OBJECT RPositioner pos |
|
598 COMMAND posser Connect |
|
599 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-Accuracy-0012-0001-SetPositionerModuleId_command02 |
|
600 COMMAND pos Open LBS-LBSCLIENT-Gps-Accuracy-0012-0001-Open_command03 |
|
601 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-Accuracy-0012-0001-SetRequestor_command04 |
|
602 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-Accuracy-0012-0001-SetUpdateOptions_command05 |
|
603 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-Accuracy-0012-0001-GetPosition_command06 |
|
604 COMMAND pos Close |
|
605 COMMAND posser Close |
|
606 END_TEST_BLOCK |
|
607 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0012 |
|
608 |
|
609 |
|
610 |
|
611 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0013 |
|
612 DELAY 5000 |
|
613 |
|
614 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0013 |
|
615 |
|
616 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0013 |
|
617 //!@SYMAPI |
|
618 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
619 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
620 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
621 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
622 //! RPositioner::Close() |
|
623 //! RPositionSever::Connect() |
|
624 //! RPositionSever::Close() |
|
625 //!@SYMAuthor jguillermo |
|
626 //!@SYMCreationDate 6/16/2008 |
|
627 //!@SYMTestCaseDesc Verify GPS altitude, accuracy 500 meters |
|
628 //!@SYMTestActions |
|
629 //! 1. Connect to position server |
|
630 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
631 //! 3. Open positioner session (PositionServerInstance = posser) |
|
632 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
633 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
634 //! 6. Get position (PositionServerInstance = posser; Latitude = Any; Longitude = Any; MaximumError = Any; PositionAccuracy = Any; Altitude = {ActualPositionVars,ALTITUDE}; MaximumAltitudeError = 500.0; 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}) |
|
635 //! 7. Close positioner session |
|
636 //! 8. Close position server |
|
637 //!@SYMTestStatus Verified |
|
638 //!@SYMTestPriority High |
|
639 //!@SYMTestExpectedResults |
|
640 //! Get thealtitude with an accurracy of 500 meters |
|
641 //!@SYMTestType CIT |
|
642 |
|
643 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps-accuracy.ini |
|
644 CREATE_OBJECT RPositionServer posser |
|
645 CREATE_OBJECT RPositioner pos |
|
646 COMMAND posser Connect |
|
647 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-Accuracy-0013-0001-SetPositionerModuleId_command02 |
|
648 COMMAND pos Open LBS-LBSCLIENT-Gps-Accuracy-0013-0001-Open_command03 |
|
649 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-Accuracy-0013-0001-SetRequestor_command04 |
|
650 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-Accuracy-0013-0001-SetUpdateOptions_command05 |
|
651 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-Accuracy-0013-0001-GetPosition_command06 |
|
652 COMMAND pos Close |
|
653 COMMAND posser Close |
|
654 END_TEST_BLOCK |
|
655 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0013 |
|
656 |
|
657 |
|
658 |
|
659 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0014 |
|
660 DELAY 5000 |
|
661 |
|
662 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0014 |
|
663 |
|
664 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0014 |
|
665 //!@SYMAPI |
|
666 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
667 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
668 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
669 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
670 //! RPositioner::Close() |
|
671 //! RPositionSever::Connect() |
|
672 //! RPositionSever::Close() |
|
673 //!@SYMAuthor jguillermo |
|
674 //!@SYMCreationDate 6/16/2008 |
|
675 //!@SYMTestCaseDesc Verify GPS altitude, accuracy 10000 meters |
|
676 //!@SYMTestActions |
|
677 //! 1. Connect to position server |
|
678 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
679 //! 3. Open positioner session (PositionServerInstance = posser) |
|
680 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
681 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
682 //! 6. Get position (PositionServerInstance = posser; Latitude = Any; Longitude = Any; MaximumError = Any; PositionAccuracy = Any; Altitude = {ActualPositionVars,ALTITUDE}; MaximumAltitudeError = 10000.0; 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}) |
|
683 //! 7. Close positioner session |
|
684 //! 8. Close position server |
|
685 //!@SYMTestStatus Verified |
|
686 //!@SYMTestPriority High |
|
687 //!@SYMTestExpectedResults |
|
688 //! Get thealtitude with an accurracy of 10000 meters |
|
689 //!@SYMTestType CIT |
|
690 |
|
691 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps-accuracy.ini |
|
692 CREATE_OBJECT RPositionServer posser |
|
693 CREATE_OBJECT RPositioner pos |
|
694 COMMAND posser Connect |
|
695 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-Accuracy-0014-0001-SetPositionerModuleId_command02 |
|
696 COMMAND pos Open LBS-LBSCLIENT-Gps-Accuracy-0014-0001-Open_command03 |
|
697 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-Accuracy-0014-0001-SetRequestor_command04 |
|
698 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-Accuracy-0014-0001-SetUpdateOptions_command05 |
|
699 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-Accuracy-0014-0001-GetPosition_command06 |
|
700 COMMAND pos Close |
|
701 COMMAND posser Close |
|
702 END_TEST_BLOCK |
|
703 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0014 |
|
704 |
|
705 |
|
706 |
|
707 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0015 |
|
708 DELAY 5000 |
|
709 |
|
710 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0015 |
|
711 |
|
712 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0015 |
|
713 //!@SYMAPI |
|
714 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
715 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
716 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
717 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
718 //! RPositioner::Close() |
|
719 //! RPositionSever::Connect() |
|
720 //! RPositionSever::Close() |
|
721 //!@SYMAuthor jguillermo |
|
722 //!@SYMCreationDate 6/16/2008 |
|
723 //!@SYMTestCaseDesc Verify GPS altitude, accuracy 50 meters |
|
724 //!@SYMTestActions |
|
725 //! 1. Connect to position server |
|
726 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
727 //! 3. Open positioner session (PositionServerInstance = posser) |
|
728 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
729 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
730 //! 6. Get position (PositionServerInstance = posser; Latitude = Any; Longitude = Any; MaximumError = Any; PositionAccuracy = Any; Altitude = {ActualPositionVars,ALTITUDE}; MaximumAltitudeError = 50.0; 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}) |
|
731 //! 7. Close positioner session |
|
732 //! 8. Close position server |
|
733 //!@SYMTestStatus Verified |
|
734 //!@SYMTestPriority High |
|
735 //!@SYMTestExpectedResults |
|
736 //! Get thealtitude with an accurracy of 50 meters |
|
737 //!@SYMTestType CIT |
|
738 |
|
739 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps-accuracy.ini |
|
740 CREATE_OBJECT RPositionServer posser |
|
741 CREATE_OBJECT RPositioner pos |
|
742 COMMAND posser Connect |
|
743 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-Accuracy-0015-0001-SetPositionerModuleId_command02 |
|
744 COMMAND pos Open LBS-LBSCLIENT-Gps-Accuracy-0015-0001-Open_command03 |
|
745 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-Accuracy-0015-0001-SetRequestor_command04 |
|
746 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-Accuracy-0015-0001-SetUpdateOptions_command05 |
|
747 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-Accuracy-0015-0001-GetPosition_command06 |
|
748 COMMAND pos Close |
|
749 COMMAND posser Close |
|
750 END_TEST_BLOCK |
|
751 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0015 |
|
752 |
|
753 |
|
754 |
|
755 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0016 |
|
756 DELAY 5000 |
|
757 |
|
758 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0016 |
|
759 |
|
760 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0016 |
|
761 //!@SYMAPI |
|
762 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
763 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
764 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
765 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
766 //! RPositioner::Close() |
|
767 //! RPositionSever::Connect() |
|
768 //! RPositionSever::Close() |
|
769 //!@SYMAuthor jguillermo |
|
770 //!@SYMCreationDate 6/16/2008 |
|
771 //!@SYMTestCaseDesc Verify GPS coordinates, accuracy 1 meter |
|
772 //!@SYMTestActions |
|
773 //! 1. Connect to position server |
|
774 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
775 //! 3. Open positioner session (PositionServerInstance = posser) |
|
776 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
777 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
778 //! 6. Get position (PositionServerInstance = posser; Latitude = {ActualPositionVars,LATITUDE}; Longitude = {ActualPositionVars,LONGITUDE}; MaximumError = 1.0; 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}) |
|
779 //! 7. Close positioner session |
|
780 //! 8. Close position server |
|
781 //!@SYMTestStatus Verified |
|
782 //!@SYMTestPriority High |
|
783 //!@SYMTestExpectedResults |
|
784 //! Get GPS coordinates with an acurracy of 5 meter |
|
785 //!@SYMTestType CIT |
|
786 |
|
787 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps-accuracy.ini |
|
788 CREATE_OBJECT RPositionServer posser |
|
789 CREATE_OBJECT RPositioner pos |
|
790 COMMAND posser Connect |
|
791 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-Accuracy-0016-0001-SetPositionerModuleId_command02 |
|
792 COMMAND pos Open LBS-LBSCLIENT-Gps-Accuracy-0016-0001-Open_command03 |
|
793 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-Accuracy-0016-0001-SetRequestor_command04 |
|
794 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-Accuracy-0016-0001-SetUpdateOptions_command05 |
|
795 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-Accuracy-0016-0001-GetPosition_command06 |
|
796 COMMAND pos Close |
|
797 COMMAND posser Close |
|
798 END_TEST_BLOCK |
|
799 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0016 |
|
800 |
|
801 |
|
802 |
|
803 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0017 |
|
804 DELAY 5000 |
|
805 |
|
806 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0017 |
|
807 |
|
808 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0017 |
|
809 //!@SYMAPI |
|
810 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
811 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
812 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
813 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
814 //! RPositioner::Close() |
|
815 //! RPositionSever::Connect() |
|
816 //! RPositionSever::Close() |
|
817 //!@SYMAuthor jguillermo |
|
818 //!@SYMCreationDate 6/16/2008 |
|
819 //!@SYMTestCaseDesc Verify GPS coordinates, accuracy 5 meters |
|
820 //!@SYMTestActions |
|
821 //! 1. Connect to position server |
|
822 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
823 //! 3. Open positioner session (PositionServerInstance = posser) |
|
824 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
825 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
826 //! 6. Get position (PositionServerInstance = posser; Latitude = {ActualPositionVars,LATITUDE}; Longitude = {ActualPositionVars,LONGITUDE}; MaximumError = 5.0; 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}) |
|
827 //! 7. Close positioner session |
|
828 //! 8. Close position server |
|
829 //!@SYMTestStatus Verified |
|
830 //!@SYMTestPriority High |
|
831 //!@SYMTestExpectedResults |
|
832 //! Get GPS coordinates with an acurracy of 1 meter |
|
833 //!@SYMTestType CIT |
|
834 |
|
835 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps-accuracy.ini |
|
836 CREATE_OBJECT RPositionServer posser |
|
837 CREATE_OBJECT RPositioner pos |
|
838 COMMAND posser Connect |
|
839 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-Accuracy-0017-0001-SetPositionerModuleId_command02 |
|
840 COMMAND pos Open LBS-LBSCLIENT-Gps-Accuracy-0017-0001-Open_command03 |
|
841 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-Accuracy-0017-0001-SetRequestor_command04 |
|
842 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-Accuracy-0017-0001-SetUpdateOptions_command05 |
|
843 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-Accuracy-0017-0001-GetPosition_command06 |
|
844 COMMAND pos Close |
|
845 COMMAND posser Close |
|
846 END_TEST_BLOCK |
|
847 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0017 |
|
848 |
|
849 |
|
850 |
|
851 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0018 |
|
852 DELAY 5000 |
|
853 |
|
854 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0018 |
|
855 |
|
856 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0018 |
|
857 //!@SYMAPI |
|
858 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
859 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
860 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
861 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
862 //! RPositioner::Close() |
|
863 //! RPositionSever::Connect() |
|
864 //! RPositionSever::Close() |
|
865 //!@SYMAuthor jguillermo |
|
866 //!@SYMCreationDate 6/16/2008 |
|
867 //!@SYMTestCaseDesc Verify GPS speed is a positive value |
|
868 //!@SYMTestActions |
|
869 //! 1. Connect to position server |
|
870 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
871 //! 3. Open positioner session (PositionServerInstance = posser) |
|
872 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
873 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
874 //! 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}) |
|
875 //! 7. Close positioner session |
|
876 //! 8. Close position server |
|
877 //!@SYMTestStatus Verified |
|
878 //!@SYMTestPriority High |
|
879 //!@SYMTestExpectedResults |
|
880 //! Get GPS speed with a positive value. |
|
881 //!@SYMTestType CIT |
|
882 |
|
883 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps-accuracy.ini |
|
884 CREATE_OBJECT RPositionServer posser |
|
885 CREATE_OBJECT RPositioner pos |
|
886 COMMAND posser Connect |
|
887 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-Accuracy-0018-0001-SetPositionerModuleId_command02 |
|
888 COMMAND pos Open LBS-LBSCLIENT-Gps-Accuracy-0018-0001-Open_command03 |
|
889 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-Accuracy-0018-0001-SetRequestor_command04 |
|
890 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-Accuracy-0018-0001-SetUpdateOptions_command05 |
|
891 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-Accuracy-0018-0001-GetPosition_command06 |
|
892 COMMAND pos Close |
|
893 COMMAND posser Close |
|
894 END_TEST_BLOCK |
|
895 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0018 |
|
896 |
|
897 |
|
898 |
|
899 //! Delay required by testcase LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0019 |
|
900 DELAY 5000 |
|
901 |
|
902 START_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0019 |
|
903 |
|
904 //!@SYMTestCaseID LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0019 |
|
905 //!@SYMAPI |
|
906 //! RPositioner::Open(RPositionServer {ref}, TPositionModuleId) |
|
907 //! RPositioner::SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC {ref}) |
|
908 //! RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase {ref}) |
|
909 //! RPositioner::NotifyPositionUpdate(TPositionInfoBase {ref}, TRequestStatus {ref}) |
|
910 //! RPositioner::Close() |
|
911 //! RPositionSever::Connect() |
|
912 //! RPositionSever::Close() |
|
913 //!@SYMAuthor jguillermo |
|
914 //!@SYMCreationDate 6/16/2008 |
|
915 //!@SYMTestCaseDesc Verify GPS speed is a zero value |
|
916 //!@SYMTestActions |
|
917 //! 1. Connect to position server |
|
918 //! 2. Set positioner module ID (PositionServerInstance = posser; ModuleId = {ModuleIdVars,MODULEID_GPS}) |
|
919 //! 3. Open positioner session (PositionServerInstance = posser) |
|
920 //! 4. Set requestor (RequestorType = ERequestorService; RequestorFormat = EFormatApplication; RequestorData = Location-GPS) |
|
921 //! 5. Set update options (UpdateInterval = {TimesAndIntervals,DEFAULT_UPDATE_INTERVAL}; UpdateTimeout = {TimesAndIntervals,DEFAULT_UPDATE_TIMEOUT}; MaxAge = 0; AcceptPartialUpdates = FALSE) |
|
922 //! 6. Get position (PositionServerInstance = posser; Latitude = Any; Longitude = Any; MaximumError = Any; PositionAccuracy = Any; Altitude = Any; MaximumAltitudeError = Any; AltitudeAccuracyLimit = Any; Speed = 0.0; MaxSpeedError = 2.0; StorePositionData = FALSE; ExpectedDataQualityStatus = {SetDataQualityStatusVars,EDataQualityNormal}; MinimumSuccessfullPositionQueryCount = {TimesAndIntervals, DEFAULT_POSITION_QUERY_MINIMUM_SUCCESSFUL}; Iterations = {TimesAndIntervals,DEFAULT_POSITION_QUERY_RETRIES}) |
|
923 //! 7. Close positioner session |
|
924 //! 8. Close position server |
|
925 //!@SYMTestStatus Verified |
|
926 //!@SYMTestPriority High |
|
927 //!@SYMTestExpectedResults |
|
928 //! Get GPS speed with a zero value. |
|
929 //!@SYMTestType CIT |
|
930 |
|
931 START_TEST_BLOCK 300 t_lbsclient \lbs\lbsclient\lbs-lbsclient-api-validation-automated-gps-accuracy.ini |
|
932 CREATE_OBJECT RPositionServer posser |
|
933 CREATE_OBJECT RPositioner pos |
|
934 COMMAND posser Connect |
|
935 COMMAND pos SetPositionerModuleId LBS-LBSCLIENT-Gps-Accuracy-0019-0001-SetPositionerModuleId_command02 |
|
936 COMMAND pos Open LBS-LBSCLIENT-Gps-Accuracy-0019-0001-Open_command03 |
|
937 COMMAND pos SetRequestor LBS-LBSCLIENT-Gps-Accuracy-0019-0001-SetRequestor_command04 |
|
938 COMMAND pos SetUpdateOptions LBS-LBSCLIENT-Gps-Accuracy-0019-0001-SetUpdateOptions_command05 |
|
939 COMMAND pos GetPosition LBS-LBSCLIENT-Gps-Accuracy-0019-0001-GetPosition_command06 |
|
940 COMMAND pos Close |
|
941 COMMAND posser Close |
|
942 END_TEST_BLOCK |
|
943 END_TESTCASE LBS-LBSCLIENT-API-VALIDATION-AUTOMATED-GPS-ACCURACY-0019 |
|
944 |
|
945 |
|
946 DELAY 10000 |
|
947 |