57
|
1 |
#***********************************************************************************
|
|
2 |
#
|
|
3 |
# STIF test script file for testing VOD content client API.
|
|
4 |
#
|
|
5 |
#***********************************************************************************
|
|
6 |
|
|
7 |
[StifSettings]
|
|
8 |
CapsModifier= IptvTestClientApiCapsMod.exe
|
|
9 |
[EndStifSettings]
|
|
10 |
|
|
11 |
[Define]
|
|
12 |
INCLUDE c:\testframework\VCXConsts.inc
|
|
13 |
INCLUDE c:\testframework\VCXErrors.inc
|
|
14 |
INCLUDE c:\testframework\VCXVodContentApiTest.inc
|
|
15 |
INCLUDE c:\testframework\VCXServiceNames.inc
|
|
16 |
INCLUDE c:\testframework\VCXServiceUpdating.inc
|
|
17 |
[Enddefine]
|
|
18 |
|
|
19 |
#------------------------------------------------------------------------------------
|
|
20 |
#
|
|
21 |
# Setup services in service database and delete the EPG db.
|
|
22 |
#
|
|
23 |
#------------------------------------------------------------------------------------
|
|
24 |
[Test]
|
|
25 |
title ET11099 <not a test> Setup vod test services
|
|
26 |
|
|
27 |
create VCXTestUtilModule Util
|
|
28 |
// Copies some known 3G AP to "Internet" destination with "Internet" name for the AP.
|
|
29 |
Util CopyMethod "Internet" "Internet" "Internet"
|
|
30 |
Util SetMethodPriority "Internet" 3G_AP 0
|
|
31 |
Util SetUsedDestination "Internet"
|
|
32 |
// Disable connection dialog for "Internet" destination.
|
|
33 |
Util SetConnectionMethodIntAttribute "Internet" "Internet" 507 2 // 507 is ECmSeamlessnessLevel
|
|
34 |
Util SetDefaultIapCenrep
|
|
35 |
delete Util
|
|
36 |
|
|
37 |
pause PAUSE
|
|
38 |
create VCXServiceManagementApiTest ServUtil
|
|
39 |
ServUtil Create
|
|
40 |
ServUtil DeleteAllServices SYNC
|
|
41 |
|
|
42 |
ServUtil AddHardCodedService SYNC SERVICE_0 3G_AP 1 0 // OOPS
|
|
43 |
ServUtil AddHardCodedService SYNC SERVICE_1 3G_AP 1 1 // NokiaVideos
|
|
44 |
ServUtil AddHardCodedService SYNC SERVICE_10 3G_AP 1 2 // NSeries
|
|
45 |
ServUtil AddHardCodedService SYNC SERVICE_2 3G_AP 1 3 // Rocketboom
|
|
46 |
ServUtil AddHardCodedService SYNC SERVICE_3 3G_AP 1 4 // YLE Mediasali
|
|
47 |
ServUtil AddHardCodedService SYNC SERVICE_4 3G_AP 1 5 // Kärppäkanava
|
|
48 |
ServUtil AddHardCodedService SYNC SERVICE_5 3G_AP 1 6 // Rocketboom5
|
|
49 |
ServUtil AddHardCodedService SYNC SERVICE_6 3G_AP 1 7 // OOPS6
|
|
50 |
ServUtil AddHardCodedService SYNC SERVICE_7 3G_AP 1 8 // NokiaVideos7
|
|
51 |
ServUtil AddHardCodedService SYNC SERVICE_8 3G_AP 1 9 // Rocketboom8
|
|
52 |
|
|
53 |
ServUtil UpdateServiceField SYNC SERVICE_0 ESetIapList WLAN_AP 1 3G_AP 1
|
|
54 |
ServUtil UpdateServiceField SYNC SERVICE_1 ESetIapList WLAN_AP 1 3G_AP 1
|
|
55 |
ServUtil UpdateServiceField SYNC SERVICE_2 ESetIapList WLAN_AP 1 3G_AP 1
|
|
56 |
ServUtil UpdateServiceField SYNC SERVICE_3 ESetIapList WLAN_AP 1 3G_AP 1
|
|
57 |
ServUtil UpdateServiceField SYNC SERVICE_4 ESetIapList WLAN_AP 1 3G_AP 1
|
|
58 |
ServUtil UpdateServiceField SYNC SERVICE_5 ESetIapList WLAN_AP 1 3G_AP 1
|
|
59 |
ServUtil UpdateServiceField SYNC SERVICE_6 ESetIapList WLAN_AP 1 3G_AP 1
|
|
60 |
ServUtil UpdateServiceField SYNC SERVICE_7 ESetIapList WLAN_AP 1 3G_AP 1
|
|
61 |
ServUtil UpdateServiceField SYNC SERVICE_8 ESetIapList WLAN_AP 1 3G_AP 1
|
|
62 |
ServUtil UpdateServiceField SYNC SERVICE_10 ESetIapList WLAN_AP 1 3G_AP 1
|
|
63 |
|
|
64 |
// EXTRA_SERVICE_9 is reserved for cases to change it's address at will
|
|
65 |
|
|
66 |
ServUtil AddHardCodedService SYNC SERVICE_9 3G_AP 1 10 // OOPS9
|
|
67 |
ServUtil UpdateServiceField SYNC SERVICE_9 EAddress "http:\/\/193.65.182.78/multiurl.xml"
|
|
68 |
ServUtil UpdateServiceField SYNC SERVICE_9 EName EXTRA_SERVICE_1
|
|
69 |
|
|
70 |
ServUtil AddHardCodedService SYNC SERVICE_9 3G_AP 1 10 // OOPS9
|
|
71 |
ServUtil UpdateServiceField SYNC SERVICE_9 EAddress "http:\/\/193.65.182.78/mimetype_tests/allmimetypes.xml"
|
|
72 |
ServUtil UpdateServiceField SYNC SERVICE_9 EName EXTRA_SERVICE_2
|
|
73 |
|
|
74 |
ServUtil AddHardCodedService SYNC SERVICE_9 3G_AP 1 10
|
|
75 |
ServUtil UpdateServiceField SYNC SERVICE_9 EAddress "http:\/\/193.65.182.78/preview.xml"
|
|
76 |
ServUtil UpdateServiceField SYNC SERVICE_9 EName EXTRA_SERVICE_3
|
|
77 |
|
|
78 |
ServUtil AddHardCodedService SYNC SERVICE_9 3G_AP 1 10
|
|
79 |
ServUtil UpdateServiceField SYNC SERVICE_9 EAddress "http:\/\/193.65.182.78/ecg_parental_control.xml"
|
|
80 |
ServUtil UpdateServiceField SYNC SERVICE_9 EName EXTRA_SERVICE_4
|
|
81 |
|
|
82 |
ServUtil AddHardCodedService SYNC SERVICE_9 3G_AP 1 10
|
|
83 |
ServUtil UpdateServiceField SYNC SERVICE_9 EAddress "http:\/\/193.65.182.78/dvbtest/xmltv/xmltv_1day.xml"
|
|
84 |
ServUtil UpdateServiceField SYNC SERVICE_9 EName EXTRA_SERVICE_5
|
|
85 |
|
|
86 |
ServUtil GetServices SYNC 0 250
|
|
87 |
|
|
88 |
ServUtil Destroy
|
|
89 |
delete ServUtil
|
|
90 |
pause 30000
|
|
91 |
[Endtest]
|
|
92 |
|
|
93 |
#------------------------------------------------------------------------------------
|
|
94 |
#
|
|
95 |
# Check that updating ecg works
|
|
96 |
#
|
|
97 |
# CaseClass: core
|
|
98 |
#------------------------------------------------------------------------------------
|
|
99 |
[Test]
|
|
100 |
title ET11000 UpdateEcg SERVICE_0
|
|
101 |
create VCXTestUtilModule Util
|
|
102 |
Util CreateMobilecrashWatcher
|
|
103 |
pause PAUSE
|
|
104 |
create VCXVodContentApiTest test
|
|
105 |
test EnableThumbnails
|
|
106 |
test DeleteEpgDb
|
|
107 |
test Create SERVICE_0
|
|
108 |
test SelectIap DEFAULT_AP
|
|
109 |
test UpdateEcg
|
|
110 |
waittestclass test
|
|
111 |
test Destroy
|
|
112 |
delete test
|
|
113 |
Util CheckMobilecrashes
|
|
114 |
delete Util
|
|
115 |
[Endtest]
|
|
116 |
|
|
117 |
#------------------------------------------------------------------------------------
|
|
118 |
#
|
|
119 |
# Check that CIptvVodContentClient parses data correctly from RSS XML file and ecg db
|
|
120 |
#
|
|
121 |
# CaseClass: core
|
|
122 |
#------------------------------------------------------------------------------------
|
|
123 |
[Test]
|
|
124 |
title ET11001 GetEcgList SERVICE_0
|
|
125 |
create VCXTestUtilModule Util
|
|
126 |
Util CreateMobilecrashWatcher
|
|
127 |
pause PAUSE
|
|
128 |
create VCXVodContentApiTest test
|
|
129 |
test Create SERVICE_0
|
|
130 |
test EnableVerifying ET11001
|
|
131 |
test SelectIap DEFAULT_AP
|
|
132 |
test GetEcgList 1 "" 0 10
|
|
133 |
test Destroy
|
|
134 |
delete test
|
|
135 |
Util CheckMobilecrashes
|
|
136 |
delete Util
|
|
137 |
[Endtest]
|
|
138 |
|
|
139 |
#------------------------------------------------------------------------------------
|
|
140 |
#
|
|
141 |
# Check that CIptvVodContentClient parses data correctly from RSS XML file and ecg db
|
|
142 |
#
|
|
143 |
# CaseClass: core
|
|
144 |
#------------------------------------------------------------------------------------
|
|
145 |
[Test]
|
|
146 |
title ET11002 EcgCategoryList SERVICE_0
|
|
147 |
create VCXTestUtilModule Util
|
|
148 |
Util CreateMobilecrashWatcher
|
|
149 |
pause PAUSE
|
|
150 |
create VCXVodContentApiTest test
|
|
151 |
test Create SERVICE_0
|
|
152 |
test EnableVerifying ET11002
|
|
153 |
test SelectIap DEFAULT_AP
|
|
154 |
test EcgCategoryList 0
|
|
155 |
test Destroy
|
|
156 |
delete test
|
|
157 |
Util CheckMobilecrashes
|
|
158 |
delete Util
|
|
159 |
[Endtest]
|
|
160 |
|
|
161 |
#------------------------------------------------------------------------------------
|
|
162 |
#
|
|
163 |
# Check that CIptvVodContentClient parses data correctly from RSS XML file and ecg db
|
|
164 |
#
|
|
165 |
# CaseClass: core
|
|
166 |
#------------------------------------------------------------------------------------
|
|
167 |
[Test]
|
|
168 |
title ET11003 EcgEcgAllList SERVICE_0
|
|
169 |
create VCXTestUtilModule Util
|
|
170 |
Util CreateMobilecrashWatcher
|
|
171 |
pause PAUSE
|
|
172 |
create VCXVodContentApiTest test
|
|
173 |
test Create SERVICE_0
|
|
174 |
test EnableVerifying ET11003
|
|
175 |
test SelectIap DEFAULT_AP
|
|
176 |
test EcgEcgAllList "" 0 5
|
|
177 |
test Destroy
|
|
178 |
delete test
|
|
179 |
Util CheckMobilecrashes
|
|
180 |
delete Util
|
|
181 |
[Endtest]
|
|
182 |
|
|
183 |
#------------------------------------------------------------------------------------
|
|
184 |
#
|
|
185 |
# Check that CIptvVodContentClient parses data correctly from RSS XML file and ecg db
|
|
186 |
#
|
|
187 |
# CaseClass: core
|
|
188 |
#------------------------------------------------------------------------------------
|
|
189 |
[Test]
|
|
190 |
title ET11004 CategoryDetails SERVICE_0
|
|
191 |
create VCXTestUtilModule Util
|
|
192 |
Util CreateMobilecrashWatcher
|
|
193 |
pause PAUSE
|
|
194 |
create VCXVodContentApiTest test
|
|
195 |
test Create SERVICE_0
|
|
196 |
test EnableVerifying ET11004
|
|
197 |
test SelectIap DEFAULT_AP
|
|
198 |
test CategoryDetails 1
|
|
199 |
test Destroy
|
|
200 |
delete test
|
|
201 |
Util CheckMobilecrashes
|
|
202 |
delete Util
|
|
203 |
[Endtest]
|
|
204 |
|
|
205 |
#------------------------------------------------------------------------------------
|
|
206 |
#
|
|
207 |
# Check that CIptvVodContentClient returns parentCategoryId correctly
|
|
208 |
#
|
|
209 |
# CaseClass: core
|
|
210 |
#------------------------------------------------------------------------------------
|
|
211 |
[Test]
|
|
212 |
title ET11005 ParentCategory SERVICE_0
|
|
213 |
create VCXTestUtilModule Util
|
|
214 |
Util CreateMobilecrashWatcher
|
|
215 |
pause PAUSE
|
|
216 |
create VCXVodContentApiTest test
|
|
217 |
test Create SERVICE_0
|
|
218 |
test SelectIap DEFAULT_AP
|
|
219 |
test ParentCategory 0
|
|
220 |
test Destroy
|
|
221 |
delete test
|
|
222 |
Util CheckMobilecrashes
|
|
223 |
delete Util
|
|
224 |
[Endtest]
|
|
225 |
|
|
226 |
#------------------------------------------------------------------------------------
|
|
227 |
#
|
|
228 |
# Check that CIptvVodContentClient parses data correctly from RSS XML file and ecg db
|
|
229 |
#
|
|
230 |
# CaseClass: core
|
|
231 |
#------------------------------------------------------------------------------------
|
|
232 |
[Test]
|
|
233 |
title ET11006 ContentDetailsList SERVICE_0
|
|
234 |
create VCXTestUtilModule Util
|
|
235 |
Util CreateMobilecrashWatcher
|
|
236 |
pause PAUSE
|
|
237 |
create VCXVodContentApiTest test
|
|
238 |
test Create SERVICE_0
|
|
239 |
test EnableVerifying ET11006
|
|
240 |
test SelectIap DEFAULT_AP
|
|
241 |
test ContentDetailsList 0
|
|
242 |
test Destroy
|
|
243 |
delete test
|
|
244 |
Util CheckMobilecrashes
|
|
245 |
delete Util
|
|
246 |
[Endtest]
|
|
247 |
|
|
248 |
#------------------------------------------------------------------------------------
|
|
249 |
#
|
|
250 |
# Test CIptvVodContentClient::SetLastPositionL
|
|
251 |
#
|
|
252 |
# CaseClass: core
|
|
253 |
#------------------------------------------------------------------------------------
|
|
254 |
[Test]
|
|
255 |
title ET11047 SetLastPosition SERVICE_0
|
|
256 |
create VCXTestUtilModule Util
|
|
257 |
Util CreateMobilecrashWatcher
|
|
258 |
pause PAUSE
|
|
259 |
create VCXVodContentApiTest test
|
|
260 |
test Create SERVICE_0
|
|
261 |
test SetLastPosition 0 0 0
|
|
262 |
test SetLastPosition 0 0 500
|
|
263 |
test Destroy
|
|
264 |
delete test
|
|
265 |
Util CheckMobilecrashes
|
|
266 |
delete Util
|
|
267 |
[Endtest]
|
|
268 |
|
|
269 |
#------------------------------------------------------------------------------------
|
|
270 |
#
|
|
271 |
# Check that updating ECG again works
|
|
272 |
#
|
|
273 |
# CaseClass: core
|
|
274 |
#------------------------------------------------------------------------------------
|
|
275 |
[Test]
|
|
276 |
title ET11029 UpdateEcg again SERVICE_0
|
|
277 |
create VCXTestUtilModule Util
|
|
278 |
Util CreateMobilecrashWatcher
|
|
279 |
pause PAUSE
|
|
280 |
create VCXVodContentApiTest test
|
|
281 |
test Create SERVICE_0
|
|
282 |
test SelectIap DEFAULT_AP
|
|
283 |
test UpdateEcg
|
|
284 |
waittestclass test
|
|
285 |
test EnableVerifying ET11029
|
|
286 |
test VerifyAllCategoryContent 0
|
|
287 |
test Destroy
|
|
288 |
delete test
|
|
289 |
Util CheckMobilecrashes
|
|
290 |
delete Util
|
|
291 |
[Endtest]
|
|
292 |
|
|
293 |
#------------------------------------------------------------------------------------
|
|
294 |
#
|
|
295 |
# Check that updating ecg works
|
|
296 |
#
|
|
297 |
#------------------------------------------------------------------------------------
|
|
298 |
[Test]
|
|
299 |
title ET11007 UpdateEcg SERVICE_1
|
|
300 |
create VCXTestUtilModule Util
|
|
301 |
Util CreateMobilecrashWatcher
|
|
302 |
pause PAUSE
|
|
303 |
create VCXVodContentApiTest test
|
|
304 |
test Create SERVICE_1
|
|
305 |
test SelectIap DEFAULT_AP
|
|
306 |
test UpdateEcg
|
|
307 |
waittestclass test
|
|
308 |
test Destroy
|
|
309 |
delete test
|
|
310 |
Util CheckMobilecrashes
|
|
311 |
delete Util
|
|
312 |
[Endtest]
|
|
313 |
|
|
314 |
#------------------------------------------------------------------------------------
|
|
315 |
#
|
|
316 |
# Check that CIptvVodContentClient parses data correctly from RSS XML file and ecg db
|
|
317 |
#
|
|
318 |
#------------------------------------------------------------------------------------
|
|
319 |
[Test]
|
|
320 |
title ET11008 GetEcgList SERVICE_1
|
|
321 |
create VCXTestUtilModule Util
|
|
322 |
Util CreateMobilecrashWatcher
|
|
323 |
pause PAUSE
|
|
324 |
create VCXVodContentApiTest test
|
|
325 |
test Create SERVICE_1
|
|
326 |
test EnableVerifying ET11008
|
|
327 |
test SelectIap DEFAULT_AP
|
|
328 |
test GetEcgList 1 "" 0 10
|
|
329 |
test Verify ET11008
|
|
330 |
test Destroy
|
|
331 |
delete test
|
|
332 |
Util CheckMobilecrashes
|
|
333 |
delete Util
|
|
334 |
[Endtest]
|
|
335 |
|
|
336 |
#------------------------------------------------------------------------------------
|
|
337 |
#
|
|
338 |
# Check that CIptvVodContentClient parses data correctly from RSS XML file and ecg db
|
|
339 |
#
|
|
340 |
#------------------------------------------------------------------------------------
|
|
341 |
[Test]
|
|
342 |
title ET11009 EcgCategoryList SERVICE_1
|
|
343 |
create VCXTestUtilModule Util
|
|
344 |
Util CreateMobilecrashWatcher
|
|
345 |
pause PAUSE
|
|
346 |
create VCXVodContentApiTest test
|
|
347 |
test Create SERVICE_1
|
|
348 |
test EnableVerifying ET11009
|
|
349 |
test SelectIap DEFAULT_AP
|
|
350 |
test EcgCategoryList 0
|
|
351 |
test Verify ET11009
|
|
352 |
test Destroy
|
|
353 |
delete test
|
|
354 |
Util CheckMobilecrashes
|
|
355 |
delete Util
|
|
356 |
[Endtest]
|
|
357 |
|
|
358 |
#------------------------------------------------------------------------------------
|
|
359 |
#
|
|
360 |
# Check that CIptvVodContentClient parses data correctly from RSS XML file and ecg db
|
|
361 |
#
|
|
362 |
#------------------------------------------------------------------------------------
|
|
363 |
[Test]
|
|
364 |
title ET11010 EcgEcgAllList SERVICE_1
|
|
365 |
create VCXTestUtilModule Util
|
|
366 |
Util CreateMobilecrashWatcher
|
|
367 |
pause PAUSE
|
|
368 |
create VCXVodContentApiTest test
|
|
369 |
test Create SERVICE_1
|
|
370 |
test EnableVerifying ET11010
|
|
371 |
test SelectIap DEFAULT_AP
|
|
372 |
test EcgEcgAllList "" 0 5
|
|
373 |
test Verify ET11010
|
|
374 |
test Destroy
|
|
375 |
delete test
|
|
376 |
Util CheckMobilecrashes
|
|
377 |
delete Util
|
|
378 |
[Endtest]
|
|
379 |
|
|
380 |
#------------------------------------------------------------------------------------
|
|
381 |
#
|
|
382 |
# Check that CIptvVodContentClient parses data correctly from RSS XML file and ecg db
|
|
383 |
#
|
|
384 |
#------------------------------------------------------------------------------------
|
|
385 |
[Test]
|
|
386 |
title ET11011 CategoryDetails SERVICE_1
|
|
387 |
create VCXTestUtilModule Util
|
|
388 |
Util CreateMobilecrashWatcher
|
|
389 |
pause PAUSE
|
|
390 |
create VCXVodContentApiTest test
|
|
391 |
test Create SERVICE_1
|
|
392 |
test EnableVerifying ET11011
|
|
393 |
test SelectIap DEFAULT_AP
|
|
394 |
test CategoryDetails 1
|
|
395 |
test Verify ET11011
|
|
396 |
test Destroy
|
|
397 |
delete test
|
|
398 |
Util CheckMobilecrashes
|
|
399 |
delete Util
|
|
400 |
[Endtest]
|
|
401 |
|
|
402 |
#------------------------------------------------------------------------------------
|
|
403 |
#
|
|
404 |
# Check that CIptvVodContentClient returns parentCategoryId correctly
|
|
405 |
#
|
|
406 |
#------------------------------------------------------------------------------------
|
|
407 |
[Test]
|
|
408 |
title ET11012 ParentCategory SERVICE_1
|
|
409 |
create VCXTestUtilModule Util
|
|
410 |
Util CreateMobilecrashWatcher
|
|
411 |
pause PAUSE
|
|
412 |
create VCXVodContentApiTest test
|
|
413 |
test Create SERVICE_1
|
|
414 |
test SelectIap DEFAULT_AP
|
|
415 |
test ParentCategory 0
|
|
416 |
test Destroy
|
|
417 |
delete test
|
|
418 |
Util CheckMobilecrashes
|
|
419 |
delete Util
|
|
420 |
[Endtest]
|
|
421 |
|
|
422 |
#------------------------------------------------------------------------------------
|
|
423 |
#
|
|
424 |
# Check that CIptvVodContentClient parses data correctly from RSS XML file and ecg db
|
|
425 |
#
|
|
426 |
#------------------------------------------------------------------------------------
|
|
427 |
[Test]
|
|
428 |
title ET11013 ContentDetailsList SERVICE_1
|
|
429 |
create VCXTestUtilModule Util
|
|
430 |
Util CreateMobilecrashWatcher
|
|
431 |
pause PAUSE
|
|
432 |
create VCXVodContentApiTest test
|
|
433 |
test Create SERVICE_1
|
|
434 |
test EnableVerifying ET11013
|
|
435 |
test SelectIap DEFAULT_AP
|
|
436 |
test ContentDetailsList 0
|
|
437 |
test Verify ET11013
|
|
438 |
test Destroy
|
|
439 |
delete test
|
|
440 |
Util CheckMobilecrashes
|
|
441 |
delete Util
|
|
442 |
[Endtest]
|
|
443 |
|
|
444 |
#------------------------------------------------------------------------------------
|
|
445 |
#
|
|
446 |
# Check that updating ECG again works
|
|
447 |
#
|
|
448 |
#------------------------------------------------------------------------------------
|
|
449 |
[Test]
|
|
450 |
title ET11030 UpdateEcg again SERVICE_1
|
|
451 |
create VCXTestUtilModule Util
|
|
452 |
Util CreateMobilecrashWatcher
|
|
453 |
pause PAUSE
|
|
454 |
create VCXVodContentApiTest test
|
|
455 |
test Create SERVICE_1
|
|
456 |
test SelectIap DEFAULT_AP
|
|
457 |
test UpdateEcg
|
|
458 |
waittestclass test
|
|
459 |
test VerifyAllCategoryContent 0
|
|
460 |
test Destroy
|
|
461 |
delete test
|
|
462 |
Util CheckMobilecrashes
|
|
463 |
delete Util
|
|
464 |
[Endtest]
|
|
465 |
|
|
466 |
#------------------------------------------------------------------------------------
|
|
467 |
#
|
|
468 |
# Check that updating ecg works
|
|
469 |
#
|
|
470 |
#------------------------------------------------------------------------------------
|
|
471 |
[Test]
|
|
472 |
title ET11014 UpdateEcg SERVICE_10 for complex RSS XML file with multiple categories
|
|
473 |
create VCXTestUtilModule Util
|
|
474 |
Util CreateMobilecrashWatcher
|
|
475 |
pause PAUSE
|
|
476 |
create VCXVodContentApiTest test
|
|
477 |
test Create SERVICE_10
|
|
478 |
test SelectIap DEFAULT_AP
|
|
479 |
test UpdateEcg
|
|
480 |
waittestclass test
|
|
481 |
test Destroy
|
|
482 |
delete test
|
|
483 |
Util CheckMobilecrashes
|
|
484 |
delete Util
|
|
485 |
[Endtest]
|
|
486 |
|
|
487 |
#------------------------------------------------------------------------------------
|
|
488 |
#
|
|
489 |
# Check that CIptvVodContentClient parses data correctly from complex RSS XML file with multiple categories and ecg db.
|
|
490 |
#
|
|
491 |
#------------------------------------------------------------------------------------
|
|
492 |
[Test]
|
|
493 |
title ET11015 GetEcgList SERVICE_10
|
|
494 |
create VCXTestUtilModule Util
|
|
495 |
Util CreateMobilecrashWatcher
|
|
496 |
pause PAUSE
|
|
497 |
create VCXVodContentApiTest test
|
|
498 |
test Create SERVICE_10
|
|
499 |
test SelectIap DEFAULT_AP
|
|
500 |
test GetEcgList 1 "" 0 10
|
|
501 |
test Destroy
|
|
502 |
delete test
|
|
503 |
Util CheckMobilecrashes
|
|
504 |
delete Util
|
|
505 |
[Endtest]
|
|
506 |
|
|
507 |
#------------------------------------------------------------------------------------
|
|
508 |
#
|
|
509 |
# Check that CIptvVodContentClient parses data correctly from complex RSS XML file with multiple categories and ecg db.
|
|
510 |
#
|
|
511 |
#------------------------------------------------------------------------------------
|
|
512 |
[Test]
|
|
513 |
title ET11016 AllContent SERVICE_10
|
|
514 |
create VCXTestUtilModule Util
|
|
515 |
Util CreateMobilecrashWatcher
|
|
516 |
pause PAUSE
|
|
517 |
create VCXVodContentApiTest test
|
|
518 |
test Create SERVICE_10
|
|
519 |
test EnableVerifying ET11016
|
|
520 |
test SelectIap DEFAULT_AP
|
|
521 |
test VerifyAllCategoryContent 0
|
|
522 |
test Verify ET11016
|
|
523 |
test Destroy
|
|
524 |
delete test
|
|
525 |
Util CheckMobilecrashes
|
|
526 |
delete Util
|
|
527 |
[Endtest]
|
|
528 |
|
|
529 |
#------------------------------------------------------------------------------------
|
|
530 |
#
|
|
531 |
# Check that CIptvVodContentClient request GetEcgList returns correct content when using search parameter
|
|
532 |
#
|
|
533 |
#------------------------------------------------------------------------------------
|
|
534 |
[Test]
|
|
535 |
title ET11017 GetEcgList search 1 SERVICE_10
|
|
536 |
create VCXTestUtilModule Util
|
|
537 |
Util CreateMobilecrashWatcher
|
|
538 |
pause PAUSE
|
|
539 |
create VCXVodContentApiTest test
|
|
540 |
test Create SERVICE_10
|
|
541 |
test SelectIap DEFAULT_AP
|
|
542 |
test EnableVerifying ET11017
|
|
543 |
test GetEcgList 1 "Amazing Spaces - Adam" 0 10
|
|
544 |
test GetEcgList 3 "Nokia B" 0 10
|
|
545 |
test GetEcgList 5 "Wedding" 0 10
|
|
546 |
test Verify ET11017
|
|
547 |
test Destroy
|
|
548 |
delete test
|
|
549 |
Util CheckMobilecrashes
|
|
550 |
delete Util
|
|
551 |
[Endtest]
|
|
552 |
|
|
553 |
#------------------------------------------------------------------------------------
|
|
554 |
#
|
|
555 |
# Check that CIptvVodContentClient parses data correctly from complex RSS XML file with multiple categories and ecg db.
|
|
556 |
#
|
|
557 |
#------------------------------------------------------------------------------------
|
|
558 |
[Test]
|
|
559 |
title ET11018 EcgCategoryList SERVICE_10
|
|
560 |
create VCXTestUtilModule Util
|
|
561 |
Util CreateMobilecrashWatcher
|
|
562 |
pause PAUSE
|
|
563 |
create VCXVodContentApiTest test
|
|
564 |
test Create SERVICE_10
|
|
565 |
test EnableVerifying ET11018
|
|
566 |
test SelectIap DEFAULT_AP
|
|
567 |
test EcgCategoryList 0
|
|
568 |
test Destroy
|
|
569 |
delete test
|
|
570 |
Util CheckMobilecrashes
|
|
571 |
delete Util
|
|
572 |
[Endtest]
|
|
573 |
|
|
574 |
#------------------------------------------------------------------------------------
|
|
575 |
#
|
|
576 |
# Check that CIptvVodContentClient parses data correctly from complex RSS XML file with multiple categories and ecg db.
|
|
577 |
#
|
|
578 |
#------------------------------------------------------------------------------------
|
|
579 |
[Test]
|
|
580 |
title ET11019 EcgEcgAllList SERVICE_10
|
|
581 |
create VCXTestUtilModule Util
|
|
582 |
Util CreateMobilecrashWatcher
|
|
583 |
pause PAUSE
|
|
584 |
create VCXVodContentApiTest test
|
|
585 |
test Create SERVICE_10
|
|
586 |
test EnableVerifying ET11019
|
|
587 |
test SelectIap DEFAULT_AP
|
|
588 |
test EcgEcgAllList "" 0 50
|
|
589 |
test Destroy
|
|
590 |
delete test
|
|
591 |
Util CheckMobilecrashes
|
|
592 |
delete Util
|
|
593 |
[Endtest]
|
|
594 |
|
|
595 |
#------------------------------------------------------------------------------------
|
|
596 |
#
|
|
597 |
# Check that CIptvVodContentClient request GetEcgAllList returns correct content when using search parameter
|
|
598 |
#
|
|
599 |
#------------------------------------------------------------------------------------
|
|
600 |
[Test]
|
|
601 |
title ET11023 EcgEcgAllList search SERVICE_10
|
|
602 |
create VCXTestUtilModule Util
|
|
603 |
Util CreateMobilecrashWatcher
|
|
604 |
pause PAUSE
|
|
605 |
create VCXVodContentApiTest test
|
|
606 |
test Create SERVICE_10
|
|
607 |
test SelectIap DEFAULT_AP
|
|
608 |
test EcgEcgAllList "Amazing Spaces - Adam" 0 10
|
|
609 |
test EcgEcgAllList "Nokia B" 0 10
|
|
610 |
test EcgEcgAllList "Wedding" 0 10
|
|
611 |
test Destroy
|
|
612 |
delete test
|
|
613 |
Util CheckMobilecrashes
|
|
614 |
delete Util
|
|
615 |
[Endtest]
|
|
616 |
|
|
617 |
#------------------------------------------------------------------------------------
|
|
618 |
#
|
|
619 |
# Check that CIptvVodContentClient parses data correctly from complex RSS XML file with multiple categories and ecg db.
|
|
620 |
#
|
|
621 |
#------------------------------------------------------------------------------------
|
|
622 |
[Test]
|
|
623 |
title ET11020 CategoryDetails SERVICE_10
|
|
624 |
create VCXTestUtilModule Util
|
|
625 |
Util CreateMobilecrashWatcher
|
|
626 |
pause PAUSE
|
|
627 |
create VCXVodContentApiTest test
|
|
628 |
test Create SERVICE_10
|
|
629 |
test SelectIap DEFAULT_AP
|
|
630 |
test CategoryDetails 1
|
|
631 |
test Destroy
|
|
632 |
delete test
|
|
633 |
Util CheckMobilecrashes
|
|
634 |
delete Util
|
|
635 |
[Endtest]
|
|
636 |
|
|
637 |
#------------------------------------------------------------------------------------
|
|
638 |
#
|
|
639 |
# Check that CIptvVodContentClient returns parentCategoryId correctly
|
|
640 |
#
|
|
641 |
#------------------------------------------------------------------------------------
|
|
642 |
[Test]
|
|
643 |
title ET11021 ParentCategory SERVICE_10
|
|
644 |
create VCXTestUtilModule Util
|
|
645 |
Util CreateMobilecrashWatcher
|
|
646 |
pause PAUSE
|
|
647 |
create VCXVodContentApiTest test
|
|
648 |
test Create SERVICE_10
|
|
649 |
test SelectIap DEFAULT_AP
|
|
650 |
test ParentCategory 0
|
|
651 |
test Destroy
|
|
652 |
delete test
|
|
653 |
Util CheckMobilecrashes
|
|
654 |
delete Util
|
|
655 |
[Endtest]
|
|
656 |
|
|
657 |
#------------------------------------------------------------------------------------
|
|
658 |
#
|
|
659 |
# Check that CIptvVodContentClient parses data correctly from complex RSS XML file with multiple categories and ecg db.
|
|
660 |
#
|
|
661 |
#------------------------------------------------------------------------------------
|
|
662 |
[Test]
|
|
663 |
title ET11022 ContentDetailsList SERVICE_10
|
|
664 |
create VCXTestUtilModule Util
|
|
665 |
Util CreateMobilecrashWatcher
|
|
666 |
pause PAUSE
|
|
667 |
create VCXVodContentApiTest test
|
|
668 |
test Create SERVICE_10
|
|
669 |
test SelectIap DEFAULT_AP
|
|
670 |
test ContentDetailsList 0
|
|
671 |
test Destroy
|
|
672 |
delete test
|
|
673 |
Util CheckMobilecrashes
|
|
674 |
delete Util
|
|
675 |
[Endtest]
|
|
676 |
|
|
677 |
#------------------------------------------------------------------------------------
|
|
678 |
#
|
|
679 |
# Check that CIptvVodContentClient parses data correctly from RSS XML file and ecg db
|
|
680 |
#
|
|
681 |
#------------------------------------------------------------------------------------
|
|
682 |
[Test]
|
|
683 |
title ET11025 EcgEcgAllList video range 1 SERVICE_10
|
|
684 |
create VCXTestUtilModule Util
|
|
685 |
Util CreateMobilecrashWatcher
|
|
686 |
pause PAUSE
|
|
687 |
create VCXVodContentApiTest test
|
|
688 |
test Create SERVICE_10
|
|
689 |
test SelectIap DEFAULT_AP
|
|
690 |
test EcgEcgAllList "" 5 2
|
|
691 |
test Destroy
|
|
692 |
delete test
|
|
693 |
Util CheckMobilecrashes
|
|
694 |
delete Util
|
|
695 |
[Endtest]
|
|
696 |
|
|
697 |
#------------------------------------------------------------------------------------
|
|
698 |
#
|
|
699 |
# Check that CIptvVodContentClient parses data correctly from RSS XML file and ecg db
|
|
700 |
#
|
|
701 |
#------------------------------------------------------------------------------------
|
|
702 |
[Test]
|
|
703 |
title ET11026 EcgEcgAllList video range 2 SERVICE_10
|
|
704 |
create VCXTestUtilModule Util
|
|
705 |
Util CreateMobilecrashWatcher
|
|
706 |
pause PAUSE
|
|
707 |
create VCXVodContentApiTest test
|
|
708 |
test Create SERVICE_10
|
|
709 |
test SelectIap DEFAULT_AP
|
|
710 |
test EcgEcgAllList "" 15 3
|
|
711 |
test Destroy
|
|
712 |
delete test
|
|
713 |
Util CheckMobilecrashes
|
|
714 |
delete Util
|
|
715 |
[Endtest]
|
|
716 |
|
|
717 |
#------------------------------------------------------------------------------------
|
|
718 |
#
|
|
719 |
# Check that CIptvVodContentClient parses data correctly from RSS XML file and ecg db
|
|
720 |
#
|
|
721 |
#------------------------------------------------------------------------------------
|
|
722 |
[Test]
|
|
723 |
title ET11027 EcgEcgAllList video range 3 SERVICE_10
|
|
724 |
create VCXTestUtilModule Util
|
|
725 |
Util CreateMobilecrashWatcher
|
|
726 |
pause PAUSE
|
|
727 |
create VCXVodContentApiTest test
|
|
728 |
test Create SERVICE_10
|
|
729 |
test SelectIap DEFAULT_AP
|
|
730 |
test EcgEcgAllList "" 500 10
|
|
731 |
test Destroy
|
|
732 |
delete test
|
|
733 |
Util CheckMobilecrashes
|
|
734 |
delete Util
|
|
735 |
[Endtest]
|
|
736 |
|
|
737 |
#------------------------------------------------------------------------------------
|
|
738 |
#
|
|
739 |
# Check that updating ECG again works
|
|
740 |
#
|
|
741 |
#------------------------------------------------------------------------------------
|
|
742 |
[Test]
|
|
743 |
title ET11031 UpdateEcg again SERVICE_10
|
|
744 |
create VCXTestUtilModule Util
|
|
745 |
Util CreateMobilecrashWatcher
|
|
746 |
pause PAUSE
|
|
747 |
create VCXVodContentApiTest test
|
|
748 |
test Create SERVICE_10
|
|
749 |
test SelectIap DEFAULT_AP
|
|
750 |
test UpdateEcg
|
|
751 |
waittestclass test
|
|
752 |
test Destroy
|
|
753 |
delete test
|
|
754 |
Util CheckMobilecrashes
|
|
755 |
delete Util
|
|
756 |
[Endtest]
|
|
757 |
|
|
758 |
#------------------------------------------------------------------------------------
|
|
759 |
#
|
|
760 |
# Check that updating ecg work
|
|
761 |
#
|
|
762 |
#------------------------------------------------------------------------------------
|
|
763 |
[Test]
|
|
764 |
title ET11024 UpdateEcg repeat request SERVICE_0
|
|
765 |
create VCXTestUtilModule Util
|
|
766 |
Util CreateMobilecrashWatcher
|
|
767 |
pause PAUSE
|
|
768 |
create VCXVodContentApiTest test
|
|
769 |
test DeleteEpgDb
|
|
770 |
test Create SERVICE_0
|
|
771 |
test SelectIap DEFAULT_AP
|
|
772 |
test UpdateEcg
|
|
773 |
pause 100
|
|
774 |
test SetSpecialAction EIgnoreUpdateNotStarted
|
|
775 |
test UpdateEcg
|
|
776 |
waittestclass test
|
|
777 |
test Destroy
|
|
778 |
delete test
|
|
779 |
Util CheckMobilecrashes
|
|
780 |
delete Util
|
|
781 |
[Endtest]
|
|
782 |
|
|
783 |
#------------------------------------------------------------------------------------
|
|
784 |
#
|
|
785 |
# Check that deleting the client while updating ECG works. Deleting causes cancel to the update request.
|
|
786 |
#
|
|
787 |
# CaseClass: core
|
|
788 |
#------------------------------------------------------------------------------------
|
|
789 |
[Test]
|
|
790 |
title ET11032 Delete client while updating ECG SERVICE_1
|
|
791 |
create VCXTestUtilModule Util
|
|
792 |
Util CreateMobilecrashWatcher
|
|
793 |
pause PAUSE
|
|
794 |
//------------------------------------------
|
|
795 |
// Delete while updating ECG
|
|
796 |
create VCXVodContentApiTest test
|
|
797 |
test DeleteEpgDb
|
|
798 |
test Create SERVICE_1
|
|
799 |
test SelectIap DEFAULT_AP
|
|
800 |
test UpdateEcg
|
|
801 |
Util WaitForConnectionActivity 3G_AP
|
|
802 |
waittestclass Util
|
|
803 |
pause 1000
|
|
804 |
test Destroy
|
|
805 |
delete test
|
|
806 |
delete Util
|
|
807 |
//------------------------------------------
|
|
808 |
// Get ECG details, fails
|
|
809 |
pause 2000
|
|
810 |
create VCXVodContentApiTest test
|
|
811 |
test Create SERVICE_1
|
|
812 |
test VerifyAllCategoryContent 0
|
|
813 |
allownextresult KIptvErrorVodNoIap // this will fail as there's no ECG in DB and no IAP selected when the client tries to start update
|
|
814 |
waittestclass test
|
|
815 |
test Destroy
|
|
816 |
delete test
|
|
817 |
//------------------------------------------
|
|
818 |
// Update ECG
|
|
819 |
pause 2000
|
|
820 |
create VCXVodContentApiTest test
|
|
821 |
test Create SERVICE_1
|
|
822 |
test SelectIap DEFAULT_AP
|
|
823 |
test UpdateEcg
|
|
824 |
waittestclass test
|
|
825 |
test Destroy
|
|
826 |
delete test
|
|
827 |
//------------------------------------------
|
|
828 |
// Delete while updating ECG
|
|
829 |
pause 2000
|
|
830 |
create VCXTestUtilModule Util
|
|
831 |
Util CreateMobilecrashWatcher
|
|
832 |
create VCXVodContentApiTest test
|
|
833 |
test Create SERVICE_1
|
|
834 |
test SelectIap DEFAULT_AP
|
|
835 |
test UpdateEcg
|
|
836 |
Util WaitForConnectionActivity 3G_AP
|
|
837 |
waittestclass Util
|
|
838 |
pause 1000
|
|
839 |
test Destroy
|
|
840 |
delete test
|
|
841 |
Util CheckMobilecrashes
|
|
842 |
delete Util
|
|
843 |
[Endtest]
|
|
844 |
|
|
845 |
#------------------------------------------------------------------------------------
|
|
846 |
#
|
|
847 |
# Check that getting the last update time for service ECG works
|
|
848 |
#
|
|
849 |
# CaseClass: core
|
|
850 |
#------------------------------------------------------------------------------------
|
|
851 |
[Test]
|
|
852 |
title ET11033 GetUpdateTime SERVICE_0
|
|
853 |
create VCXTestUtilModule Util
|
|
854 |
Util CreateMobilecrashWatcher
|
|
855 |
pause PAUSE
|
|
856 |
create VCXVodContentApiTest test
|
|
857 |
test DeleteEpgDb
|
|
858 |
test Create SERVICE_0
|
|
859 |
test GetUpdateTime // database is empty
|
|
860 |
test SelectIap DEFAULT_AP
|
|
861 |
test UpdateEcg
|
|
862 |
waittestclass test
|
|
863 |
test GetUpdateTime 1
|
|
864 |
test Destroy
|
|
865 |
delete test
|
|
866 |
Util CheckMobilecrashes
|
|
867 |
delete Util
|
|
868 |
[Endtest]
|
|
869 |
|
|
870 |
#------------------------------------------------------------------------------------
|
|
871 |
#
|
|
872 |
# Check that updating ECG works when service changes during previous ECG update
|
|
873 |
#
|
|
874 |
# CaseClass: core
|
|
875 |
#------------------------------------------------------------------------------------
|
|
876 |
[Test]
|
|
877 |
title ET11034 UpdateEcg after service has changed SERVICE_0
|
|
878 |
create VCXTestUtilModule Util
|
|
879 |
Util CreateMobilecrashWatcher
|
|
880 |
pause PAUSE
|
|
881 |
create VCXServiceManagementApiTest SMUtil
|
|
882 |
SMUtil Create
|
|
883 |
create VCXVodContentApiTest test
|
|
884 |
test DeleteEpgDb
|
|
885 |
|
|
886 |
SMUtil UpdateServiceField ASYNC SERVICE_0 EAddress "http:\/\/193.65.182.78/oops.xml"
|
|
887 |
|
|
888 |
test Create SERVICE_0
|
|
889 |
pause 2000
|
|
890 |
test EnableVerifying ET11034-1
|
|
891 |
test SelectIap DEFAULT_AP
|
|
892 |
// ECG is updated with old address
|
|
893 |
test UpdateEcg
|
|
894 |
SMUtil UpdateServiceField ASYNC SERVICE_0 EAddress "http:\/\/193.65.182.78/nseries.xml"
|
|
895 |
allownextresult EIptvDlGeneral
|
|
896 |
allownextresult KERRNONE
|
|
897 |
allownextresult KERRGENERAL
|
|
898 |
waittestclass test
|
|
899 |
test VerifyAllCategoryContent 0
|
|
900 |
test Destroy
|
|
901 |
|
|
902 |
pause PAUSE
|
|
903 |
|
|
904 |
test Create SERVICE_0
|
|
905 |
test EnableVerifying ET11034-2
|
|
906 |
test SelectIap DEFAULT_AP
|
|
907 |
// try again, this time ECG is updated with new address
|
|
908 |
test UpdateEcg
|
|
909 |
waittestclass test
|
|
910 |
test VerifyAllCategoryContent 0
|
|
911 |
test Verify ET11034-2
|
|
912 |
test Destroy
|
|
913 |
|
|
914 |
delete test
|
|
915 |
SMUtil Destroy
|
|
916 |
delete SMUtil
|
|
917 |
Util CheckMobilecrashes
|
|
918 |
delete Util
|
|
919 |
[Endtest]
|
|
920 |
|
|
921 |
|
|
922 |
#------------------------------------------------------------------------------------
|
|
923 |
#
|
|
924 |
# Test updating ECG with up to 2000 characters long URLs.
|
|
925 |
#
|
|
926 |
#------------------------------------------------------------------------------------
|
|
927 |
[Test]
|
|
928 |
title ET11038 UpdateEcg service with very long video URLs
|
|
929 |
create VCXTestUtilModule Util
|
|
930 |
Util CreateMobilecrashWatcher
|
|
931 |
pause PAUSE
|
|
932 |
|
|
933 |
create VCXServiceManagementApiTest SMUtil
|
|
934 |
SMUtil Create
|
|
935 |
SMUtil AddHardCodedService ASYNC SERVICE_9 3G_AP 1 10 // OOPS9
|
|
936 |
SMUtil UpdateServiceField ASYNC SERVICE_9 EAddress "http:\/\/193.65.182.78/2kurls.xml"
|
|
937 |
|
|
938 |
create VCXVodContentApiTest test
|
|
939 |
test Create SERVICE_9
|
|
940 |
test SelectIap DEFAULT_AP
|
|
941 |
test UpdateEcg
|
|
942 |
waittestclass test
|
|
943 |
test Destroy
|
|
944 |
delete test
|
|
945 |
|
|
946 |
SMUtil Destroy
|
|
947 |
delete SMUtil
|
|
948 |
Util CheckMobilecrashes
|
|
949 |
delete Util
|
|
950 |
[Endtest]
|
|
951 |
|
|
952 |
#------------------------------------------------------------------------------------
|
|
953 |
#
|
|
954 |
# Test updating ECG with 2000 characters long URLs.
|
|
955 |
#
|
|
956 |
#------------------------------------------------------------------------------------
|
|
957 |
#[Test]
|
|
958 |
#title ET11039 UpdateEcg service with 2k long service URL
|
|
959 |
#pause PAUSE
|
|
960 |
|
|
961 |
#create VCXServiceManagementApiTest SMUtil
|
|
962 |
#SMUtil Create
|
|
963 |
#SMUtil AddHardCodedService ASYNC SERVICE_9 3G_AP 1 10 // OOPS9
|
|
964 |
#SMUtil UpdateServiceField ASYNC SERVICE_9 EAddress EAddress_2kLongUrl
|
|
965 |
|
|
966 |
#create VCXVodContentApiTest test
|
|
967 |
#test Create SERVICE_9
|
|
968 |
#test SelectIap DEFAULT_AP
|
|
969 |
#allownextresult -4 // too long url, 256 is maximum
|
|
970 |
#test UpdateEcg
|
|
971 |
#test Destroy
|
|
972 |
#delete test
|
|
973 |
|
|
974 |
#SMUtil Destroy
|
|
975 |
#delete SMUtil
|
|
976 |
#[Endtest]
|
|
977 |
|
|
978 |
#------------------------------------------------------------------------------------
|
|
979 |
#
|
|
980 |
# Test updating ECG with 2000 characters long URLs and 256 chars long service xml file name
|
|
981 |
#
|
|
982 |
#------------------------------------------------------------------------------------
|
|
983 |
#[Test]
|
|
984 |
#title ET11040 UpdateEcg service with 256 chars long service xml filename
|
|
985 |
#pause PAUSE
|
|
986 |
|
|
987 |
#create VCXServiceManagementApiTest SMUtil
|
|
988 |
#SMUtil Create
|
|
989 |
#SMUtil AddHardCodedService ASYNC SERVICE_9 3G_AP 1 10 // OOPS9
|
|
990 |
#SMUtil UpdateServiceField ASYNC SERVICE_9 EAddress EAddress_256LongFileName
|
|
991 |
#
|
|
992 |
#create VCXVodContentApiTest test
|
|
993 |
#test Create SERVICE_9
|
|
994 |
#test SelectIap DEFAULT_AP
|
|
995 |
#test UpdateEcg
|
|
996 |
#waittestclass test
|
|
997 |
#test EnableVerifying ET11040
|
|
998 |
#test VerifyAllCategoryContent 0
|
|
999 |
#test Verify ET11040
|
|
1000 |
#test Destroy
|
|
1001 |
#delete test
|
|
1002 |
|
|
1003 |
#SMUtil Destroy
|
|
1004 |
#delete SMUtil
|
|
1005 |
#[Endtest]
|
|
1006 |
|
|
1007 |
#------------------------------------------------------------------------------------
|
|
1008 |
#
|
|
1009 |
# Test updating ECG for service with videos which have different full and preview contents
|
|
1010 |
#
|
|
1011 |
#------------------------------------------------------------------------------------
|
|
1012 |
[Test]
|
|
1013 |
title ET11042 Videos with different full and preview contents
|
|
1014 |
create VCXTestUtilModule Util
|
|
1015 |
Util CreateMobilecrashWatcher
|
|
1016 |
pause PAUSE
|
|
1017 |
create VCXVodContentApiTest test
|
|
1018 |
test Create EXTRA_SERVICE_3
|
|
1019 |
test SelectIap DEFAULT_AP
|
|
1020 |
test UpdateEcg
|
|
1021 |
waittestclass test
|
|
1022 |
test EnableVerifying ET11042
|
|
1023 |
test VerifyAllCategoryContent 0
|
|
1024 |
test Verify ET11042
|
|
1025 |
test Destroy
|
|
1026 |
delete test
|
|
1027 |
Util CheckMobilecrashes
|
|
1028 |
delete Util
|
|
1029 |
[Endtest]
|
|
1030 |
|
|
1031 |
#------------------------------------------------------------------------------------
|
|
1032 |
#
|
|
1033 |
# Test parental control
|
|
1034 |
#
|
|
1035 |
#------------------------------------------------------------------------------------
|
|
1036 |
[Test]
|
|
1037 |
title ET11043 UpdateEcg, service with media rating
|
|
1038 |
create VCXTestUtilModule Util
|
|
1039 |
Util CreateMobilecrashWatcher
|
|
1040 |
pause PAUSE
|
|
1041 |
create VCXVodContentApiTest test
|
|
1042 |
test SetParentalControlAge 0
|
|
1043 |
test Create EXTRA_SERVICE_4
|
|
1044 |
test SelectIap DEFAULT_AP
|
|
1045 |
test UpdateEcg
|
|
1046 |
waittestclass test
|
|
1047 |
test EnableVerifying ET11043
|
|
1048 |
test VerifyAllCategoryContent 0
|
|
1049 |
test Verify ET11043
|
|
1050 |
test Destroy
|
|
1051 |
delete test
|
|
1052 |
Util CheckMobilecrashes
|
|
1053 |
delete Util
|
|
1054 |
[Endtest]
|
|
1055 |
|
|
1056 |
#------------------------------------------------------------------------------------
|
|
1057 |
#
|
|
1058 |
# Test updating ECG with XML which is in wrong format.
|
|
1059 |
#
|
|
1060 |
#------------------------------------------------------------------------------------
|
|
1061 |
[Test]
|
|
1062 |
title ET11044 UpdateEcg with wrong XML
|
|
1063 |
create VCXTestUtilModule Util
|
|
1064 |
Util CreateMobilecrashWatcher
|
|
1065 |
pause PAUSE
|
|
1066 |
create VCXVodContentApiTest test
|
|
1067 |
test Create EXTRA_SERVICE_5
|
|
1068 |
test SelectIap DEFAULT_AP
|
|
1069 |
test UpdateEcg
|
|
1070 |
allownextresult KIptvRssParserError
|
|
1071 |
waittestclass test
|
|
1072 |
test Destroy
|
|
1073 |
delete test
|
|
1074 |
Util CheckMobilecrashes
|
|
1075 |
delete Util
|
|
1076 |
[Endtest]
|
|
1077 |
|
|
1078 |
#------------------------------------------------------------------------------------
|
|
1079 |
#
|
|
1080 |
# Check that updating ecg works
|
|
1081 |
#
|
|
1082 |
#------------------------------------------------------------------------------------
|
|
1083 |
[Test]
|
|
1084 |
title ET11046 UpdateEcg SERVICE_0 WLAN
|
|
1085 |
create VCXTestUtilModule Util
|
|
1086 |
Util SetMethodPriority DEFAULT_DEST WLAN_AP 0
|
|
1087 |
Util CreateMobilecrashWatcher
|
|
1088 |
pause PAUSE
|
|
1089 |
create VCXVodContentApiTest test
|
|
1090 |
print create test
|
|
1091 |
test EnableThumbnails
|
|
1092 |
print enablethumbnails
|
|
1093 |
test DeleteEpgDb
|
|
1094 |
print deleteepgdb
|
|
1095 |
test Create SERVICE_0
|
|
1096 |
print create service
|
|
1097 |
test SelectIap WLAN_AP
|
|
1098 |
print selectiap
|
|
1099 |
test UpdateEcg
|
|
1100 |
print updateecg
|
|
1101 |
waittestclass test
|
|
1102 |
print waittestclass
|
|
1103 |
test Destroy
|
|
1104 |
delete test
|
|
1105 |
Util CheckMobilecrashes
|
|
1106 |
delete Util
|
|
1107 |
[Endtest]
|
|
1108 |
|
|
1109 |
#------------------------------------------------------------------------------------
|
|
1110 |
#
|
|
1111 |
# Check that updating ecg works
|
|
1112 |
#
|
|
1113 |
#------------------------------------------------------------------------------------
|
|
1114 |
[Test]
|
|
1115 |
title ET11060 UpdateEcg SERVICE_0 default IAP
|
|
1116 |
create VCXTestUtilModule Util
|
|
1117 |
Util CreateMobilecrashWatcher
|
|
1118 |
pause PAUSE
|
|
1119 |
create VCXVodContentApiTest test
|
|
1120 |
test EnableThumbnails
|
|
1121 |
test DeleteEpgDb
|
|
1122 |
test Create SERVICE_0
|
|
1123 |
test SelectIap DEFAULT_AP
|
|
1124 |
test UpdateEcg
|
|
1125 |
waittestclass test
|
|
1126 |
test Destroy
|
|
1127 |
delete test
|
|
1128 |
Util CheckMobilecrashes
|
|
1129 |
delete Util
|
|
1130 |
[Endtest]
|
|
1131 |
|
|
1132 |
#------------------------------------------------------------------------------------
|
|
1133 |
#
|
|
1134 |
# Setup services in service database and delete the EPG db.
|
|
1135 |
#
|
|
1136 |
# CaseClass: core
|
|
1137 |
#------------------------------------------------------------------------------------
|
|
1138 |
[Test]
|
|
1139 |
title <not a test> Setup services
|
|
1140 |
create VCXTestUtilModule Util
|
|
1141 |
// Copies some known 3G AP to "Internet" destination with "Internet" name for the AP.
|
|
1142 |
Util CopyMethod "Internet" "Internet" "Internet"
|
|
1143 |
Util SetMethodPriority "Internet" 3G_AP 0
|
|
1144 |
Util SetUsedDestination "Internet"
|
|
1145 |
// Disable connection dialog for "Internet" destination.
|
|
1146 |
Util SetConnectionMethodIntAttribute "Internet" "Internet" 507 2 // 507 is ECmSeamlessnessLevel
|
|
1147 |
Util SetDefaultIapCenrep
|
|
1148 |
delete Util
|
|
1149 |
|
|
1150 |
pause PAUSE
|
|
1151 |
create VCXServiceManagementApiTest SMUtil
|
|
1152 |
SMUtil Create
|
|
1153 |
SMUtil DeleteAllServices SYNC
|
|
1154 |
|
|
1155 |
SMUtil AddHardCodedService ASYNC SERVICE_1 3G_AP 1 10
|
|
1156 |
SMUtil UpdateServiceField ASYNC SERVICE_1 EAddress "http:\/\/193.65.182.78/nokia_vod.xml"
|
|
1157 |
SMUtil UpdateServiceField ASYNC SERVICE_1 ESearchUrl "http:\/\/193.65.182.78/search.php?file=nokia_vod.xml&q=#search#"
|
|
1158 |
SMUtil UpdateServiceField ASYNC SERVICE_1 EName EXTRA_SERVICE_1
|
|
1159 |
|
|
1160 |
SMUtil AddHardCodedService ASYNC SERVICE_0 3G_AP 1 0 // OOPS
|
|
1161 |
SMUtil AddHardCodedService ASYNC SERVICE_1 3G_AP 1 1 // NokiaVideos
|
|
1162 |
SMUtil Destroy
|
|
1163 |
delete SMUtil
|
|
1164 |
pause 3000
|
|
1165 |
[Endtest]
|
|
1166 |
|
|
1167 |
#------------------------------------------------------------------------------------
|
|
1168 |
#
|
|
1169 |
# Test CIptvVodContentClient::UpdateAvailableL
|
|
1170 |
#
|
|
1171 |
# CaseClass: core
|
|
1172 |
#------------------------------------------------------------------------------------
|
|
1173 |
[Test]
|
|
1174 |
title ET11048 Automatic ECG update
|
|
1175 |
create VCXTestUtilModule Util
|
|
1176 |
Util CreateMobilecrashWatcher
|
|
1177 |
pause PAUSE
|
|
1178 |
create VCXVodContentApiTest test
|
|
1179 |
test EnableThumbnails
|
|
1180 |
test DeleteEpgDb
|
|
1181 |
test Create SERVICE_0
|
|
1182 |
test SelectIap DEFAULT_AP
|
|
1183 |
|
|
1184 |
// This launches automatic update.
|
|
1185 |
test GetEcgList 1 "" 0 10
|
|
1186 |
|
|
1187 |
Util WaitForConnectionActivity 3G_AP
|
|
1188 |
waittestclass Util
|
|
1189 |
|
|
1190 |
waittestclass test
|
|
1191 |
test GetEcgList 1 "" 0 10
|
|
1192 |
test Destroy
|
|
1193 |
delete test
|
|
1194 |
Util CheckMobilecrashes
|
|
1195 |
delete Util
|
|
1196 |
[Endtest]
|
|
1197 |
|
|
1198 |
#------------------------------------------------------------------------------------
|
|
1199 |
#
|
|
1200 |
# Test CIptvVodContentClient::UpdateAvailableL
|
|
1201 |
#
|
|
1202 |
# CaseClass: core
|
|
1203 |
#------------------------------------------------------------------------------------
|
|
1204 |
[Test]
|
|
1205 |
title ET11049 No update done before - Is update needed
|
|
1206 |
create VCXTestUtilModule Util
|
|
1207 |
Util CreateMobilecrashWatcher
|
|
1208 |
pause PAUSE
|
|
1209 |
create VCXVodContentApiTest test
|
|
1210 |
test EnableThumbnails
|
|
1211 |
test DeleteEpgDb
|
|
1212 |
test Create SERVICE_1
|
|
1213 |
test UpdateAvailable 1
|
|
1214 |
test Destroy
|
|
1215 |
delete test
|
|
1216 |
Util CheckMobilecrashes
|
|
1217 |
delete Util
|
|
1218 |
[Endtest]
|
|
1219 |
|
|
1220 |
#------------------------------------------------------------------------------------
|
|
1221 |
#
|
|
1222 |
# Test CIptvVodContentClient::UpdateAvailableL
|
|
1223 |
#
|
|
1224 |
# CaseClass: core
|
|
1225 |
#------------------------------------------------------------------------------------
|
|
1226 |
[Test]
|
|
1227 |
title ET11050 Last update less than hour ago - Is update needed
|
|
1228 |
create VCXTestUtilModule Util
|
|
1229 |
Util CreateMobilecrashWatcher
|
|
1230 |
pause PAUSE
|
|
1231 |
create VCXVodContentApiTest test
|
|
1232 |
test EnableThumbnails
|
|
1233 |
test DeleteEpgDb
|
|
1234 |
test Create SERVICE_1
|
|
1235 |
test SelectIap DEFAULT_AP
|
|
1236 |
|
|
1237 |
// Right after update
|
|
1238 |
test UpdateEcg
|
|
1239 |
waittestclass test
|
|
1240 |
test UpdateAvailable 0
|
|
1241 |
|
|
1242 |
// 59 minutes after update
|
|
1243 |
Util AdvanceSystemTimeMinutes 59
|
|
1244 |
test UpdateAvailable 0
|
|
1245 |
|
|
1246 |
test Destroy
|
|
1247 |
delete test
|
|
1248 |
Util CheckMobilecrashes
|
|
1249 |
delete Util
|
|
1250 |
[Endtest]
|
|
1251 |
|
|
1252 |
#------------------------------------------------------------------------------------
|
|
1253 |
#
|
|
1254 |
# Test CIptvVodContentClient::UpdateAvailableL
|
|
1255 |
#
|
|
1256 |
# CaseClass: core
|
|
1257 |
#------------------------------------------------------------------------------------
|
|
1258 |
[Test]
|
|
1259 |
title ET11051 Last update over hour ago - Is update needed
|
|
1260 |
create VCXTestUtilModule Util
|
|
1261 |
Util CreateMobilecrashWatcher
|
|
1262 |
pause PAUSE
|
|
1263 |
create VCXVodContentApiTest test
|
|
1264 |
test EnableThumbnails
|
|
1265 |
test DeleteEpgDb
|
|
1266 |
test Create SERVICE_1
|
|
1267 |
test SelectIap DEFAULT_AP
|
|
1268 |
|
|
1269 |
test UpdateEcg
|
|
1270 |
waittestclass test
|
|
1271 |
|
|
1272 |
// Over hour ago
|
|
1273 |
Util AdvanceSystemTimeMinutes 60
|
|
1274 |
pause 1000
|
|
1275 |
test UpdateAvailable 1
|
|
1276 |
|
|
1277 |
test Destroy
|
|
1278 |
delete test
|
|
1279 |
Util CheckMobilecrashes
|
|
1280 |
delete Util
|
|
1281 |
[Endtest]
|
|
1282 |
|
|
1283 |
#------------------------------------------------------------------------------------
|
|
1284 |
#
|
|
1285 |
# Test CIptvVodContentClient::UpdateAvailableL
|
|
1286 |
#
|
|
1287 |
# CaseClass: core
|
|
1288 |
#------------------------------------------------------------------------------------
|
|
1289 |
[Test]
|
|
1290 |
title ET11052 Last update failed - Is update needed
|
|
1291 |
create VCXTestUtilModule Util
|
|
1292 |
Util SetMethodPriority DEFAULT_DEST 3G_AP 0
|
|
1293 |
Util CreateMobilecrashWatcher
|
|
1294 |
pause PAUSE
|
|
1295 |
create VCXVodContentApiTest test
|
|
1296 |
test EnableThumbnails
|
|
1297 |
test DeleteEpgDb
|
|
1298 |
test Create SERVICE_1
|
|
1299 |
test SelectIap DEFAULT_AP
|
|
1300 |
|
|
1301 |
// Update succeeds
|
|
1302 |
test UpdateEcg
|
|
1303 |
waittestclass test
|
|
1304 |
|
|
1305 |
pause 2000
|
|
1306 |
|
|
1307 |
// Failed update
|
|
1308 |
test UpdateEcg
|
|
1309 |
|
|
1310 |
loop 3
|
|
1311 |
Util WaitForConnectionActivity 3G_AP
|
|
1312 |
allowerrorcodes KERRTIMEDOUT
|
|
1313 |
waittestclass Util
|
|
1314 |
allowerrorcodes KERRNOTFOUND
|
|
1315 |
allowerrorcodes KERRALREADYEXISTS
|
|
1316 |
Util Attach 3G_AP
|
|
1317 |
allowerrorcodes KERRNOTREADY
|
|
1318 |
Util Terminate
|
|
1319 |
endloop
|
|
1320 |
|
|
1321 |
allownextresult EIptvDlContentNotFound
|
|
1322 |
allownextresult EIptvDlConnectionFailed
|
|
1323 |
allownextresult KIptvErrorEpgUpdateFailed
|
|
1324 |
waittestclass test
|
|
1325 |
|
|
1326 |
test UpdateAvailable 0
|
|
1327 |
|
|
1328 |
test Destroy
|
|
1329 |
delete test
|
|
1330 |
Util CheckMobilecrashes
|
|
1331 |
delete Util
|
|
1332 |
[Endtest]
|
|
1333 |
|
|
1334 |
#------------------------------------------------------------------------------------
|
|
1335 |
#
|
|
1336 |
# Test CIptvVodContentClient::CancelUpdate
|
|
1337 |
#
|
|
1338 |
# CaseClass: core
|
|
1339 |
#------------------------------------------------------------------------------------
|
|
1340 |
[Test]
|
|
1341 |
title ET11053 Cancel update - Update available
|
|
1342 |
create VCXTestUtilModule Util
|
|
1343 |
Util CreateMobilecrashWatcher
|
|
1344 |
pause PAUSE
|
|
1345 |
create VCXVodContentApiTest test
|
|
1346 |
test EnableThumbnails
|
|
1347 |
test DeleteEpgDb
|
|
1348 |
test Create SERVICE_1
|
|
1349 |
|
|
1350 |
test SelectIap DEFAULT_AP
|
|
1351 |
|
|
1352 |
test SetMsgWhichToSignal KIptvVodUpdateStarted
|
|
1353 |
test UpdateEcg
|
|
1354 |
allownextresult KIptvVodUpdateStarted
|
|
1355 |
waittestclass test
|
|
1356 |
test CancelUpdate
|
|
1357 |
|
|
1358 |
Util WaitUntilConnectionIsClosed 3G_AP
|
|
1359 |
waittestclass Util
|
|
1360 |
|
|
1361 |
test EnableVerifying ET11053
|
|
1362 |
test VerifyAllCategoryContent 0
|
|
1363 |
test VerifyAllCategoryContent KIptvTestSearchCategoryId
|
|
1364 |
test UpdateAvailable 1
|
|
1365 |
test Verify ET11053
|
|
1366 |
|
|
1367 |
test Destroy
|
|
1368 |
delete test
|
|
1369 |
Util CheckMobilecrashes
|
|
1370 |
delete Util
|
|
1371 |
[Endtest]
|
|
1372 |
|
|
1373 |
#------------------------------------------------------------------------------------
|
|
1374 |
#
|
|
1375 |
# Test CIptvVodContentClient::CancelUpdate
|
|
1376 |
#
|
|
1377 |
# CaseClass: core
|
|
1378 |
#------------------------------------------------------------------------------------
|
|
1379 |
[Test]
|
|
1380 |
title ET11054 Cancel when no update
|
|
1381 |
create VCXTestUtilModule Util
|
|
1382 |
Util CreateMobilecrashWatcher
|
|
1383 |
pause PAUSE
|
|
1384 |
create VCXVodContentApiTest test
|
|
1385 |
test EnableThumbnails
|
|
1386 |
test DeleteEpgDb
|
|
1387 |
test Create SERVICE_1
|
|
1388 |
|
|
1389 |
test CancelUpdate
|
|
1390 |
|
|
1391 |
test UpdateAvailable 1
|
|
1392 |
|
|
1393 |
test Destroy
|
|
1394 |
delete test
|
|
1395 |
Util CheckMobilecrashes
|
|
1396 |
delete Util
|
|
1397 |
[Endtest]
|
|
1398 |
|
|
1399 |
#------------------------------------------------------------------------------------
|
|
1400 |
#
|
|
1401 |
# Test CIptvVodContentClient::CancelUpdate
|
|
1402 |
#
|
|
1403 |
#------------------------------------------------------------------------------------
|
|
1404 |
[Test]
|
|
1405 |
title ET11055 Cancel update and update again - Update available
|
|
1406 |
create VCXTestUtilModule Util
|
|
1407 |
Util CreateMobilecrashWatcher
|
|
1408 |
pause PAUSE
|
|
1409 |
create VCXVodContentApiTest test
|
|
1410 |
test EnableThumbnails
|
|
1411 |
test DeleteEpgDb
|
|
1412 |
test Create SERVICE_1
|
|
1413 |
|
|
1414 |
test SelectIap DEFAULT_AP
|
|
1415 |
|
|
1416 |
test SetMsgWhichToSignal KIptvVodUpdateStarted
|
|
1417 |
test UpdateEcg
|
|
1418 |
allownextresult KIptvVodUpdateStarted
|
|
1419 |
waittestclass test
|
|
1420 |
test CancelUpdate
|
|
1421 |
|
|
1422 |
Util WaitUntilConnectionIsClosed 3G_AP
|
|
1423 |
waittestclass Util
|
|
1424 |
pause 1000
|
|
1425 |
|
|
1426 |
test UpdateEcg
|
|
1427 |
waittestclass test
|
|
1428 |
|
|
1429 |
test UpdateAvailable 0
|
|
1430 |
|
|
1431 |
test Destroy
|
|
1432 |
delete test
|
|
1433 |
Util CheckMobilecrashes
|
|
1434 |
delete Util
|
|
1435 |
[Endtest]
|
|
1436 |
|
|
1437 |
#------------------------------------------------------------------------------------
|
|
1438 |
#
|
|
1439 |
# Test CIptvVodContentClient::CancelUpdate
|
|
1440 |
#
|
|
1441 |
#------------------------------------------------------------------------------------
|
|
1442 |
[Test]
|
|
1443 |
title ET11059 Cancel update and do search, update again
|
|
1444 |
create VCXTestUtilModule Util
|
|
1445 |
Util CreateMobilecrashWatcher
|
|
1446 |
|
|
1447 |
create VCXServiceManagementApiTest SMUtil
|
|
1448 |
SMUtil Create
|
|
1449 |
SMUtil DeleteAllServices SYNC
|
|
1450 |
SMUtil AddHardCodedService ASYNC SERVICE_1 3G_AP 1 10
|
|
1451 |
SMUtil UpdateServiceField ASYNC SERVICE_1 EAddress "http:\/\/193.65.182.78/nokia_vod.xml"
|
|
1452 |
SMUtil UpdateServiceField ASYNC SERVICE_1 ESearchUrl "http:\/\/193.65.182.78/search.php?file=nokia_vod.xml&q=#search#"
|
|
1453 |
SMUtil UpdateServiceField ASYNC SERVICE_1 EName EXTRA_SERVICE_1
|
|
1454 |
SMUtil Destroy
|
|
1455 |
delete SMUtil
|
|
1456 |
|
|
1457 |
pause PAUSE
|
|
1458 |
create VCXVodContentApiTest test
|
|
1459 |
test EnableThumbnails
|
|
1460 |
test DeleteEpgDb
|
|
1461 |
test Create EXTRA_SERVICE_1
|
|
1462 |
|
|
1463 |
test SelectIap DEFAULT_AP
|
|
1464 |
|
|
1465 |
// Cancel update
|
|
1466 |
test SetMsgWhichToSignal KIptvVodUpdateStarted
|
|
1467 |
test UpdateEcg
|
|
1468 |
allownextresult KIptvVodUpdateStarted
|
|
1469 |
waittestclass test
|
|
1470 |
test CancelUpdate
|
|
1471 |
Util WaitUntilConnectionIsClosed 3G_AP
|
|
1472 |
waittestclass Util
|
|
1473 |
|
|
1474 |
pause 2000
|
|
1475 |
|
|
1476 |
// Do search
|
|
1477 |
test Search Bar
|
|
1478 |
waittestclass test
|
|
1479 |
|
|
1480 |
pause 2000
|
|
1481 |
|
|
1482 |
// Update again
|
|
1483 |
test UpdateEcg
|
|
1484 |
waittestclass test
|
|
1485 |
|
|
1486 |
test EnableVerifying ET11059
|
|
1487 |
test VerifyAllCategoryContent 0
|
|
1488 |
test VerifyAllCategoryContent KIptvTestSearchCategoryId
|
|
1489 |
test Verify ET11059
|
|
1490 |
|
|
1491 |
test Destroy
|
|
1492 |
delete test
|
|
1493 |
Util CheckMobilecrashes
|
|
1494 |
delete Util
|
|
1495 |
[Endtest]
|
|
1496 |
|
|
1497 |
#------------------------------------------------------------------------------------
|
|
1498 |
#
|
|
1499 |
# Test CIptvVodContentClient::CancelUpdate
|
|
1500 |
#
|
|
1501 |
#------------------------------------------------------------------------------------
|
|
1502 |
[Test]
|
|
1503 |
title ET11056 Cancel search and update, update again
|
|
1504 |
create VCXTestUtilModule Util
|
|
1505 |
Util CreateMobilecrashWatcher
|
|
1506 |
|
|
1507 |
create VCXServiceManagementApiTest SMUtil
|
|
1508 |
SMUtil Create
|
|
1509 |
SMUtil DeleteAllServices SYNC
|
|
1510 |
SMUtil AddHardCodedService ASYNC SERVICE_1 3G_AP 1 10
|
|
1511 |
SMUtil UpdateServiceField ASYNC SERVICE_1 EAddress "http:\/\/193.65.182.78/nokia_vod.xml"
|
|
1512 |
SMUtil UpdateServiceField ASYNC SERVICE_1 ESearchUrl "http:\/\/193.65.182.78/search.php?file=nokia_vod.xml&q=#search#"
|
|
1513 |
SMUtil UpdateServiceField ASYNC SERVICE_1 EName EXTRA_SERVICE_1
|
|
1514 |
SMUtil Destroy
|
|
1515 |
delete SMUtil
|
|
1516 |
|
|
1517 |
pause PAUSE
|
|
1518 |
create VCXVodContentApiTest test
|
|
1519 |
test EnableThumbnails
|
|
1520 |
test DeleteEpgDb
|
|
1521 |
test Create EXTRA_SERVICE_1
|
|
1522 |
|
|
1523 |
test SelectIap DEFAULT_AP
|
|
1524 |
|
|
1525 |
// Cancel search
|
|
1526 |
test Search Nokia
|
|
1527 |
pause 500
|
|
1528 |
test CancelSearch
|
|
1529 |
Util WaitUntilConnectionIsClosed 3G_AP
|
|
1530 |
waittestclass Util
|
|
1531 |
pause 2000
|
|
1532 |
|
|
1533 |
// Cancel update
|
|
1534 |
test SetMsgWhichToSignal KIptvVodUpdateStarted
|
|
1535 |
test UpdateEcg
|
|
1536 |
allownextresult KIptvVodUpdateStarted
|
|
1537 |
waittestclass test
|
|
1538 |
test CancelUpdate
|
|
1539 |
Util WaitUntilConnectionIsClosed 3G_AP
|
|
1540 |
waittestclass Util
|
|
1541 |
pause 2000
|
|
1542 |
|
|
1543 |
// Update again
|
|
1544 |
test UpdateEcg
|
|
1545 |
waittestclass test
|
|
1546 |
|
|
1547 |
test EnableVerifying ET11056
|
|
1548 |
test VerifyAllCategoryContent 0
|
|
1549 |
test VerifyAllCategoryContent KIptvTestSearchCategoryId
|
|
1550 |
test Verify ET11056
|
|
1551 |
|
|
1552 |
test Destroy
|
|
1553 |
delete test
|
|
1554 |
Util CheckMobilecrashes
|
|
1555 |
delete Util
|
|
1556 |
[Endtest]
|
|
1557 |
|
|
1558 |
#------------------------------------------------------------------------------------
|
|
1559 |
#
|
|
1560 |
# Test CIptvVodContentClient::CancelUpdate
|
|
1561 |
#
|
|
1562 |
#------------------------------------------------------------------------------------
|
|
1563 |
[Test]
|
|
1564 |
title ET11057 Cancel update when search is ongoing
|
|
1565 |
create VCXTestUtilModule Util
|
|
1566 |
Util CreateMobilecrashWatcher
|
|
1567 |
|
|
1568 |
create VCXServiceManagementApiTest SMUtil
|
|
1569 |
SMUtil Create
|
|
1570 |
SMUtil DeleteAllServices SYNC
|
|
1571 |
SMUtil AddHardCodedService ASYNC SERVICE_1 3G_AP 1 10
|
|
1572 |
SMUtil UpdateServiceField ASYNC SERVICE_1 EAddress "http:\/\/193.65.182.78/nokia_vod.xml"
|
|
1573 |
SMUtil UpdateServiceField ASYNC SERVICE_1 ESearchUrl "http:\/\/193.65.182.78/search.php?file=nokia_vod.xml&q=#search#"
|
|
1574 |
SMUtil UpdateServiceField ASYNC SERVICE_1 EName EXTRA_SERVICE_1
|
|
1575 |
SMUtil Destroy
|
|
1576 |
delete SMUtil
|
|
1577 |
|
|
1578 |
pause PAUSE
|
|
1579 |
create VCXVodContentApiTest test
|
|
1580 |
test EnableThumbnails
|
|
1581 |
test DeleteEpgDb
|
|
1582 |
test Create EXTRA_SERVICE_1
|
|
1583 |
|
|
1584 |
test SelectIap DEFAULT_AP
|
|
1585 |
|
|
1586 |
// Cancel search
|
|
1587 |
test Search Nokia
|
|
1588 |
test CancelUpdate
|
|
1589 |
waittestclass test
|
|
1590 |
|
|
1591 |
test EnableVerifying ET11057
|
|
1592 |
test VerifyAllCategoryContent 0
|
|
1593 |
test VerifyAllCategoryContent KIptvTestSearchCategoryId
|
|
1594 |
test Verify ET11057
|
|
1595 |
|
|
1596 |
test Destroy
|
|
1597 |
delete test
|
|
1598 |
Util CheckMobilecrashes
|
|
1599 |
delete Util
|
|
1600 |
[Endtest]
|
|
1601 |
|
|
1602 |
#------------------------------------------------------------------------------------
|
|
1603 |
#
|
|
1604 |
# Test CIptvVodContentClient::CancelUpdate
|
|
1605 |
#
|
|
1606 |
#------------------------------------------------------------------------------------
|
|
1607 |
[Test]
|
|
1608 |
title ET11058 Cancel update when 3rd party connected
|
|
1609 |
create VCXTestUtilModule Util
|
|
1610 |
Util CreateMobilecrashWatcher
|
|
1611 |
|
|
1612 |
create VCXServiceManagementApiTest SMUtil
|
|
1613 |
SMUtil Create
|
|
1614 |
SMUtil DeleteAllServices SYNC
|
|
1615 |
SMUtil AddHardCodedService ASYNC SERVICE_1 3G_AP 1 10
|
|
1616 |
SMUtil UpdateServiceField ASYNC SERVICE_1 EAddress "http:\/\/193.65.182.78/nokia_vod.xml"
|
|
1617 |
SMUtil UpdateServiceField ASYNC SERVICE_1 ESearchUrl "http:\/\/193.65.182.78/search.php?file=nokia_vod.xml&q=#search#"
|
|
1618 |
SMUtil UpdateServiceField ASYNC SERVICE_1 EName EXTRA_SERVICE_1
|
|
1619 |
SMUtil Destroy
|
|
1620 |
delete SMUtil
|
|
1621 |
|
|
1622 |
pause PAUSE
|
|
1623 |
create VCXVodContentApiTest test
|
|
1624 |
test EnableThumbnails
|
|
1625 |
test DeleteEpgDb
|
|
1626 |
test Create EXTRA_SERVICE_1
|
|
1627 |
|
|
1628 |
Util Connect 3G_AP
|
|
1629 |
waittestclass Util
|
|
1630 |
|
|
1631 |
test SelectIap DEFAULT_AP
|
|
1632 |
|
|
1633 |
test SetMsgWhichToSignal KIptvVodUpdateStarted
|
|
1634 |
test UpdateEcg
|
|
1635 |
allownextresult KIptvVodUpdateStarted
|
|
1636 |
waittestclass test
|
|
1637 |
test CancelUpdate
|
|
1638 |
|
|
1639 |
pause 10000
|
|
1640 |
|
|
1641 |
Util WaitForConnectionActivity 3G_AP
|
|
1642 |
waittestclass Util
|
|
1643 |
|
|
1644 |
test Destroy
|
|
1645 |
delete test
|
|
1646 |
Util CheckMobilecrashes
|
|
1647 |
delete Util
|
|
1648 |
[Endtest]
|