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