videocollection/mpxmyvideoscollection/tsrc/mpxmvcolltest/conf/VCXMyVideosCollectionPluginTestDownload.cfg
changeset 1 6711b85517b7
parent 0 96612d01cf9f
equal deleted inserted replaced
0:96612d01cf9f 1:6711b85517b7
    35 waittestclass VCXMV
    35 waittestclass VCXMV
    36 
    36 
    37 VCXMV RemoveAllMedia
    37 VCXMV RemoveAllMedia
    38 delete VCXMV
    38 delete VCXMV
    39 
    39 
    40 print wait 3min
    40 print wait 30sec
    41 pause 180000
    41 pause 30000
    42 print cleanup end
    42 print cleanup end
    43 [EndSub]
    43 [EndSub]
    44 #************************************************************************************
    44 #************************************************************************************
    45 
    45 
    46 #************************************************************************************
    46 #************************************************************************************
    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 ET30100 <not a test> Setup
    57 title ET30100 <not a test> Setup
       
    58 var CASE ET30100
    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 // Remove all videos
    70 // Remove all videos
    68 
    71 
    97 #  Tests download to first used drive.
   100 #  Tests download to first used drive.
    98 #
   101 #
    99 #------------------------------------------------------------------------------------
   102 #------------------------------------------------------------------------------------
   100 [Test]
   103 [Test]
   101 title ET30101 Download video, 1st drive
   104 title ET30101 Download video, 1st drive
   102 
   105 var CASE ET30101
   103 create VCXTestUtilModule Util
   106 
   104 Util CreateMobilecrashWatcher
   107 create VCXTestUtilModule Util
   105 
   108 Util CreateMobilecrashWatcher
   106 callsub Cleanup
   109 
   107 
   110 callsub Cleanup
   108 // TESTCASE START
   111 
   109 create  VCXMyVideosCollectionPluginTest VCXMV
   112 // TESTCASE START
   110 VCXMV Create
   113 create  VCXMyVideosCollectionPluginTest VCXMV
   111 
   114 VCXMV Create
   112 VCXMV OpenCollection VCXCollectionMyVideos
   115 
   113 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   116 VCXMV OpenCollection VCXCollectionMyVideos
   114 waittestclass VCXMV
   117 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   115 
   118 waittestclass VCXMV
   116 VCXMV OpenLevel EVcxMyVideosAllVideos
   119 
   117 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   120 VCXMV OpenLevel EVcxMyVideosAllVideos
   118 waittestclass VCXMV
   121 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   119 
   122 waittestclass VCXMV
   120 VCXMV Download 3G_AP SERVICE_SMALLVIDEOS 1 0 "mediacharger" "Buran_9o"
   123 
       
   124 VCXMV Download DEFAULT_AP SERVICE_SMALLVIDEOS 1 0 "mediacharger" "Buran_9o"
   121 VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral
   125 VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral
   122 waittestclass VCXMV // Dl complete
   126 waittestclass VCXMV // Dl complete
   123 
   127 
   124 VCXMV RefreshContents
   128 VCXMV RefreshContents
   125 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   129 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   158 #
   162 #
   159 # CaseClass: core
   163 # CaseClass: core
   160 #------------------------------------------------------------------------------------
   164 #------------------------------------------------------------------------------------
   161 [Test]
   165 [Test]
   162 title ET30102 Download 3 videos one by one, 2nd drive
   166 title ET30102 Download 3 videos one by one, 2nd drive
       
   167 var CASE ET30102
   163 
   168 
   164 create VCXTestUtilModule Util
   169 create VCXTestUtilModule Util
   165 Util CreateMobilecrashWatcher
   170 Util CreateMobilecrashWatcher
   166 
   171 
   167 callsub Cleanup
   172 callsub Cleanup
   178 
   183 
   179 VCXMV OpenLevel EVcxMyVideosAllVideos
   184 VCXMV OpenLevel EVcxMyVideosAllVideos
   180 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   185 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   181 waittestclass VCXMV
   186 waittestclass VCXMV
   182 
   187 
   183 VCXMV Download 3G_AP SERVICE_SMALLVIDEOS 2 0 "mediacharger" "Buran_9o"
   188 VCXMV Download DEFAULT_AP SERVICE_SMALLVIDEOS 2 0 "mediacharger" "Buran_9o"
   184 VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral
   189 VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral
   185 waittestclass VCXMV // Dl complete
   190 waittestclass VCXMV // Dl complete
   186 
   191 
   187 VCXMV Download 3G_AP SERVICE_SMALLVIDEOS 3 0 "mediacharger" "Buran_9o"
   192 VCXMV Download DEFAULT_AP SERVICE_SMALLVIDEOS 3 0 "mediacharger" "Buran_9o"
   188 VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral
   193 VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral
   189 waittestclass VCXMV // Dl complete
   194 waittestclass VCXMV // Dl complete
   190 
   195 
   191 VCXMV Download 3G_AP SERVICE_SMALLVIDEOS 4 0 "mediacharger" "Buran_9o"
   196 VCXMV Download DEFAULT_AP SERVICE_SMALLVIDEOS 4 0 "mediacharger" "Buran_9o"
   192 VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral
   197 VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral
   193 waittestclass VCXMV // Dl complete
   198 waittestclass VCXMV // Dl complete
   194 
   199 
   195 VCXMV RefreshContents
   200 VCXMV RefreshContents
   196 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   201 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   210 #
   215 #
   211 # CaseClass: core
   216 # CaseClass: core
   212 #------------------------------------------------------------------------------------
   217 #------------------------------------------------------------------------------------
   213 [Test]
   218 [Test]
   214 title ET30103 Download and open downloads category
   219 title ET30103 Download and open downloads category
       
   220 var CASE ET30103
   215 
   221 
   216 create VCXTestUtilModule Util
   222 create VCXTestUtilModule Util
   217 Util CreateMobilecrashWatcher
   223 Util CreateMobilecrashWatcher
   218 
   224 
   219 callsub Cleanup
   225 callsub Cleanup
   222 
   228 
   223 create  VCXMyVideosCollectionPluginTest VCXMV
   229 create  VCXMyVideosCollectionPluginTest VCXMV
   224 VCXMV Create
   230 VCXMV Create
   225 
   231 
   226 // Create one sideloaded video
   232 // Create one sideloaded video
   227 VCXMV CreateVideoFile IptvTestVideoMpeg4 C_DRIVE "video0.mp4"
   233 VCXMV CreateVideoFile IptvTestVideoMpeg4 C_DRIVE "video CASE 0.mp4"
   228 
   234 
   229 // Get list of videos
   235 // Get list of videos
   230 VCXMV OpenCollection VCXCollectionMyVideos
   236 VCXMV OpenCollection VCXCollectionMyVideos
   231 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   237 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   232 waittestclass VCXMV
   238 waittestclass VCXMV
   238 VCXMV CloseLevel
   244 VCXMV CloseLevel
   239 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   245 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   240 waittestclass VCXMV
   246 waittestclass VCXMV
   241 
   247 
   242 // Start download
   248 // Start download
   243 VCXMV Download 3G_AP SERVICE_2 0 0 "mediacharger" "Buran_9o"
   249 VCXMV Download DEFAULT_AP SERVICE_2 0 0 "mediacharger" "Buran_9o"
   244 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCommandComplete
   250 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCommandComplete
   245 waittestclass VCXMV // Dl started
   251 waittestclass VCXMV // Dl started
   246 
   252 
   247 // Get list of downloads
   253 // Get list of downloads
   248 VCXMV OpenLevel EVcxMyVideosDownloads
   254 VCXMV OpenLevel EVcxMyVideosDownloads
   282 #
   288 #
   283 # CaseClass: core
   289 # CaseClass: core
   284 #------------------------------------------------------------------------------------
   290 #------------------------------------------------------------------------------------
   285 [Test]
   291 [Test]
   286 title ET30104 Cancel download
   292 title ET30104 Cancel download
       
   293 var CASE ET30104
   287 
   294 
   288 create VCXTestUtilModule Util
   295 create VCXTestUtilModule Util
   289 Util CreateMobilecrashWatcher
   296 Util CreateMobilecrashWatcher
   290 
   297 
   291 callsub Cleanup
   298 callsub Cleanup
   303 VCXMV OpenLevel EVcxMyVideosAllVideos
   310 VCXMV OpenLevel EVcxMyVideosAllVideos
   304 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   311 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   305 waittestclass VCXMV
   312 waittestclass VCXMV
   306 
   313 
   307 // Start download
   314 // Start download
   308 VCXMV Download 3G_AP SERVICE_2 20 0 "mediacharger" "Buran_9o"
   315 VCXMV Download DEFAULT_AP SERVICE_2 20 0 "mediacharger" "Buran_9o"
   309 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning
   316 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning
   310 waittestclass VCXMV // Dl started
   317 waittestclass VCXMV // Dl started
   311 
   318 
   312 // Cancel it
   319 // Cancel it
   313 VCXMV CancelDownload SERVICE_2 20 0
   320 VCXMV CancelDownload SERVICE_2 20 0
   335 #
   342 #
   336 # CaseClass: core
   343 # CaseClass: core
   337 #------------------------------------------------------------------------------------
   344 #------------------------------------------------------------------------------------
   338 [Test]
   345 [Test]
   339 title ET30105 Pause download
   346 title ET30105 Pause download
       
   347 var CASE ET30105
   340 
   348 
   341 create VCXTestUtilModule Util
   349 create VCXTestUtilModule Util
   342 Util CreateMobilecrashWatcher
   350 Util CreateMobilecrashWatcher
   343 
   351 
   344 callsub Cleanup
   352 callsub Cleanup
   356 VCXMV OpenLevel EVcxMyVideosAllVideos
   364 VCXMV OpenLevel EVcxMyVideosAllVideos
   357 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   365 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   358 waittestclass VCXMV
   366 waittestclass VCXMV
   359 
   367 
   360 // Start download
   368 // Start download
   361 VCXMV Download 3G_AP SERVICE_2 20 0 "mediacharger" "Buran_9o"
   369 VCXMV Download DEFAULT_AP SERVICE_2 20 0 "mediacharger" "Buran_9o"
   362 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning
   370 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning
   363 waittestclass VCXMV // Command complete
   371 waittestclass VCXMV // Command complete
   364 
   372 
   365 // Pause it
   373 // Pause it
   366 VCXMV PauseDownload SERVICE_2 20 0
   374 VCXMV PauseDownload SERVICE_2 20 0
   383 #
   391 #
   384 # CaseClass: core
   392 # CaseClass: core
   385 #------------------------------------------------------------------------------------
   393 #------------------------------------------------------------------------------------
   386 [Test]
   394 [Test]
   387 title ET30111 Pause and resume download
   395 title ET30111 Pause and resume download
       
   396 var CASE ET30111
   388 
   397 
   389 create VCXTestUtilModule Util
   398 create VCXTestUtilModule Util
   390 Util CreateMobilecrashWatcher
   399 Util CreateMobilecrashWatcher
   391 
   400 
   392 callsub Cleanup
   401 callsub Cleanup
   404 VCXMV OpenLevel EVcxMyVideosAllVideos
   413 VCXMV OpenLevel EVcxMyVideosAllVideos
   405 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   414 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   406 waittestclass VCXMV
   415 waittestclass VCXMV
   407 
   416 
   408 // Start download
   417 // Start download
   409 VCXMV Download 3G_AP SERVICE_2 1 0 "mediacharger" "Buran_9o"
   418 VCXMV Download DEFAULT_AP SERVICE_2 1 0 "mediacharger" "Buran_9o"
   410 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning
   419 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning
   411 waittestclass VCXMV
   420 waittestclass VCXMV
   412 
   421 
   413 // Pause it
   422 // Pause it
   414 VCXMV PauseDownload SERVICE_2 1 0
   423 VCXMV PauseDownload SERVICE_2 1 0
   415 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlPaused
   424 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlPaused
   416 waittestclass VCXMV // Dl paused
   425 waittestclass VCXMV // Dl paused
   417 
   426 
   418 VCXMV ResumeDownload 3G_AP SERVICE_2 1 0 "mediacharger" "Buran_9o"
   427 VCXMV ResumeDownload DEFAULT_AP SERVICE_2 1 0 "mediacharger" "Buran_9o"
   419 VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral
   428 VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral
   420 waittestclass VCXMV // Dl complete
   429 waittestclass VCXMV // Dl complete
   421 
   430 
   422 VCXMV CheckMediaCount ANY_DRIVE 1
   431 VCXMV CheckMediaCount ANY_DRIVE 1
   423 
   432 
   435 #  is opened then and download is resumed.
   444 #  is opened then and download is resumed.
   436 #
   445 #
   437 #------------------------------------------------------------------------------------
   446 #------------------------------------------------------------------------------------
   438 [Test]
   447 [Test]
   439 title ET30112 Pause and open downloads category
   448 title ET30112 Pause and open downloads category
       
   449 var CASE ET30112
   440 
   450 
   441 create VCXTestUtilModule Util
   451 create VCXTestUtilModule Util
   442 Util CreateMobilecrashWatcher
   452 Util CreateMobilecrashWatcher
   443 
   453 
   444 callsub Cleanup
   454 callsub Cleanup
   456 VCXMV OpenLevel EVcxMyVideosAllVideos
   466 VCXMV OpenLevel EVcxMyVideosAllVideos
   457 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   467 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   458 waittestclass VCXMV
   468 waittestclass VCXMV
   459 
   469 
   460 // Start download
   470 // Start download
   461 VCXMV Download 3G_AP SERVICE_2 20 0 "mediacharger" "Buran_9o"
   471 VCXMV Download DEFAULT_AP SERVICE_2 20 0 "mediacharger" "Buran_9o"
   462 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning
   472 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning
   463 waittestclass VCXMV // Command complete
   473 waittestclass VCXMV // Command complete
   464 
   474 
   465 // Pause it
   475 // Pause it
   466 VCXMV PauseDownload SERVICE_2 20 0
   476 VCXMV PauseDownload SERVICE_2 20 0
   489 
   499 
   490 VCXMV OpenLevel EVcxMyVideosAllVideos
   500 VCXMV OpenLevel EVcxMyVideosAllVideos
   491 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   501 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   492 waittestclass VCXMV
   502 waittestclass VCXMV
   493 
   503 
   494 VCXMV ResumeDownload 3G_AP SERVICE_2 20 0 "mediacharger" "Buran_9o"
   504 VCXMV ResumeDownload DEFAULT_AP SERVICE_2 20 0 "mediacharger" "Buran_9o"
   495 VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral
   505 VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral
   496 waittestclass VCXMV // Dl complete
   506 waittestclass VCXMV // Dl complete
   497 
   507 
   498 VCXMV CancelDownload SERVICE_2 20 0
   508 VCXMV CancelDownload SERVICE_2 20 0
   499 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCommandComplete
   509 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCommandComplete
   513 #
   523 #
   514 # CaseClass: core
   524 # CaseClass: core
   515 #------------------------------------------------------------------------------------
   525 #------------------------------------------------------------------------------------
   516 [Test]
   526 [Test]
   517 title ET30113 Cancel paused download
   527 title ET30113 Cancel paused download
       
   528 var CASE ET30113
   518 
   529 
   519 create VCXTestUtilModule Util
   530 create VCXTestUtilModule Util
   520 Util CreateMobilecrashWatcher
   531 Util CreateMobilecrashWatcher
   521 
   532 
   522 callsub Cleanup
   533 callsub Cleanup
   534 VCXMV OpenLevel EVcxMyVideosAllVideos
   545 VCXMV OpenLevel EVcxMyVideosAllVideos
   535 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   546 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   536 waittestclass VCXMV
   547 waittestclass VCXMV
   537 
   548 
   538 // Start download
   549 // Start download
   539 VCXMV Download 3G_AP SERVICE_2 1 0 "mediacharger" "Buran_9o"
   550 VCXMV Download DEFAULT_AP SERVICE_2 1 0 "mediacharger" "Buran_9o"
   540 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning
   551 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning
   541 waittestclass VCXMV // Command complete
   552 waittestclass VCXMV // Command complete
   542 
   553 
   543 // Pause it
   554 // Pause it
   544 VCXMV PauseDownload SERVICE_2 1 0
   555 VCXMV PauseDownload SERVICE_2 1 0
   565 #  Tests downloading two videos at same time.
   576 #  Tests downloading two videos at same time.
   566 #
   577 #
   567 #------------------------------------------------------------------------------------
   578 #------------------------------------------------------------------------------------
   568 [Test]
   579 [Test]
   569 title ET30106 2 downloads same time
   580 title ET30106 2 downloads same time
       
   581 var CASE ET30106
   570 
   582 
   571 create VCXTestUtilModule Util
   583 create VCXTestUtilModule Util
   572 Util CreateMobilecrashWatcher
   584 Util CreateMobilecrashWatcher
   573 
   585 
   574 callsub Cleanup
   586 callsub Cleanup
   588 waittestclass VCXMV
   600 waittestclass VCXMV
   589 
   601 
   590 // Check that there's no other videos
   602 // Check that there's no other videos
   591 VCXMV CheckMediaCount ANY_DRIVE 0
   603 VCXMV CheckMediaCount ANY_DRIVE 0
   592 
   604 
   593 VCXMV Download 3G_AP SERVICE_2 3 0 "mediacharger" "Buran_9o"
   605 VCXMV Download DEFAULT_AP SERVICE_2 3 0 "mediacharger" "Buran_9o"
   594 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCommandComplete
   606 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCommandComplete
   595 waittestclass VCXMV // Dl started
   607 waittestclass VCXMV // Dl started
   596 
   608 
   597 VCXMV Download 3G_AP SERVICE_SMALLVIDEOS 0 0 "mediacharger" "Buran_9o"
   609 VCXMV Download DEFAULT_AP SERVICE_SMALLVIDEOS 0 0 "mediacharger" "Buran_9o"
   598 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCommandComplete
   610 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCommandComplete
   599 waittestclass VCXMV // Dl started
   611 waittestclass VCXMV // Dl started
   600 
   612 
   601 VCXMV WaitAllDownloads
   613 VCXMV WaitAllDownloads
   602 waittestclass VCXMV
   614 waittestclass VCXMV
   621 #  Tests that progress of a download is set to 100% when download is finished.
   633 #  Tests that progress of a download is set to 100% when download is finished.
   622 #
   634 #
   623 #------------------------------------------------------------------------------------
   635 #------------------------------------------------------------------------------------
   624 [Test]
   636 [Test]
   625 title ET30109 Check progress of finished download
   637 title ET30109 Check progress of finished download
   626 
   638 var CASE ET30109
   627 create VCXTestUtilModule Util
   639 
   628 Util CreateMobilecrashWatcher
   640 create VCXTestUtilModule Util
   629 
   641 Util CreateMobilecrashWatcher
   630 callsub Cleanup
   642 
   631 
   643 callsub Cleanup
   632 // TESTCASE START
   644 
   633 
   645 // TESTCASE START
   634 create  VCXMyVideosCollectionPluginTest VCXMV
   646 
   635 VCXMV Create
   647 create  VCXMyVideosCollectionPluginTest VCXMV
   636 
   648 VCXMV Create
   637 // Get list of videos
   649 
   638 VCXMV OpenCollection VCXCollectionMyVideos
   650 // Get list of videos
   639 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   651 VCXMV OpenCollection VCXCollectionMyVideos
   640 waittestclass VCXMV
   652 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   641 
   653 waittestclass VCXMV
   642 VCXMV OpenLevel EVcxMyVideosAllVideos
   654 
   643 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   655 VCXMV OpenLevel EVcxMyVideosAllVideos
   644 waittestclass VCXMV
   656 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   645 
   657 waittestclass VCXMV
   646 VCXMV Download 3G_AP SERVICE_2 1 0 "mediacharger" "Buran_9o"
   658 
       
   659 VCXMV Download DEFAULT_AP SERVICE_2 1 0 "mediacharger" "Buran_9o"
   647 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCommandComplete
   660 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCommandComplete
   648 waittestclass VCXMV
   661 waittestclass VCXMV
   649 
   662 
   650 VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral
   663 VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral
   651 waittestclass VCXMV
   664 waittestclass VCXMV
   672 #
   685 #
   673 # CaseClass: core
   686 # CaseClass: core
   674 #------------------------------------------------------------------------------------
   687 #------------------------------------------------------------------------------------
   675 [Test]
   688 [Test]
   676 title ET30110 Check progress of download
   689 title ET30110 Check progress of download
   677 
   690 var CASE ET30110
   678 create VCXTestUtilModule Util
   691 
   679 Util CreateMobilecrashWatcher
   692 create VCXTestUtilModule Util
   680 
   693 Util CreateMobilecrashWatcher
   681 callsub Cleanup
   694 
   682 
   695 callsub Cleanup
   683 // TESTCASE START
   696 
   684 
   697 // TESTCASE START
   685 create  VCXMyVideosCollectionPluginTest VCXMV
   698 
   686 VCXMV Create
   699 create  VCXMyVideosCollectionPluginTest VCXMV
   687 
   700 VCXMV Create
   688 // Get list of videos
   701 
   689 VCXMV OpenCollection VCXCollectionMyVideos
   702 // Get list of videos
   690 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   703 VCXMV OpenCollection VCXCollectionMyVideos
   691 waittestclass VCXMV
   704 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   692 
   705 waittestclass VCXMV
   693 VCXMV OpenLevel EVcxMyVideosAllVideos
   706 
   694 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   707 VCXMV OpenLevel EVcxMyVideosAllVideos
   695 waittestclass VCXMV
   708 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   696 
   709 waittestclass VCXMV
   697 VCXMV Download 3G_AP SERVICE_2 1 0 "mediacharger" "Buran_9o"
   710 
       
   711 VCXMV Download DEFAULT_AP SERVICE_2 1 0 "mediacharger" "Buran_9o"
   698 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning KVCXMYVideosTestMessageDlProgressed KVCXMYVideosTestMessageDlProgressed KVCXMYVideosTestMessageDlProgressed
   712 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning KVCXMYVideosTestMessageDlProgressed KVCXMYVideosTestMessageDlProgressed KVCXMYVideosTestMessageDlProgressed
   699 waittestclass VCXMV
   713 waittestclass VCXMV
   700 
   714 
   701 VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral
   715 VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral
   702 waittestclass VCXMV
   716 waittestclass VCXMV
   714 #  Tests that progress of download is updated after download has been resumed.
   728 #  Tests that progress of download is updated after download has been resumed.
   715 #
   729 #
   716 #------------------------------------------------------------------------------------
   730 #------------------------------------------------------------------------------------
   717 [Test]
   731 [Test]
   718 title ET30114 Pause, resume, check progress
   732 title ET30114 Pause, resume, check progress
   719 
   733 var CASE ET30114
   720 create VCXTestUtilModule Util
   734 
   721 Util CreateMobilecrashWatcher
   735 create VCXTestUtilModule Util
   722 
   736 Util CreateMobilecrashWatcher
   723 callsub Cleanup
   737 
   724 
   738 callsub Cleanup
   725 // TESTCASE START
   739 
   726 
   740 // TESTCASE START
   727 create  VCXMyVideosCollectionPluginTest VCXMV
   741 
   728 VCXMV Create
   742 create  VCXMyVideosCollectionPluginTest VCXMV
   729 
   743 VCXMV Create
   730 // Get list of videos
   744 
   731 VCXMV OpenCollection VCXCollectionMyVideos
   745 // Get list of videos
   732 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   746 VCXMV OpenCollection VCXCollectionMyVideos
   733 waittestclass VCXMV
   747 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   734 
   748 waittestclass VCXMV
   735 VCXMV OpenLevel EVcxMyVideosAllVideos
   749 
   736 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   750 VCXMV OpenLevel EVcxMyVideosAllVideos
   737 waittestclass VCXMV
   751 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   738 
   752 waittestclass VCXMV
   739 VCXMV Download 3G_AP SERVICE_2 20 0 "mediacharger" "Buran_9o"
   753 
       
   754 VCXMV Download DEFAULT_AP SERVICE_2 20 0 "mediacharger" "Buran_9o"
   740 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning
   755 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning
   741 waittestclass VCXMV
   756 waittestclass VCXMV
   742 
   757 
   743 VCXMV PauseDownload SERVICE_2 20 0
   758 VCXMV PauseDownload SERVICE_2 20 0
   744 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlPaused
   759 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlPaused
   745 waittestclass VCXMV
   760 waittestclass VCXMV
   746 
   761 
   747 VCXMV ResumeDownload 3G_AP SERVICE_2 20 0 "mediacharger" "Buran_9o"
   762 VCXMV ResumeDownload DEFAULT_AP SERVICE_2 20 0 "mediacharger" "Buran_9o"
   748 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning KVCXMYVideosTestMessageDlProgressed KVCXMYVideosTestMessageDlProgressed
   763 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning KVCXMYVideosTestMessageDlProgressed KVCXMYVideosTestMessageDlProgressed
   749 waittestclass VCXMV
   764 waittestclass VCXMV
   750 
   765 
   751 VCXMV CoolDown
   766 VCXMV CoolDown
   752 
   767 
   763 #  Tests that attributes can be fetched for video that has been downloaded.
   778 #  Tests that attributes can be fetched for video that has been downloaded.
   764 #
   779 #
   765 #------------------------------------------------------------------------------------
   780 #------------------------------------------------------------------------------------
   766 [Test]
   781 [Test]
   767 title ET30115 Details of downloaded video
   782 title ET30115 Details of downloaded video
   768 
   783 var CASE ET30115
   769 create VCXTestUtilModule Util
   784 
   770 Util CreateMobilecrashWatcher
   785 create VCXTestUtilModule Util
   771 
   786 Util CreateMobilecrashWatcher
   772 callsub Cleanup
   787 
   773 
   788 callsub Cleanup
   774 // TESTCASE START
   789 
   775 
   790 // TESTCASE START
   776 create  VCXMyVideosCollectionPluginTest VCXMV
   791 
   777 VCXMV Create
   792 create  VCXMyVideosCollectionPluginTest VCXMV
   778 
   793 VCXMV Create
   779 // Get list of videos
   794 
   780 VCXMV OpenCollection VCXCollectionMyVideos
   795 // Get list of videos
   781 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   796 VCXMV OpenCollection VCXCollectionMyVideos
   782 waittestclass VCXMV
   797 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   783 
   798 waittestclass VCXMV
   784 VCXMV OpenLevel EVcxMyVideosAllVideos
   799 
   785 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   800 VCXMV OpenLevel EVcxMyVideosAllVideos
   786 waittestclass VCXMV
   801 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   787 
   802 waittestclass VCXMV
   788 VCXMV Download 3G_AP SERVICE_SMALLVIDEOS 1 0 "mediacharger" "Buran_9o"
   803 
       
   804 VCXMV Download DEFAULT_AP SERVICE_SMALLVIDEOS 1 0 "mediacharger" "Buran_9o"
   789 VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral
   805 VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral
   790 waittestclass VCXMV // Dl complete
   806 waittestclass VCXMV // Dl complete
   791 
   807 
   792 VCXMV RefreshContents
   808 VCXMV RefreshContents
   793 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   809 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   809 #  Tests that attributes can be fetched for paused download.
   825 #  Tests that attributes can be fetched for paused download.
   810 #
   826 #
   811 #------------------------------------------------------------------------------------
   827 #------------------------------------------------------------------------------------
   812 [Test]
   828 [Test]
   813 title ET30116 Details of paused video
   829 title ET30116 Details of paused video
   814 
   830 var CASE ET30116
   815 create VCXTestUtilModule Util
   831 
   816 Util CreateMobilecrashWatcher
   832 create VCXTestUtilModule Util
   817 
   833 Util CreateMobilecrashWatcher
   818 callsub Cleanup
   834 
   819 
   835 callsub Cleanup
   820 // TESTCASE START
   836 
   821 
   837 // TESTCASE START
   822 create  VCXMyVideosCollectionPluginTest VCXMV
   838 
   823 VCXMV Create
   839 create  VCXMyVideosCollectionPluginTest VCXMV
   824 
   840 VCXMV Create
   825 // Get list of videos
   841 
   826 VCXMV OpenCollection VCXCollectionMyVideos
   842 // Get list of videos
   827 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   843 VCXMV OpenCollection VCXCollectionMyVideos
   828 waittestclass VCXMV
   844 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   829 
   845 waittestclass VCXMV
   830 VCXMV OpenLevel EVcxMyVideosAllVideos
   846 
   831 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   847 VCXMV OpenLevel EVcxMyVideosAllVideos
   832 waittestclass VCXMV
   848 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   833 
   849 waittestclass VCXMV
   834 VCXMV Download 3G_AP SERVICE_2 20 0 "mediacharger" "Buran_9o"
   850 
       
   851 VCXMV Download DEFAULT_AP SERVICE_2 20 0 "mediacharger" "Buran_9o"
   835 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning
   852 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning
   836 waittestclass VCXMV // Dl starts
   853 waittestclass VCXMV // Dl starts
   837 
   854 
   838 VCXMV PauseDownload SERVICE_2 20 0
   855 VCXMV PauseDownload SERVICE_2 20 0
   839 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlPaused
   856 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlPaused
   863 #  Tests that attributes can be fetched for ongoing download.
   880 #  Tests that attributes can be fetched for ongoing download.
   864 #
   881 #
   865 #------------------------------------------------------------------------------------
   882 #------------------------------------------------------------------------------------
   866 [Test]
   883 [Test]
   867 title ET30117 Details of ongoing download
   884 title ET30117 Details of ongoing download
   868 
   885 var CASE ET30117
   869 create VCXTestUtilModule Util
   886 
   870 Util CreateMobilecrashWatcher
   887 create VCXTestUtilModule Util
   871 
   888 Util CreateMobilecrashWatcher
   872 callsub Cleanup
   889 
   873 
   890 callsub Cleanup
   874 // TESTCASE START
   891 
   875 
   892 // TESTCASE START
   876 create  VCXMyVideosCollectionPluginTest VCXMV
   893 
   877 VCXMV Create
   894 create  VCXMyVideosCollectionPluginTest VCXMV
   878 
   895 VCXMV Create
   879 // Get list of videos
   896 
   880 VCXMV OpenCollection VCXCollectionMyVideos
   897 // Get list of videos
   881 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   898 VCXMV OpenCollection VCXCollectionMyVideos
   882 waittestclass VCXMV
   899 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   883 
   900 waittestclass VCXMV
   884 VCXMV OpenLevel EVcxMyVideosAllVideos
   901 
   885 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   902 VCXMV OpenLevel EVcxMyVideosAllVideos
   886 waittestclass VCXMV
   903 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   887 
   904 waittestclass VCXMV
   888 VCXMV Download 3G_AP SERVICE_2 1 0 "mediacharger" "Buran_9o"
   905 
       
   906 VCXMV Download DEFAULT_AP SERVICE_2 1 0 "mediacharger" "Buran_9o"
   889 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCommandComplete
   907 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCommandComplete
   890 waittestclass VCXMV // Dl complete
   908 waittestclass VCXMV // Dl complete
   891 
   909 
   892 VCXMV RefreshContents
   910 VCXMV RefreshContents
   893 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   911 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   913 #  when download is complete. Some attributes are updated when download is complete.
   931 #  when download is complete. Some attributes are updated when download is complete.
   914 #
   932 #
   915 #------------------------------------------------------------------------------------
   933 #------------------------------------------------------------------------------------
   916 [Test]
   934 [Test]
   917 title ET30120 Start download with full attributes
   935 title ET30120 Start download with full attributes
       
   936 var CASE ET30120
   918 
   937 
   919 create VCXTestUtilModule Util
   938 create VCXTestUtilModule Util
   920 Util CreateMobilecrashWatcher
   939 Util CreateMobilecrashWatcher
   921 
   940 
   922 callsub Cleanup
   941 callsub Cleanup
   947 VCXMV SetMediaDetail EVcxTestMapping_KVcxMediaMyVideosAuthor "f"
   966 VCXMV SetMediaDetail EVcxTestMapping_KVcxMediaMyVideosAuthor "f"
   948 //VCXMV SetMediaDetail EVcxTestMapping_KVcxMediaMyVideosOrigin 6
   967 //VCXMV SetMediaDetail EVcxTestMapping_KVcxMediaMyVideosOrigin 6
   949 //VCXMV SetMediaDetail EVcxTestMapping_KVcxMediaMyVideosDuration 7 8
   968 //VCXMV SetMediaDetail EVcxTestMapping_KVcxMediaMyVideosDuration 7 8
   950 VCXMV SetMediaDetail EVcxTestMapping_KMPXMediaGeneralLastPlaybackPosition 9 10
   969 VCXMV SetMediaDetail EVcxTestMapping_KMPXMediaGeneralLastPlaybackPosition 9 10
   951 
   970 
   952 VCXMV DownloadUsingMedia 3G_AP SERVICE_SMALLVIDEOS 1 0 "mediacharger" "Buran_9o"
   971 VCXMV DownloadUsingMedia DEFAULT_AP SERVICE_SMALLVIDEOS 1 0 "mediacharger" "Buran_9o"
   953 VCXMV WaitForAnyMessage 1MINUTE KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral
   972 VCXMV WaitForAnyMessage 1MINUTE KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral
   954 waittestclass VCXMV // Dl complete
   973 waittestclass VCXMV // Dl complete
   955 
   974 
   956 delete VCXMV
   975 delete VCXMV
   957 pause 2000
   976 pause 2000
  1003 #  Tests that download state is not preserved in the collection database.
  1022 #  Tests that download state is not preserved in the collection database.
  1004 #
  1023 #
  1005 #------------------------------------------------------------------------------------
  1024 #------------------------------------------------------------------------------------
  1006 [Test]
  1025 [Test]
  1007 title ET30121 Download state in DB
  1026 title ET30121 Download state in DB
       
  1027 var CASE ET30121
  1008 
  1028 
  1009 create VCXTestUtilModule Util
  1029 create VCXTestUtilModule Util
  1010 Util CreateMobilecrashWatcher
  1030 Util CreateMobilecrashWatcher
  1011 
  1031 
  1012 callsub Cleanup
  1032 callsub Cleanup
  1024 VCXMV OpenLevel EVcxMyVideosAllVideos
  1044 VCXMV OpenLevel EVcxMyVideosAllVideos
  1025 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  1045 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  1026 waittestclass VCXMV
  1046 waittestclass VCXMV
  1027 
  1047 
  1028 // Start download
  1048 // Start download
  1029 VCXMV Download 3G_AP SERVICE_2 20 0 "mediacharger" "Buran_9o"
  1049 VCXMV Download DEFAULT_AP SERVICE_2 20 0 "mediacharger" "Buran_9o"
  1030 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning
  1050 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning
  1031 waittestclass VCXMV // Dl started
  1051 waittestclass VCXMV // Dl started
  1032 
  1052 
  1033 // Cancel it
  1053 // Cancel it
  1034 VCXMV PauseDownload SERVICE_2 20 0
  1054 VCXMV PauseDownload SERVICE_2 20 0
  1066 #
  1086 #
  1067 # CaseClass: core
  1087 # CaseClass: core
  1068 #------------------------------------------------------------------------------------
  1088 #------------------------------------------------------------------------------------
  1069 [Test]
  1089 [Test]
  1070 title ET30122 Download videos to 2 drives
  1090 title ET30122 Download videos to 2 drives
       
  1091 var CASE ET30122
  1071 
  1092 
  1072 create VCXTestUtilModule Util
  1093 create VCXTestUtilModule Util
  1073 Util CreateMobilecrashWatcher
  1094 Util CreateMobilecrashWatcher
  1074 
  1095 
  1075 callsub Cleanup
  1096 callsub Cleanup
  1086 waittestclass VCXMV
  1107 waittestclass VCXMV
  1087 
  1108 
  1088 VCXMV SetPreferredMemory E_DRIVE
  1109 VCXMV SetPreferredMemory E_DRIVE
  1089 pause 2000
  1110 pause 2000
  1090 
  1111 
  1091 VCXMV Download 3G_AP SERVICE_2 0 0 "mediacharger" "Buran_9o"
  1112 VCXMV Download DEFAULT_AP SERVICE_2 0 0 "mediacharger" "Buran_9o"
  1092 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning
  1113 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning
  1093 waittestclass VCXMV // Command complete
  1114 waittestclass VCXMV // Command complete
  1094 
  1115 
  1095 VCXMV SetPreferredMemory C_DRIVE
  1116 VCXMV SetPreferredMemory C_DRIVE
  1096 pause 2000
  1117 pause 2000
  1097 
  1118 
  1098 VCXMV Download 3G_AP SERVICE_SMALLVIDEOS 1 0 "mediacharger" "Buran_9o"
  1119 VCXMV Download DEFAULT_AP SERVICE_SMALLVIDEOS 1 0 "mediacharger" "Buran_9o"
  1099 
  1120 
  1100 VCXMV WaitAllDownloads
  1121 VCXMV WaitAllDownloads
  1101 waittestclass VCXMV
  1122 waittestclass VCXMV
  1102 
  1123 
  1103 VCXMV RefreshContents
  1124 VCXMV RefreshContents
  1117 #  Tests getting full attributes for a downloaded video with MPX ID.
  1138 #  Tests getting full attributes for a downloaded video with MPX ID.
  1118 #
  1139 #
  1119 #------------------------------------------------------------------------------------
  1140 #------------------------------------------------------------------------------------
  1120 [Test]
  1141 [Test]
  1121 title ET30123 Details by MPX ID of downloaded video
  1142 title ET30123 Details by MPX ID of downloaded video
  1122 
  1143 var CASE ET30123
  1123 create VCXTestUtilModule Util
  1144 
  1124 Util CreateMobilecrashWatcher
  1145 create VCXTestUtilModule Util
  1125 
  1146 Util CreateMobilecrashWatcher
  1126 callsub Cleanup
  1147 
  1127 
  1148 callsub Cleanup
  1128 // TESTCASE START
  1149 
  1129 
  1150 // TESTCASE START
  1130 create  VCXMyVideosCollectionPluginTest VCXMV
  1151 
  1131 VCXMV Create
  1152 create  VCXMyVideosCollectionPluginTest VCXMV
  1132 
  1153 VCXMV Create
  1133 // Get list of videos
  1154 
  1134 VCXMV OpenCollection VCXCollectionMyVideos
  1155 // Get list of videos
  1135 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  1156 VCXMV OpenCollection VCXCollectionMyVideos
  1136 waittestclass VCXMV
  1157 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  1137 
  1158 waittestclass VCXMV
  1138 VCXMV OpenLevel EVcxMyVideosAllVideos
  1159 
  1139 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  1160 VCXMV OpenLevel EVcxMyVideosAllVideos
  1140 waittestclass VCXMV
  1161 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  1141 
  1162 waittestclass VCXMV
  1142 VCXMV Download 3G_AP SERVICE_SMALLVIDEOS 1 0 "mediacharger" "Buran_9o"
  1163 
       
  1164 VCXMV Download DEFAULT_AP SERVICE_SMALLVIDEOS 1 0 "mediacharger" "Buran_9o"
  1143 VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral
  1165 VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral
  1144 waittestclass VCXMV // Dl complete
  1166 waittestclass VCXMV // Dl complete
  1145 
  1167 
  1146 VCXMV CheckMediaCount ANY_DRIVE 1
  1168 VCXMV CheckMediaCount ANY_DRIVE 1
  1147 VCXMV GetMediaFullDetailsByMpxId ANY_DRIVE 0
  1169 VCXMV GetMediaFullDetailsByMpxId ANY_DRIVE 0
  1159 #  Tests getting full attributes for a paused download with MPX ID.
  1181 #  Tests getting full attributes for a paused download with MPX ID.
  1160 #
  1182 #
  1161 #------------------------------------------------------------------------------------
  1183 #------------------------------------------------------------------------------------
  1162 [Test]
  1184 [Test]
  1163 title ET30124 Details by MPX ID of paused video
  1185 title ET30124 Details by MPX ID of paused video
  1164 
  1186 var CASE ET30124
  1165 create VCXTestUtilModule Util
  1187 
  1166 Util CreateMobilecrashWatcher
  1188 create VCXTestUtilModule Util
  1167 
  1189 Util CreateMobilecrashWatcher
  1168 callsub Cleanup
  1190 
  1169 
  1191 callsub Cleanup
  1170 // TESTCASE START
  1192 
  1171 
  1193 // TESTCASE START
  1172 create  VCXMyVideosCollectionPluginTest VCXMV
  1194 
  1173 VCXMV Create
  1195 create  VCXMyVideosCollectionPluginTest VCXMV
  1174 
  1196 VCXMV Create
  1175 // Get list of videos
  1197 
  1176 VCXMV OpenCollection VCXCollectionMyVideos
  1198 // Get list of videos
  1177 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  1199 VCXMV OpenCollection VCXCollectionMyVideos
  1178 waittestclass VCXMV
  1200 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  1179 
  1201 waittestclass VCXMV
  1180 VCXMV OpenLevel EVcxMyVideosAllVideos
  1202 
  1181 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  1203 VCXMV OpenLevel EVcxMyVideosAllVideos
  1182 waittestclass VCXMV
  1204 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  1183 
  1205 waittestclass VCXMV
  1184 VCXMV Download 3G_AP SERVICE_2 20 0 "mediacharger" "Buran_9o"
  1206 
       
  1207 VCXMV Download DEFAULT_AP SERVICE_2 20 0 "mediacharger" "Buran_9o"
  1185 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning
  1208 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning
  1186 waittestclass VCXMV // Dl starts
  1209 waittestclass VCXMV // Dl starts
  1187 
  1210 
  1188 VCXMV PauseDownload SERVICE_2 20 0
  1211 VCXMV PauseDownload SERVICE_2 20 0
  1189 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlPaused
  1212 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlPaused
  1213 #  Tests getting full attributes for a ongoing download with MPX ID.
  1236 #  Tests getting full attributes for a ongoing download with MPX ID.
  1214 #
  1237 #
  1215 #------------------------------------------------------------------------------------
  1238 #------------------------------------------------------------------------------------
  1216 [Test]
  1239 [Test]
  1217 title ET30125 Details by MPX ID of ongoing download
  1240 title ET30125 Details by MPX ID of ongoing download
  1218 
  1241 var CASE ET30125
  1219 create VCXTestUtilModule Util
  1242 
  1220 Util CreateMobilecrashWatcher
  1243 create VCXTestUtilModule Util
  1221 
  1244 Util CreateMobilecrashWatcher
  1222 callsub Cleanup
  1245 
  1223 
  1246 callsub Cleanup
  1224 // TESTCASE START
  1247 
  1225 
  1248 // TESTCASE START
  1226 create  VCXMyVideosCollectionPluginTest VCXMV
  1249 
  1227 VCXMV Create
  1250 create  VCXMyVideosCollectionPluginTest VCXMV
  1228 
  1251 VCXMV Create
  1229 // Get list of videos
  1252 
  1230 VCXMV OpenCollection VCXCollectionMyVideos
  1253 // Get list of videos
  1231 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  1254 VCXMV OpenCollection VCXCollectionMyVideos
  1232 waittestclass VCXMV
  1255 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  1233 
  1256 waittestclass VCXMV
  1234 VCXMV OpenLevel EVcxMyVideosAllVideos
  1257 
  1235 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  1258 VCXMV OpenLevel EVcxMyVideosAllVideos
  1236 waittestclass VCXMV
  1259 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  1237 
  1260 waittestclass VCXMV
  1238 VCXMV Download 3G_AP SERVICE_2 1 0 "mediacharger" "Buran_9o"
  1261 
       
  1262 VCXMV Download DEFAULT_AP SERVICE_2 1 0 "mediacharger" "Buran_9o"
  1239 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCommandComplete
  1263 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCommandComplete
  1240 waittestclass VCXMV // Dl complete
  1264 waittestclass VCXMV // Dl complete
  1241 
  1265 
  1242 VCXMV RefreshContents
  1266 VCXMV RefreshContents
  1243 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  1267 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  1264 #
  1288 #
  1265 # CaseClass: core
  1289 # CaseClass: core
  1266 #------------------------------------------------------------------------------------
  1290 #------------------------------------------------------------------------------------
  1267 [Test]
  1291 [Test]
  1268 title ET30126 Start download with full attributes, get details by MPX ID
  1292 title ET30126 Start download with full attributes, get details by MPX ID
       
  1293 var CASE ET30126
  1269 
  1294 
  1270 create VCXTestUtilModule Util
  1295 create VCXTestUtilModule Util
  1271 Util CreateMobilecrashWatcher
  1296 Util CreateMobilecrashWatcher
  1272 
  1297 
  1273 callsub Cleanup
  1298 callsub Cleanup
  1298 VCXMV SetMediaDetail EVcxTestMapping_KVcxMediaMyVideosAuthor "f"
  1323 VCXMV SetMediaDetail EVcxTestMapping_KVcxMediaMyVideosAuthor "f"
  1299 //VCXMV SetMediaDetail EVcxTestMapping_KVcxMediaMyVideosOrigin 6
  1324 //VCXMV SetMediaDetail EVcxTestMapping_KVcxMediaMyVideosOrigin 6
  1300 //VCXMV SetMediaDetail EVcxTestMapping_KVcxMediaMyVideosDuration 7 8
  1325 //VCXMV SetMediaDetail EVcxTestMapping_KVcxMediaMyVideosDuration 7 8
  1301 VCXMV SetMediaDetail EVcxTestMapping_KMPXMediaGeneralLastPlaybackPosition 9 10
  1326 VCXMV SetMediaDetail EVcxTestMapping_KMPXMediaGeneralLastPlaybackPosition 9 10
  1302 
  1327 
  1303 VCXMV DownloadUsingMedia 3G_AP SERVICE_SMALLVIDEOS 1 0 "mediacharger" "Buran_9o"
  1328 VCXMV DownloadUsingMedia DEFAULT_AP SERVICE_SMALLVIDEOS 1 0 "mediacharger" "Buran_9o"
  1304 VCXMV WaitForAnyMessage 1MINUTE KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral
  1329 VCXMV WaitForAnyMessage 1MINUTE KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral
  1305 waittestclass VCXMV // Dl complete
  1330 waittestclass VCXMV // Dl complete
  1306 
  1331 
  1307 delete VCXMV
  1332 delete VCXMV
  1308 pause 2000
  1333 pause 2000