53 # Removes all video files from the device. |
53 # Removes all video files from the device. |
54 # |
54 # |
55 #------------------------------------------------------------------------------------ |
55 #------------------------------------------------------------------------------------ |
56 [Test] |
56 [Test] |
57 title ET30600 <not a test> Setup |
57 title ET30600 <not a test> Setup |
|
58 var CASE ET30600 |
58 create VCXTestUtilModule Util |
59 create VCXTestUtilModule Util |
59 |
60 |
60 // Copies some known 3G AP to "Internet" destination with "Internet" name for the AP. |
61 // Copies some known 3G AP to "Internet" destination with "Internet" name for the AP. |
|
62 Util SetUsedDestination "Internet" |
61 Util CopyMethod "Internet" "Internet" "Internet" |
63 Util CopyMethod "Internet" "Internet" "Internet" |
62 // Disable connection dialog for "Internet" destination. |
64 // Disable connection dialog for "Internet" destination. |
63 Util SetConnectionMethodIntAttribute "Internet" "Internet" 507 2 // 507 is ECmSeamlessnessLevel |
65 Util SetConnectionMethodIntAttribute "Internet" "Internet" 507 2 // 507 is ECmSeamlessnessLevel |
|
66 Util SetDefaultIapCenrep |
64 |
67 |
65 Util CreateMobilecrashWatcher |
68 Util CreateMobilecrashWatcher |
66 |
69 |
67 create VCXMyVideosCollectionPluginTest VCXMV |
70 create VCXMyVideosCollectionPluginTest VCXMV |
68 VCXMV Create |
71 VCXMV Create |
97 # Tests download to first drive when there's not enough free space for the video. |
100 # Tests download to first drive when there's not enough free space for the video. |
98 # |
101 # |
99 #------------------------------------------------------------------------------------ |
102 #------------------------------------------------------------------------------------ |
100 [Test] |
103 [Test] |
101 title ET30615 Download video to full 1st memory |
104 title ET30615 Download video to full 1st memory |
|
105 var CASE ET30615 |
102 |
106 |
103 create VCXTestUtilModule Util |
107 create VCXTestUtilModule Util |
104 Util CreateMobilecrashWatcher |
108 Util CreateMobilecrashWatcher |
105 |
109 |
106 callsub Cleanup |
110 callsub Cleanup |
120 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened |
124 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened |
121 waittestclass VCXMV |
125 waittestclass VCXMV |
122 |
126 |
123 Util SetDriveFreeSpace C_DRIVE FREESPACE_1MB |
127 Util SetDriveFreeSpace C_DRIVE FREESPACE_1MB |
124 |
128 |
125 VCXMV Download 3G_AP SERVICE_2 1 0 "mediacharger" "Buran_9o" |
129 VCXMV Download DEFAULT_AP SERVICE_2 1 0 "mediacharger" "Buran_9o" |
126 VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral |
130 VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral |
127 allownextresult KERRDISKFULL |
131 allownextresult KERRDISKFULL |
128 allownextresult EDiskFull |
132 allownextresult EDiskFull |
129 waittestclass VCXMV // Dl complete |
133 waittestclass VCXMV // Dl complete |
130 |
134 |
144 # Tests download to second drive when there's not enough free space for the video. |
148 # Tests download to second drive when there's not enough free space for the video. |
145 # |
149 # |
146 #------------------------------------------------------------------------------------ |
150 #------------------------------------------------------------------------------------ |
147 [Test] |
151 [Test] |
148 title ET30602 Download video to full 2nd memory |
152 title ET30602 Download video to full 2nd memory |
|
153 var CASE ET30602 |
149 |
154 |
150 create VCXTestUtilModule Util |
155 create VCXTestUtilModule Util |
151 Util CreateMobilecrashWatcher |
156 Util CreateMobilecrashWatcher |
152 |
157 |
153 callsub Cleanup |
158 callsub Cleanup |
167 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened |
172 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened |
168 waittestclass VCXMV |
173 waittestclass VCXMV |
169 |
174 |
170 Util SetDriveFreeSpace E_DRIVE FREESPACE_1MB |
175 Util SetDriveFreeSpace E_DRIVE FREESPACE_1MB |
171 |
176 |
172 VCXMV Download 3G_AP SERVICE_2 1 0 "mediacharger" "Buran_9o" |
177 VCXMV Download DEFAULT_AP SERVICE_2 1 0 "mediacharger" "Buran_9o" |
173 VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral |
178 VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral |
174 allownextresult KERRDISKFULL |
179 allownextresult KERRDISKFULL |
175 allownextresult EDiskFull |
180 allownextresult EDiskFull |
176 waittestclass VCXMV // Dl complete |
181 waittestclass VCXMV // Dl complete |
177 |
182 |
205 # Tests that it's possible to fetch video attributes for failed download in full memory. |
210 # Tests that it's possible to fetch video attributes for failed download in full memory. |
206 # |
211 # |
207 #------------------------------------------------------------------------------------ |
212 #------------------------------------------------------------------------------------ |
208 [Test] |
213 [Test] |
209 title ET30603 Details for failed DL on Full memory |
214 title ET30603 Details for failed DL on Full memory |
|
215 var CASE ET30603 |
210 |
216 |
211 create VCXTestUtilModule Util |
217 create VCXTestUtilModule Util |
212 Util CreateMobilecrashWatcher |
218 Util CreateMobilecrashWatcher |
213 |
219 |
214 callsub Cleanup |
220 callsub Cleanup |
227 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened |
233 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened |
228 waittestclass VCXMV |
234 waittestclass VCXMV |
229 |
235 |
230 Util SetDriveFreeSpace E_DRIVE_FORCED FREESPACE_100KB |
236 Util SetDriveFreeSpace E_DRIVE_FORCED FREESPACE_100KB |
231 |
237 |
232 VCXMV Download 3G_AP SERVICE_2 1 0 "mediacharger" "Buran_9o" |
238 VCXMV Download DEFAULT_AP SERVICE_2 1 0 "mediacharger" "Buran_9o" |
233 VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral |
239 VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral |
234 allownextresult KERRDISKFULL |
240 allownextresult KERRDISKFULL |
235 allownextresult EDiskFull |
241 allownextresult EDiskFull |
236 waittestclass VCXMV // Dl complete |
242 waittestclass VCXMV // Dl complete |
237 |
243 |
252 # Tests that failed download can be continued after drive has enough space again. |
258 # Tests that failed download can be continued after drive has enough space again. |
253 # |
259 # |
254 #------------------------------------------------------------------------------------ |
260 #------------------------------------------------------------------------------------ |
255 [Test] |
261 [Test] |
256 title ET30604 Full memory DL fails, free space and resume |
262 title ET30604 Full memory DL fails, free space and resume |
|
263 var CASE ET30604 |
257 |
264 |
258 create VCXTestUtilModule Util |
265 create VCXTestUtilModule Util |
259 Util CreateMobilecrashWatcher |
266 Util CreateMobilecrashWatcher |
260 |
267 |
261 callsub Cleanup |
268 callsub Cleanup |
274 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened |
281 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened |
275 waittestclass VCXMV |
282 waittestclass VCXMV |
276 |
283 |
277 Util SetDriveFreeSpace E_DRIVE_FORCED FREESPACE_1MB |
284 Util SetDriveFreeSpace E_DRIVE_FORCED FREESPACE_1MB |
278 |
285 |
279 VCXMV Download 3G_AP SERVICE_2 1 0 "mediacharger" "Buran_9o" |
286 VCXMV Download DEFAULT_AP SERVICE_2 1 0 "mediacharger" "Buran_9o" |
280 VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral |
287 VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral |
281 allowerrorcodes KERRDISKFULL |
288 allowerrorcodes KERRDISKFULL |
282 allowerrorcodes EDiskFull |
289 allowerrorcodes EDiskFull |
283 waittestclass VCXMV // Dl complete |
290 waittestclass VCXMV // Dl complete |
284 |
291 |
285 VCXMV CheckMediaCount E_DRIVE_FORCED 1 |
292 VCXMV CheckMediaCount E_DRIVE_FORCED 1 |
286 |
293 |
287 Util SetDriveFreeSpace E_DRIVE_FORCED FREESPACE_10MB |
294 Util SetDriveFreeSpace E_DRIVE_FORCED FREESPACE_10MB |
288 |
295 |
289 VCXMV ResumeDownload 3G_AP SERVICE_2 1 0 "mediacharger" "Buran_9o" |
296 VCXMV ResumeDownload DEFAULT_AP SERVICE_2 1 0 "mediacharger" "Buran_9o" |
290 VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral |
297 VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral |
291 waittestclass VCXMV // Dl complete |
298 waittestclass VCXMV // Dl complete |
292 |
299 |
293 VCXMV GetAllMediaFullDetails |
300 VCXMV GetAllMediaFullDetails |
294 |
301 |
305 # Tests download when drive fills up during the download. |
312 # Tests download when drive fills up during the download. |
306 # |
313 # |
307 #------------------------------------------------------------------------------------ |
314 #------------------------------------------------------------------------------------ |
308 [Test] |
315 [Test] |
309 title ET30605 Start download and fill memory |
316 title ET30605 Start download and fill memory |
|
317 var CASE ET30605 |
310 |
318 |
311 create VCXTestUtilModule Util |
319 create VCXTestUtilModule Util |
312 Util CreateMobilecrashWatcher |
320 Util CreateMobilecrashWatcher |
313 |
321 |
314 callsub Cleanup |
322 callsub Cleanup |
327 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened |
335 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened |
328 waittestclass VCXMV |
336 waittestclass VCXMV |
329 |
337 |
330 Util SetDriveFreeSpace E_DRIVE_FORCED FREESPACE_10MB |
338 Util SetDriveFreeSpace E_DRIVE_FORCED FREESPACE_10MB |
331 |
339 |
332 VCXMV Download 3G_AP SERVICE_2 1 0 "mediacharger" "Buran_9o" |
340 VCXMV Download DEFAULT_AP SERVICE_2 1 0 "mediacharger" "Buran_9o" |
333 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning |
341 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning |
334 waittestclass VCXMV |
342 waittestclass VCXMV |
335 |
343 |
336 Util SetDriveFreeSpace E_DRIVE_FORCED FREESPACE_100KB |
344 Util SetDriveFreeSpace E_DRIVE_FORCED FREESPACE_100KB |
337 |
345 |
354 # Tests resuming paused download when drive has not enough space. |
362 # Tests resuming paused download when drive has not enough space. |
355 # |
363 # |
356 #------------------------------------------------------------------------------------ |
364 #------------------------------------------------------------------------------------ |
357 [Test] |
365 [Test] |
358 title ET30606 Download paused, fill memory and resume |
366 title ET30606 Download paused, fill memory and resume |
359 |
367 var CASE ET30606 |
360 create VCXTestUtilModule Util |
368 |
361 Util CreateMobilecrashWatcher |
369 create VCXTestUtilModule Util |
362 |
370 Util CreateMobilecrashWatcher |
363 callsub Cleanup |
371 |
364 |
372 callsub Cleanup |
365 // TESTCASE START |
373 |
366 |
374 // TESTCASE START |
367 create VCXMyVideosCollectionPluginTest VCXMV |
375 |
368 VCXMV Create |
376 create VCXMyVideosCollectionPluginTest VCXMV |
369 |
377 VCXMV Create |
370 // Get list of videos |
378 |
371 VCXMV OpenCollection VCXCollectionMyVideos |
379 // Get list of videos |
372 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened |
380 VCXMV OpenCollection VCXCollectionMyVideos |
373 waittestclass VCXMV |
381 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened |
374 |
382 waittestclass VCXMV |
375 VCXMV OpenLevel EVcxMyVideosAllVideos |
383 |
376 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened |
384 VCXMV OpenLevel EVcxMyVideosAllVideos |
377 waittestclass VCXMV |
385 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened |
378 |
386 waittestclass VCXMV |
379 VCXMV Download 3G_AP SERVICE_2 20 0 "mediacharger" "Buran_9o" |
387 |
|
388 VCXMV Download DEFAULT_AP SERVICE_2 20 0 "mediacharger" "Buran_9o" |
380 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning |
389 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning |
381 waittestclass VCXMV |
390 waittestclass VCXMV |
382 |
391 |
383 // Pause it |
392 // Pause it |
384 VCXMV PauseDownload SERVICE_2 20 0 |
393 VCXMV PauseDownload SERVICE_2 20 0 |
385 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlPaused |
394 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlPaused |
386 waittestclass VCXMV // Dl paused |
395 waittestclass VCXMV // Dl paused |
387 |
396 |
388 Util SetDriveFreeSpace E_DRIVE_FORCED FREESPACE_100KB |
397 Util SetDriveFreeSpace E_DRIVE_FORCED FREESPACE_100KB |
389 |
398 |
390 VCXMV ResumeDownload 3G_AP SERVICE_2 20 0 "mediacharger" "Buran_9o" |
399 VCXMV ResumeDownload DEFAULT_AP SERVICE_2 20 0 "mediacharger" "Buran_9o" |
391 VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral |
400 VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral |
392 allownextresult KERRDISKFULL |
401 allownextresult KERRDISKFULL |
393 allownextresult EDiskFull |
402 allownextresult EDiskFull |
394 waittestclass VCXMV // Dl complete |
403 waittestclass VCXMV // Dl complete |
395 |
404 |
408 # Tests canceling download when drive is full. |
417 # Tests canceling download when drive is full. |
409 # |
418 # |
410 #------------------------------------------------------------------------------------ |
419 #------------------------------------------------------------------------------------ |
411 [Test] |
420 [Test] |
412 title ET30607 Download paused, fill memory and cancel |
421 title ET30607 Download paused, fill memory and cancel |
|
422 var CASE ET30607 |
413 |
423 |
414 create VCXTestUtilModule Util |
424 create VCXTestUtilModule Util |
415 Util CreateMobilecrashWatcher |
425 Util CreateMobilecrashWatcher |
416 |
426 |
417 callsub Cleanup |
427 callsub Cleanup |
430 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened |
440 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened |
431 waittestclass VCXMV |
441 waittestclass VCXMV |
432 |
442 |
433 Util SetDriveFreeSpace E_DRIVE_FORCED FREESPACE_10MB |
443 Util SetDriveFreeSpace E_DRIVE_FORCED FREESPACE_10MB |
434 |
444 |
435 VCXMV Download 3G_AP SERVICE_2 20 0 "mediacharger" "Buran_9o" |
445 VCXMV Download DEFAULT_AP SERVICE_2 20 0 "mediacharger" "Buran_9o" |
436 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning |
446 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning |
437 waittestclass VCXMV |
447 waittestclass VCXMV |
438 |
448 |
439 // Pause it |
449 // Pause it |
440 VCXMV PauseDownload SERVICE_2 20 0 |
450 VCXMV PauseDownload SERVICE_2 20 0 |
463 # Tests multiple download when there's not enough space for all of them. |
473 # Tests multiple download when there's not enough space for all of them. |
464 # |
474 # |
465 #------------------------------------------------------------------------------------ |
475 #------------------------------------------------------------------------------------ |
466 [Test] |
476 [Test] |
467 title ET30608 Not enough space for 4 downloads |
477 title ET30608 Not enough space for 4 downloads |
|
478 var CASE ET30608 |
468 |
479 |
469 create VCXTestUtilModule Util |
480 create VCXTestUtilModule Util |
470 Util CreateMobilecrashWatcher |
481 Util CreateMobilecrashWatcher |
471 |
482 |
472 callsub Cleanup |
483 callsub Cleanup |
485 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened |
496 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened |
486 waittestclass VCXMV |
497 waittestclass VCXMV |
487 |
498 |
488 Util SetDriveFreeSpace E_DRIVE_FORCED FREESPACE_10MB |
499 Util SetDriveFreeSpace E_DRIVE_FORCED FREESPACE_10MB |
489 |
500 |
490 VCXMV Download 3G_AP SERVICE_2 3 0 "mediacharger" "Buran_9o" |
501 VCXMV Download DEFAULT_AP SERVICE_2 3 0 "mediacharger" "Buran_9o" |
491 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning |
502 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning |
492 waittestclass VCXMV |
503 waittestclass VCXMV |
493 |
504 |
494 VCXMV Download 3G_AP SERVICE_2 4 0 "mediacharger" "Buran_9o" |
505 VCXMV Download DEFAULT_AP SERVICE_2 4 0 "mediacharger" "Buran_9o" |
495 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning |
506 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning |
496 waittestclass VCXMV |
507 waittestclass VCXMV |
497 |
508 |
498 VCXMV Download 3G_AP SERVICE_2 5 0 "mediacharger" "Buran_9o" |
509 VCXMV Download DEFAULT_AP SERVICE_2 5 0 "mediacharger" "Buran_9o" |
499 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning |
510 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning |
500 waittestclass VCXMV |
511 waittestclass VCXMV |
501 |
512 |
502 VCXMV Download 3G_AP SERVICE_2 6 0 "mediacharger" "Buran_9o" |
513 VCXMV Download DEFAULT_AP SERVICE_2 6 0 "mediacharger" "Buran_9o" |
503 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning |
514 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning |
504 waittestclass VCXMV |
515 waittestclass VCXMV |
505 |
516 |
506 VCXMV WaitAllDownloads |
517 VCXMV WaitAllDownloads |
507 allownextresult KERRDISKFULL |
518 allownextresult KERRDISKFULL |
523 # Note: My Videos MPX plugin needs 4 MB of extra space. |
534 # Note: My Videos MPX plugin needs 4 MB of extra space. |
524 # |
535 # |
525 #------------------------------------------------------------------------------------ |
536 #------------------------------------------------------------------------------------ |
526 [Test] |
537 [Test] |
527 title ET30609 Move to full memory |
538 title ET30609 Move to full memory |
|
539 var CASE ET30609 |
528 |
540 |
529 create VCXTestUtilModule Util |
541 create VCXTestUtilModule Util |
530 Util CreateMobilecrashWatcher |
542 Util CreateMobilecrashWatcher |
531 |
543 |
532 callsub Cleanup |
544 callsub Cleanup |
544 VCXMV OpenLevel EVcxMyVideosAllVideos |
556 VCXMV OpenLevel EVcxMyVideosAllVideos |
545 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened |
557 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened |
546 waittestclass VCXMV |
558 waittestclass VCXMV |
547 |
559 |
548 // Create sideloaded video |
560 // Create sideloaded video |
549 VCXMV CreateVideoFile IptvTestVideoMpeg4 C_DRIVE_FORCED "video0.mp4" |
561 VCXMV CreateVideoFile IptvTestVideoMpeg4 C_DRIVE_FORCED "video0 CASE .mp4" |
550 |
562 |
551 VCXMV CheckMediaCount C_DRIVE_FORCED 1 |
563 VCXMV CheckMediaCount C_DRIVE_FORCED 1 |
552 VCXMV CheckMediaCount E_DRIVE_FORCED 0 |
564 VCXMV CheckMediaCount E_DRIVE_FORCED 0 |
553 |
565 |
554 Util SetDriveFreeSpace E_DRIVE_FORCED FREESPACE_100KB |
566 Util SetDriveFreeSpace E_DRIVE_FORCED FREESPACE_100KB |
573 # Note: My Videos MPX plugin needs 4 MB of extra space. |
585 # Note: My Videos MPX plugin needs 4 MB of extra space. |
574 # |
586 # |
575 #------------------------------------------------------------------------------------ |
587 #------------------------------------------------------------------------------------ |
576 [Test] |
588 [Test] |
577 title ET30610 Move from full memory |
589 title ET30610 Move from full memory |
|
590 var CASE ET30610 |
578 |
591 |
579 create VCXTestUtilModule Util |
592 create VCXTestUtilModule Util |
580 Util CreateMobilecrashWatcher |
593 Util CreateMobilecrashWatcher |
581 |
594 |
582 callsub Cleanup |
595 callsub Cleanup |
594 VCXMV OpenLevel EVcxMyVideosAllVideos |
607 VCXMV OpenLevel EVcxMyVideosAllVideos |
595 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened |
608 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened |
596 waittestclass VCXMV |
609 waittestclass VCXMV |
597 |
610 |
598 // Create sideloaded video |
611 // Create sideloaded video |
599 VCXMV CreateVideoFile IptvTestVideoMpeg4 E_DRIVE_FORCED "video0.mp4" |
612 VCXMV CreateVideoFile IptvTestVideoMpeg4 E_DRIVE_FORCED "video0 CASE .mp4" |
600 |
613 |
601 VCXMV CheckMediaCount C_DRIVE_FORCED 0 |
614 VCXMV CheckMediaCount C_DRIVE_FORCED 0 |
602 VCXMV CheckMediaCount E_DRIVE_FORCED 1 |
615 VCXMV CheckMediaCount E_DRIVE_FORCED 1 |
603 |
616 |
604 Util SetDriveFreeSpace E_DRIVE_FORCED FREESPACE_100KB |
617 Util SetDriveFreeSpace E_DRIVE_FORCED FREESPACE_100KB |
619 # Note: My Videos MPX plugin needs 4 MB of extra space. |
632 # Note: My Videos MPX plugin needs 4 MB of extra space. |
620 # |
633 # |
621 #------------------------------------------------------------------------------------ |
634 #------------------------------------------------------------------------------------ |
622 [Test] |
635 [Test] |
623 title ET30611 Copy to full memory |
636 title ET30611 Copy to full memory |
|
637 var CASE ET30611 |
624 |
638 |
625 create VCXTestUtilModule Util |
639 create VCXTestUtilModule Util |
626 Util CreateMobilecrashWatcher |
640 Util CreateMobilecrashWatcher |
627 |
641 |
628 callsub Cleanup |
642 callsub Cleanup |
640 VCXMV OpenLevel EVcxMyVideosAllVideos |
654 VCXMV OpenLevel EVcxMyVideosAllVideos |
641 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened |
655 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened |
642 waittestclass VCXMV |
656 waittestclass VCXMV |
643 |
657 |
644 // Create sideloaded video |
658 // Create sideloaded video |
645 VCXMV CreateVideoFile IptvTestVideoMpeg4 C_DRIVE_FORCED "video0.mp4" |
659 VCXMV CreateVideoFile IptvTestVideoMpeg4 C_DRIVE_FORCED "video0 CASE .mp4" |
646 |
660 |
647 VCXMV CheckMediaCount C_DRIVE_FORCED 1 |
661 VCXMV CheckMediaCount C_DRIVE_FORCED 1 |
648 VCXMV CheckMediaCount E_DRIVE_FORCED 0 |
662 VCXMV CheckMediaCount E_DRIVE_FORCED 0 |
649 |
663 |
650 Util SetDriveFreeSpace E_DRIVE_FORCED FREESPACE_100KB |
664 Util SetDriveFreeSpace E_DRIVE_FORCED FREESPACE_100KB |
669 # Note: My Videos MPX plugin needs 4 MB of extra space. |
683 # Note: My Videos MPX plugin needs 4 MB of extra space. |
670 # |
684 # |
671 #------------------------------------------------------------------------------------ |
685 #------------------------------------------------------------------------------------ |
672 [Test] |
686 [Test] |
673 title ET30612 Copy from full memory |
687 title ET30612 Copy from full memory |
|
688 var CASE ET30612 |
674 |
689 |
675 create VCXTestUtilModule Util |
690 create VCXTestUtilModule Util |
676 Util CreateMobilecrashWatcher |
691 Util CreateMobilecrashWatcher |
677 |
692 |
678 callsub Cleanup |
693 callsub Cleanup |
690 VCXMV OpenLevel EVcxMyVideosAllVideos |
705 VCXMV OpenLevel EVcxMyVideosAllVideos |
691 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened |
706 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened |
692 waittestclass VCXMV |
707 waittestclass VCXMV |
693 |
708 |
694 // Create sideloaded video |
709 // Create sideloaded video |
695 VCXMV CreateVideoFile IptvTestVideoMpeg4 E_DRIVE_FORCED "video0.mp4" |
710 VCXMV CreateVideoFile IptvTestVideoMpeg4 E_DRIVE_FORCED "video0 CASE .mp4" |
696 |
711 |
697 VCXMV CheckMediaCount C_DRIVE_FORCED 0 |
712 VCXMV CheckMediaCount C_DRIVE_FORCED 0 |
698 VCXMV CheckMediaCount E_DRIVE_FORCED 1 |
713 VCXMV CheckMediaCount E_DRIVE_FORCED 1 |
699 |
714 |
700 Util SetDriveFreeSpace E_DRIVE_FORCED FREESPACE_100KB |
715 Util SetDriveFreeSpace E_DRIVE_FORCED FREESPACE_100KB |
717 # Note: My Videos MPX plugin needs 4 MB of extra space. |
732 # Note: My Videos MPX plugin needs 4 MB of extra space. |
718 # |
733 # |
719 #------------------------------------------------------------------------------------ |
734 #------------------------------------------------------------------------------------ |
720 [Test] |
735 [Test] |
721 title ET30613 Move multiple to full memory |
736 title ET30613 Move multiple to full memory |
|
737 var CASE ET30613 |
722 |
738 |
723 create VCXTestUtilModule Util |
739 create VCXTestUtilModule Util |
724 Util CreateMobilecrashWatcher |
740 Util CreateMobilecrashWatcher |
725 |
741 |
726 callsub Cleanup |
742 callsub Cleanup |
738 VCXMV OpenLevel EVcxMyVideosAllVideos |
754 VCXMV OpenLevel EVcxMyVideosAllVideos |
739 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened |
755 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened |
740 waittestclass VCXMV |
756 waittestclass VCXMV |
741 |
757 |
742 // Create sideloaded video |
758 // Create sideloaded video |
743 VCXMV CreateVideoFile IptvTestVideoMpeg4 C_DRIVE_FORCED "video.mp4" 50000 10 |
759 VCXMV CreateVideoFile IptvTestVideoMpeg4 C_DRIVE_FORCED "video CASE .mp4" 50000 10 |
744 |
760 |
745 VCXMV CheckMediaCount C_DRIVE_FORCED 10 |
761 VCXMV CheckMediaCount C_DRIVE_FORCED 10 |
746 VCXMV CheckMediaCount E_DRIVE_FORCED 0 |
762 VCXMV CheckMediaCount E_DRIVE_FORCED 0 |
747 |
763 |
748 // Space for only 1 video |
764 // Space for only 1 video |
773 # Note: My Videos MPX plugin needs 4 MB of extra space. |
789 # Note: My Videos MPX plugin needs 4 MB of extra space. |
774 # |
790 # |
775 #------------------------------------------------------------------------------------ |
791 #------------------------------------------------------------------------------------ |
776 [Test] |
792 [Test] |
777 title ET30614 Copy multiple to full memory |
793 title ET30614 Copy multiple to full memory |
|
794 var CASE ET30614 |
778 |
795 |
779 create VCXTestUtilModule Util |
796 create VCXTestUtilModule Util |
780 Util CreateMobilecrashWatcher |
797 Util CreateMobilecrashWatcher |
781 |
798 |
782 callsub Cleanup |
799 callsub Cleanup |
794 VCXMV OpenLevel EVcxMyVideosAllVideos |
811 VCXMV OpenLevel EVcxMyVideosAllVideos |
795 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened |
812 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened |
796 waittestclass VCXMV |
813 waittestclass VCXMV |
797 |
814 |
798 // Create sideloaded video |
815 // Create sideloaded video |
799 VCXMV CreateVideoFile IptvTestVideoMpeg4 C_DRIVE_FORCED "video.mp4" 50000 10 |
816 VCXMV CreateVideoFile IptvTestVideoMpeg4 C_DRIVE_FORCED "video CASE .mp4" 50000 10 |
800 |
817 |
801 VCXMV CheckMediaCount C_DRIVE_FORCED 10 |
818 VCXMV CheckMediaCount C_DRIVE_FORCED 10 |
802 VCXMV CheckMediaCount E_DRIVE_FORCED 0 |
819 VCXMV CheckMediaCount E_DRIVE_FORCED 0 |
803 |
820 |
804 // Space for only 1 video |
821 // Space for only 1 video |