1 # |
|
2 # Copyright (c) 2008-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 the License "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: Location Manager API tests |
|
15 # |
|
16 |
|
17 // --------------------------------------------------------------------------- |
|
18 // Location Manager API test cases |
|
19 // --------------------------------------------------------------------------- |
|
20 |
|
21 // These should be run in sequential mode if several cases are run at the same |
|
22 // time! |
|
23 |
|
24 [StifSettings] |
|
25 TestThreadStackSize= 32768 |
|
26 TestThreadMinHeap= 4096 |
|
27 TestThreadMaxHeap= 16777216 |
|
28 [EndStifSettings] |
|
29 |
|
30 [Test] |
|
31 title Location Manager Connect Disconnect |
|
32 timeout 60000 |
|
33 create LocationManagerTestScripter test |
|
34 test Connect |
|
35 test Close |
|
36 delete test |
|
37 [Endtest] |
|
38 |
|
39 [Test] |
|
40 title Location Trail Connect Disconnect |
|
41 timeout 60000 |
|
42 create LocationManagerTestScripter test |
|
43 test TrailConnect |
|
44 test TrailClose |
|
45 delete test |
|
46 [Endtest] |
|
47 |
|
48 [Test] |
|
49 title Start-Stop Location Trail |
|
50 timeout 60000 |
|
51 create LocationManagerTestScripter test |
|
52 test TrailConnect |
|
53 test StartTrailTests |
|
54 test TrailClose |
|
55 delete test |
|
56 [Endtest] |
|
57 |
|
58 [Test] |
|
59 title Get Location Trail State |
|
60 timeout 60000 |
|
61 create LocationManagerTestScripter test |
|
62 test TrailConnect |
|
63 test StartTrail |
|
64 test GetTrailState |
|
65 test StopTrail |
|
66 test TrailClose |
|
67 delete test |
|
68 [Endtest] |
|
69 |
|
70 [Test] |
|
71 title Location Trail Notification Basic Test |
|
72 timeout 60000 |
|
73 create LocationManagerTestScripter test |
|
74 test TrailConnect |
|
75 test StartTrail |
|
76 test LocationTrailNotifyTest |
|
77 test StopTrail |
|
78 test TrailClose |
|
79 delete test |
|
80 [Endtest] |
|
81 |
|
82 [Test] |
|
83 title Retrieve Location Basic Test |
|
84 timeout 60000 |
|
85 create LocationManagerTestScripter test |
|
86 test TrailConnect |
|
87 test StartTrail |
|
88 test RetrieveLocation |
|
89 test StopTrail |
|
90 test TrailClose |
|
91 delete test |
|
92 [Endtest] |
|
93 |
|
94 [Test] |
|
95 title Current Location Basic Test |
|
96 timeout 60000 |
|
97 create LocationManagerTestScripter test |
|
98 test TrailConnect |
|
99 test StartTrail |
|
100 test CurrentLocation |
|
101 test StopTrail |
|
102 test TrailClose |
|
103 delete test |
|
104 [Endtest] |
|
105 |
|
106 [Test] |
|
107 title Create Location Object Manipulator |
|
108 timeout 60000 |
|
109 create LocationManagerTestScripter test |
|
110 request Session |
|
111 test PrepareSession |
|
112 wait Session |
|
113 test TearDownOM |
|
114 delete test |
|
115 [Endtest] |
|
116 |
|
117 [Test] |
|
118 title Create Location Object |
|
119 timeout 60000 |
|
120 create LocationManagerTestScripter test |
|
121 request Session |
|
122 test PrepareSession |
|
123 wait Session |
|
124 test SetupOM |
|
125 test TearDownOM |
|
126 delete test |
|
127 [Endtest] |
|
128 |
|
129 [Test] |
|
130 title Location Snapshot |
|
131 timeout 60000 |
|
132 create LocationManagerTestScripter test |
|
133 request Session |
|
134 test PrepareSession |
|
135 wait Session |
|
136 test SetupOM |
|
137 test TearDownOM |
|
138 delete test |
|
139 [Endtest] |
|
140 |
|
141 [Test] |
|
142 title Remove Location Object |
|
143 timeout 60000 |
|
144 create LocationManagerTestScripter test |
|
145 request Session |
|
146 test PrepareSession |
|
147 wait Session |
|
148 test SetupOM |
|
149 test TearDownOM |
|
150 delete test |
|
151 [Endtest] |
|
152 |
|
153 [Test] |
|
154 title Copy By ID |
|
155 timeout 60000 |
|
156 create LocationManagerTestScripter test |
|
157 request Session |
|
158 test PrepareSession |
|
159 wait Session |
|
160 test SetupOM |
|
161 test CopyByID |
|
162 test CloseOM |
|
163 test CopyByIDDisco |
|
164 test TearDownOM |
|
165 delete test |
|
166 [Endtest] |
|
167 |
|
168 [Test] |
|
169 title Copy By URI |
|
170 timeout 60000 |
|
171 create LocationManagerTestScripter test |
|
172 request Session |
|
173 test PrepareSession |
|
174 wait Session |
|
175 test SetupOM |
|
176 test CopyByURI |
|
177 test CloseOM |
|
178 test CopyByURIDisco |
|
179 test TearDownOM |
|
180 delete test |
|
181 [Endtest] |
|
182 |
|
183 [Test] |
|
184 title Tracklog Connect Disconnect |
|
185 timeout 60000 |
|
186 create LocationManagerTestScripter test |
|
187 test SetupTrackLog |
|
188 test TearDownTrackLog |
|
189 delete test |
|
190 [Endtest] |
|
191 |
|
192 [Test] |
|
193 title Start Stop Tracklog Recording |
|
194 timeout 80000 |
|
195 create LocationManagerTestScripter test |
|
196 test SetupTrackLog |
|
197 test AddObserver |
|
198 request Recording |
|
199 test StartTrackLog |
|
200 wait Recording |
|
201 test Recording |
|
202 request StopRecording |
|
203 test StopTrackLog |
|
204 wait StopRecording |
|
205 test NotRecording |
|
206 test RemoveObserver |
|
207 test TearDownTrackLog |
|
208 delete test |
|
209 [Endtest] |
|
210 |
|
211 [Test] |
|
212 title Tracklog Observer test |
|
213 timeout 60000 |
|
214 create LocationManagerTestScripter test |
|
215 test SetupTrackLog |
|
216 test AddObserver |
|
217 test AddObserver |
|
218 test AddObserver |
|
219 test RemoveObserver |
|
220 test RemoveObserver |
|
221 test TearDownTrackLog |
|
222 delete test |
|
223 [Endtest] |
|
224 |
|
225 [Test] |
|
226 title Start Stop Tracklog Recording 2 |
|
227 timeout 240000 |
|
228 create LocationManagerTestScripter test |
|
229 test SetupTrackLog |
|
230 test AddObserver |
|
231 request Recording |
|
232 test StartTrackLog |
|
233 wait Recording |
|
234 test Recording |
|
235 test GetFile |
|
236 test GetStatus |
|
237 request StopRecording |
|
238 test StopTrackLog |
|
239 wait StopRecording |
|
240 test NotRecording |
|
241 test DeleteFile |
|
242 test GetStatus2 |
|
243 test RemoveObserver |
|
244 test TearDownTrackLog |
|
245 delete test |
|
246 [Endtest] |
|
247 |
|
248 [Test] |
|
249 title Tracklog Crash Test |
|
250 timeout 60000 |
|
251 create LocationManagerTestScripter test |
|
252 test SetupTrackLog |
|
253 test AddObserver |
|
254 request Recording |
|
255 test StartTrackLog |
|
256 wait Recording |
|
257 test CrashLocationManager |
|
258 test RemoveObserver |
|
259 test TearDownTrackLog |
|
260 delete test |
|
261 create LocationManagerTestScripter test2 |
|
262 test2 SetupTrackLog |
|
263 test2 AddObserver |
|
264 request Recording |
|
265 test2 StartTrackLog |
|
266 wait Recording |
|
267 test2 StopTrackLog |
|
268 test2 RemoveObserver |
|
269 test2 TearDownTrackLog |
|
270 delete test2 |
|
271 [Endtest] |
|
272 |
|
273 [Test] |
|
274 title StartGeoTagging Test |
|
275 create LocationManagerTestScripter test |
|
276 #test ConnectGeoTaggerL |
|
277 test StartGeoTaggingL |
|
278 test CloseGeoTaggerL |
|
279 delete test |
|
280 [Endtest] |
|
281 |
|
282 |
|
283 [Test] |
|
284 title TagComplete Status for GeoTagged Photos |
|
285 create LocationManagerTestScripter test |
|
286 test ConnectGeoTaggerL |
|
287 test TestGeoTagCompleteStatusL 0 |
|
288 test CloseGeoTaggerL |
|
289 delete test |
|
290 [Endtest] |
|
291 |
|
292 [Test] |
|
293 title TagPending Status for GeoTagged Photos |
|
294 create LocationManagerTestScripter test |
|
295 test ConnectGeoTaggerL |
|
296 test TestGeoTagPendingStatusL 0 |
|
297 test CloseGeoTaggerL |
|
298 delete test |
|
299 [Endtest] |
|
300 |
|
301 [Test] |
|
302 title TagGoingOn Status for GeoTagged Photos |
|
303 create LocationManagerTestScripter test |
|
304 test ConnectGeoTaggerL |
|
305 test TestGeoTagGoingOnStatusL 0 |
|
306 test CloseGeoTaggerL |
|
307 delete test |
|
308 [Endtest] |
|
309 |
|
310 |
|
311 [Test] |
|
312 title TagComplete Status for NonGeoTagged Photos |
|
313 create LocationManagerTestScripter test |
|
314 test ConnectGeoTaggerL |
|
315 test TestGeoTagCompleteStatusL 1 |
|
316 test CloseGeoTaggerL |
|
317 delete test |
|
318 [Endtest] |
|
319 |
|
320 [Test] |
|
321 title TagPending Status for NonGeoTagged Photos |
|
322 create LocationManagerTestScripter test |
|
323 test ConnectGeoTaggerL |
|
324 test TestGeoTagPendingStatusL 1 |
|
325 test CloseGeoTaggerL |
|
326 delete test |
|
327 [Endtest] |
|
328 |
|
329 [Test] |
|
330 title TagGoingOn Status for NonGeoTagged Photos |
|
331 create LocationManagerTestScripter test |
|
332 test ConnectGeoTaggerL |
|
333 test TestGeoTagGoingOnStatusL 1 |
|
334 test CloseGeoTaggerL |
|
335 delete test |
|
336 [Endtest] |
|
337 |
|
338 [Test] |
|
339 title CancelGeoTagging |
|
340 create LocationManagerTestScripter test |
|
341 test ConnectGeoTaggerL |
|
342 test CancelGeoTaggingL |
|
343 test CloseGeoTaggerL |
|
344 delete test |
|
345 [Endtest] |
|