videocollection/mpxmyvideoscollection/tsrc/mpxmvcolltest/conf/VCXMyVideosCollectionPluginTestSorting.cfg
changeset 1 6711b85517b7
parent 0 96612d01cf9f
equal deleted inserted replaced
0:96612d01cf9f 1:6711b85517b7
    40 VCXMV CheckMediaCount ANY_DRIVE 0
    40 VCXMV CheckMediaCount ANY_DRIVE 0
    41 
    41 
    42 print Cleanup OK!
    42 print Cleanup OK!
    43 delete VCXMV
    43 delete VCXMV
    44 
    44 
    45 print wait 3min
    45 print wait 30sec
    46 pause 180000
    46 pause 30000
    47 print cleanup end
    47 print cleanup end
    48 [EndSub]
    48 [EndSub]
    49 #-----------------------------------------------------------------------------------
    49 #-----------------------------------------------------------------------------------
    50 
    50 
    51 #-----------------------------------------------------------------------------------
    51 #-----------------------------------------------------------------------------------
   121 #  Sets preferred memory to first used drive and sorting order to none.
   121 #  Sets preferred memory to first used drive and sorting order to none.
   122 #  Removes all video files from the device.
   122 #  Removes all video files from the device.
   123 #
   123 #
   124 #------------------------------------------------------------------------------------
   124 #------------------------------------------------------------------------------------
   125 [Test]
   125 [Test]
   126 title ET30800 <not a test> Setup
   126 title ET30800 <not a test> Setup origin to downloaded
       
   127 var CASE ET30800
   127 
   128 
   128 create VCXTestUtilModule Util
   129 create VCXTestUtilModule Util
   129 
   130 
       
   131 Util SetUsedDestination "Internet"
   130 // Copies some known 3G AP to "Internet" destination with "Internet" name for the AP.
   132 // Copies some known 3G AP to "Internet" destination with "Internet" name for the AP.
   131 Util CopyMethod "Internet" "Internet" "Internet"
   133 Util CopyMethod "Internet" "Internet" "Internet"
   132 // Disable connection dialog for "Internet" destination.
   134 // Disable connection dialog for "Internet" destination.
   133 Util SetConnectionMethodIntAttribute "Internet" "Internet" 507 2 // 507 is ECmSeamlessnessLevel
   135 Util SetConnectionMethodIntAttribute "Internet" "Internet" 507 2 // 507 is ECmSeamlessnessLevel
       
   136 Util SetDefaultIapCenrep
   134 delete Util
   137 delete Util
   135 
   138 
   136 create VCXTestUtilModule Util
   139 create VCXTestUtilModule Util
   137 Util CreateMobilecrashWatcher
   140 Util CreateMobilecrashWatcher
   138 
   141 
   142 VCXMV SetPreferredMemory E_DRIVE
   145 VCXMV SetPreferredMemory E_DRIVE
   143 VCXMV SetSortingOrder EVcxMyVideosSortingNone
   146 VCXMV SetSortingOrder EVcxMyVideosSortingNone
   144 delete VCXMV
   147 delete VCXMV
   145 
   148 
   146 callsub Cleanup
   149 callsub Cleanup
       
   150 
       
   151 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
       
   152 callsub SetupVideos
   147 
   153 
   148 Util CheckMobilecrashes
   154 Util CheckMobilecrashes
   149 pause 1000
   155 pause 1000
   150 delete Util
   156 delete Util
   151 [Endtest]
   157 [Endtest]
   155 #  Tests getting video list of category 'All videos' when videos are sorted by nothing.
   161 #  Tests getting video list of category 'All videos' when videos are sorted by nothing.
   156 #
   162 #
   157 #------------------------------------------------------------------------------------
   163 #------------------------------------------------------------------------------------
   158 [Test]
   164 [Test]
   159 title ET30801 EVcxMyVideosAllVideos - EVcxMyVideosSortingNone
   165 title ET30801 EVcxMyVideosAllVideos - EVcxMyVideosSortingNone
   160 
   166 var CASE ET30801
   161 callsub Cleanup
       
   162 
       
   163 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
       
   164 callsub SetupVideos
       
   165 
   167 
   166 create VCXMyVideosCollectionPluginTest VCXMV
   168 create VCXMyVideosCollectionPluginTest VCXMV
   167 VCXMV Create
   169 VCXMV Create
   168 
   170 
   169 VCXMV SetSortingOrder EVcxMyVideosSortingNone
   171 VCXMV SetSortingOrder EVcxMyVideosSortingNone
   188 #  Tests getting video list of category 'All videos' when videos are sorted by ID.
   190 #  Tests getting video list of category 'All videos' when videos are sorted by ID.
   189 #
   191 #
   190 #------------------------------------------------------------------------------------
   192 #------------------------------------------------------------------------------------
   191 [Test]
   193 [Test]
   192 title ET30802 EVcxMyVideosAllVideos - EVcxMyVideosSortingId
   194 title ET30802 EVcxMyVideosAllVideos - EVcxMyVideosSortingId
   193 
   195 var CASE ET30802
   194 callsub Cleanup
       
   195 
       
   196 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
       
   197 callsub SetupVideos
       
   198 
   196 
   199 create VCXMyVideosCollectionPluginTest VCXMV
   197 create VCXMyVideosCollectionPluginTest VCXMV
   200 VCXMV Create
   198 VCXMV Create
   201 VCXMV SetSortingOrder EVcxMyVideosSortingId
   199 VCXMV SetSortingOrder EVcxMyVideosSortingId
   202 
   200 
   224 #
   222 #
   225 # CaseClass: core
   223 # CaseClass: core
   226 #------------------------------------------------------------------------------------
   224 #------------------------------------------------------------------------------------
   227 [Test]
   225 [Test]
   228 title ET30803 EVcxMyVideosAllVideos - EVcxMyVideosSortingCreationDate
   226 title ET30803 EVcxMyVideosAllVideos - EVcxMyVideosSortingCreationDate
   229 
   227 var CASE ET30803
   230 callsub Cleanup
       
   231 
       
   232 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
       
   233 callsub SetupVideos
       
   234 
   228 
   235 // Check video sorting
   229 // Check video sorting
   236 
   230 
   237 create VCXMyVideosCollectionPluginTest VCXMV
   231 create VCXMyVideosCollectionPluginTest VCXMV
   238 VCXMV Create
   232 VCXMV Create
   264 #  Tests getting video list of category 'All videos' when videos are sorted by modified date.
   258 #  Tests getting video list of category 'All videos' when videos are sorted by modified date.
   265 #
   259 #
   266 #------------------------------------------------------------------------------------
   260 #------------------------------------------------------------------------------------
   267 [Test]
   261 [Test]
   268 title ET30804 EVcxMyVideosAllVideos - EVcxMyVideosSortingModified
   262 title ET30804 EVcxMyVideosAllVideos - EVcxMyVideosSortingModified
   269 
   263 var CASE ET30804
   270 callsub Cleanup
       
   271 
       
   272 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
       
   273 callsub SetupVideos
       
   274 
   264 
   275 // Check order
   265 // Check order
   276 
   266 
   277 // ORDER NOT SUPPORTED SO NO CHECKING!
   267 // ORDER NOT SUPPORTED SO NO CHECKING!
   278 
   268 
   304 #
   294 #
   305 # CaseClass: core
   295 # CaseClass: core
   306 #------------------------------------------------------------------------------------
   296 #------------------------------------------------------------------------------------
   307 [Test]
   297 [Test]
   308 title ET30805 EVcxMyVideosAllVideos - EVcxMyVideosSortingName
   298 title ET30805 EVcxMyVideosAllVideos - EVcxMyVideosSortingName
   309 
   299 var CASE ET30805
   310 callsub Cleanup
       
   311 
       
   312 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
       
   313 callsub SetupVideos
       
   314 
   300 
   315 // Check sorting
   301 // Check sorting
   316 
   302 
   317 create VCXMyVideosCollectionPluginTest VCXMV
   303 create VCXMyVideosCollectionPluginTest VCXMV
   318 VCXMV Create
   304 VCXMV Create
   344 #
   330 #
   345 # CaseClass: core
   331 # CaseClass: core
   346 #------------------------------------------------------------------------------------
   332 #------------------------------------------------------------------------------------
   347 [Test]
   333 [Test]
   348 title ET30806 EVcxMyVideosAllVideos - EVcxMyVideosSortingSize
   334 title ET30806 EVcxMyVideosAllVideos - EVcxMyVideosSortingSize
   349 
   335 var CASE ET30806
   350 callsub Cleanup
       
   351 
       
   352 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
       
   353 callsub SetupVideos
       
   354 
       
   355 // Get videos sorted
       
   356 
   336 
   357 create VCXMyVideosCollectionPluginTest VCXMV
   337 create VCXMyVideosCollectionPluginTest VCXMV
   358 VCXMV Create
   338 VCXMV Create
   359 VCXMV SetSortingOrder EVcxMyVideosSortingSize
   339 VCXMV SetSortingOrder EVcxMyVideosSortingSize
   360 
   340 
   378 delete VCXMV
   358 delete VCXMV
   379 [Endtest]
   359 [Endtest]
   380 
   360 
   381 #------------------------------------------------------------------------------------
   361 #------------------------------------------------------------------------------------
   382 #
   362 #
   383 #  Tests that video list is in correct order in category 'All videos' when video is removed
   363 #  Tests that video list is in correct order in category 'Downloads' when videos are sorted by nothing.
   384 #  and videos are sorted by name.
   364 #
   385 #
   365 #------------------------------------------------------------------------------------
   386 #------------------------------------------------------------------------------------
   366 [Test]
   387 [Test]
   367 title ET30831 EVcxMyVideosDownloads - EVcxMyVideosSortingNone
   388 title ET30813 EVcxMyVideosAllVideos - EVcxMyVideosSortingName, remove video
   368 var CASE ET30831
   389 
   369 
   390 callsub Cleanup
   370 create VCXMyVideosCollectionPluginTest VCXMV
   391 
   371 VCXMV Create
   392 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
   372 
   393 callsub SetupVideos
   373 VCXMV SetSortingOrder EVcxMyVideosSortingNone
   394 
   374 
   395 // Get videos sorted
   375 VCXMV OpenCollection VCXCollectionMyVideos
       
   376 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
   377 waittestclass VCXMV
       
   378 
       
   379 VCXMV OpenLevel EVcxMyVideosDownloads
       
   380 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
   381 waittestclass VCXMV
       
   382 
       
   383 // Check count. Order can be anything.
       
   384 VCXMV CheckMediaCount ANY_DRIVE 3
       
   385 
       
   386 print OK!
       
   387 delete VCXMV
       
   388 [Endtest]
       
   389 
       
   390 #------------------------------------------------------------------------------------
       
   391 #
       
   392 #  Tests that video list is in correct order in category 'Downloads' when videos are sorted by id.
       
   393 #
       
   394 #------------------------------------------------------------------------------------
       
   395 [Test]
       
   396 title ET30832 EVcxMyVideosDownloads - EVcxMyVideosSortingId
       
   397 var CASE ET30832
       
   398 
       
   399 create VCXMyVideosCollectionPluginTest VCXMV
       
   400 VCXMV Create
       
   401 VCXMV SetSortingOrder EVcxMyVideosSortingId
       
   402 
       
   403 VCXMV OpenCollection VCXCollectionMyVideos
       
   404 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
   405 waittestclass VCXMV
       
   406 
       
   407 VCXMV OpenLevel EVcxMyVideosDownloads
       
   408 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
   409 waittestclass VCXMV
       
   410 
       
   411 // Check count and sort order
       
   412 VCXMV CheckMediaCount ANY_DRIVE 3
       
   413 VCXMV GetAllMediaFullDetails
       
   414 
       
   415 // SORTING ORDER NOT SUPPORTED
       
   416 
       
   417 print OK!
       
   418 delete VCXMV
       
   419 [Endtest]
       
   420 
       
   421 #------------------------------------------------------------------------------------
       
   422 #
       
   423 #  Tests that video list is in correct order in category 'Downloads' when videos are sorted by creation date.
       
   424 #
       
   425 #------------------------------------------------------------------------------------
       
   426 [Test]
       
   427 title ET30833 EVcxMyVideosDownloads - EVcxMyVideosSortingCreationDate
       
   428 var CASE ET30833
       
   429 
       
   430 // Check video sorting
       
   431 
       
   432 create VCXMyVideosCollectionPluginTest VCXMV
       
   433 VCXMV Create
       
   434 VCXMV SetSortingOrder EVcxMyVideosSortingCreationDate
       
   435 
       
   436 VCXMV OpenCollection VCXCollectionMyVideos
       
   437 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
   438 waittestclass VCXMV
       
   439 
       
   440 VCXMV OpenLevel EVcxMyVideosDownloads
       
   441 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
   442 waittestclass VCXMV
       
   443 
       
   444 // Check count and sort order
       
   445 
       
   446 VCXMV CheckMediaCount ANY_DRIVE 3
       
   447 VCXMV GetAllMediaFullDetails
       
   448 
       
   449 VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "b"
       
   450 VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "a"
       
   451 VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "c"
       
   452 
       
   453 print OK!
       
   454 delete VCXMV
       
   455 [Endtest]
       
   456 
       
   457 #------------------------------------------------------------------------------------
       
   458 #
       
   459 #  Tests that video list is in correct order in category 'Downloads' when videos are sorted by modified date.
       
   460 #
       
   461 #------------------------------------------------------------------------------------
       
   462 [Test]
       
   463 title ET30834 EVcxMyVideosDownloads - EVcxMyVideosSortingModified
       
   464 var CASE ET30834
       
   465 
       
   466 // Check order
       
   467 
       
   468 // ORDER NOT SUPPORTED SO NO CHECKING!
       
   469 
       
   470 create VCXMyVideosCollectionPluginTest VCXMV
       
   471 VCXMV Create
       
   472 VCXMV SetSortingOrder EVcxMyVideosSortingModified
       
   473 
       
   474 VCXMV OpenCollection VCXCollectionMyVideos
       
   475 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
   476 waittestclass VCXMV
       
   477 
       
   478 VCXMV OpenLevel EVcxMyVideosDownloads
       
   479 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
   480 waittestclass VCXMV
       
   481 
       
   482 VCXMV GetAllMediaFullDetails
       
   483 
       
   484 //VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "b"
       
   485 //VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "c"
       
   486 //VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "e"
       
   487 
       
   488 print OK!
       
   489 delete VCXMV
       
   490 [Endtest]
       
   491 
       
   492 #------------------------------------------------------------------------------------
       
   493 #
       
   494 #  Tests that video list is in correct order in category 'Downloads' when videos are sorted by name.
       
   495 #
       
   496 #------------------------------------------------------------------------------------
       
   497 [Test]
       
   498 title ET30835 EVcxMyVideosDownloads - EVcxMyVideosSortingName
       
   499 var CASE ET30835
       
   500 
       
   501 // Check sorting
   396 
   502 
   397 create VCXMyVideosCollectionPluginTest VCXMV
   503 create VCXMyVideosCollectionPluginTest VCXMV
   398 VCXMV Create
   504 VCXMV Create
   399 VCXMV SetSortingOrder EVcxMyVideosSortingName
   505 VCXMV SetSortingOrder EVcxMyVideosSortingName
   400 
   506 
   401 VCXMV OpenCollection VCXCollectionMyVideos
   507 VCXMV OpenCollection VCXCollectionMyVideos
   402 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   508 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   403 waittestclass VCXMV
   509 waittestclass VCXMV
   404 
   510 
   405 VCXMV OpenLevel EVcxMyVideosAllVideos
   511 VCXMV OpenLevel EVcxMyVideosDownloads
   406 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   512 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   407 waittestclass VCXMV
   513 waittestclass VCXMV
   408 
       
   409 // Check count and sort order
       
   410 
   514 
   411 VCXMV CheckMediaCount ANY_DRIVE 3
   515 VCXMV CheckMediaCount ANY_DRIVE 3
   412 
   516 
   413 VCXMV GetAllMediaFullDetails
   517 VCXMV GetAllMediaFullDetails
   414 
   518 
   415 VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "a"
   519 VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "a"
   416 VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "b"
   520 VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "b"
   417 VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "c"
   521 VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "c"
   418 
   522 
       
   523 print OK!
       
   524 delete VCXMV
       
   525 [Endtest]
       
   526 
       
   527 #------------------------------------------------------------------------------------
       
   528 #
       
   529 #  Tests that video list is in correct order in category 'Downloads' when videos are sorted by size.
       
   530 #
       
   531 #------------------------------------------------------------------------------------
       
   532 [Test]
       
   533 title ET30836 EVcxMyVideosDownloads - EVcxMyVideosSortingSize
       
   534 var CASE ET30836
       
   535 
       
   536 // Get videos sorted
       
   537 
       
   538 create VCXMyVideosCollectionPluginTest VCXMV
       
   539 VCXMV Create
       
   540 VCXMV SetSortingOrder EVcxMyVideosSortingSize
       
   541 
       
   542 VCXMV OpenCollection VCXCollectionMyVideos
       
   543 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
   544 waittestclass VCXMV
       
   545 
       
   546 VCXMV OpenLevel EVcxMyVideosDownloads
       
   547 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
   548 waittestclass VCXMV
       
   549 
       
   550 VCXMV CheckMediaCount ANY_DRIVE 3
       
   551 
       
   552 VCXMV GetAllMediaFullDetails
       
   553 
       
   554 VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "a"
       
   555 VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "c"
       
   556 VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "b"
       
   557 
       
   558 print OK!
       
   559 delete VCXMV
       
   560 [Endtest]
       
   561 
       
   562 #------------------------------------------------------------------------------------
       
   563 # Setup for other origin videos
       
   564 #------------------------------------------------------------------------------------
       
   565 [Test]
       
   566 title ET30899 <not a test> Setup origin to other
       
   567 var CASE ET30899
       
   568 
       
   569 create VCXTestUtilModule Util
       
   570 
       
   571 // Copies some known 3G AP to "Internet" destination with "Internet" name for the AP.
       
   572 Util SetUsedDestination "Internet"
       
   573 Util CopyMethod "Internet" "Internet" "Internet"
       
   574 // Disable connection dialog for "Internet" destination.
       
   575 Util SetConnectionMethodIntAttribute "Internet" "Internet" 507 2 // 507 is ECmSeamlessnessLevel
       
   576 Util SetDefaultIapCenrep
       
   577 delete Util
       
   578 
       
   579 create VCXTestUtilModule Util
       
   580 Util CreateMobilecrashWatcher
       
   581 
       
   582 create VCXMyVideosCollectionPluginTest VCXMV
       
   583 VCXMV Create
       
   584 
       
   585 VCXMV SetPreferredMemory E_DRIVE
       
   586 VCXMV SetSortingOrder EVcxMyVideosSortingNone
       
   587 delete VCXMV
       
   588 
       
   589 callsub Cleanup
       
   590 
       
   591 var OPTION_ORIGIN EVcxMyVideosOriginOther
       
   592 callsub SetupVideos
       
   593 
       
   594 Util CheckMobilecrashes
       
   595 pause 1000
       
   596 delete Util
       
   597 [Endtest]
       
   598 
       
   599 #------------------------------------------------------------------------------------
       
   600 #
       
   601 #  Tests that video list is in correct order in category 'Other' when videos are sorted by nothing.
       
   602 #
       
   603 #------------------------------------------------------------------------------------
       
   604 [Test]
       
   605 title ET30861 EVcxMyVideosOther - EVcxMyVideosSortingNone
       
   606 var CASE ET30861
       
   607 
       
   608 create VCXMyVideosCollectionPluginTest VCXMV
       
   609 VCXMV Create
       
   610 
       
   611 VCXMV SetSortingOrder EVcxMyVideosSortingNone
       
   612 
       
   613 VCXMV OpenCollection VCXCollectionMyVideos
       
   614 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
   615 waittestclass VCXMV
       
   616 
       
   617 VCXMV OpenLevel EVcxMyVideosOther
       
   618 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
   619 waittestclass VCXMV
       
   620 
       
   621 // Check count. Order can be anything.
       
   622 VCXMV CheckMediaCount ANY_DRIVE 3
       
   623 
       
   624 print OK!
       
   625 delete VCXMV
       
   626 [Endtest]
       
   627 
       
   628 #------------------------------------------------------------------------------------
       
   629 #
       
   630 #  Tests that video list is in correct order in category 'Other' when videos are sorted by ID.
       
   631 #
       
   632 #------------------------------------------------------------------------------------
       
   633 [Test]
       
   634 title ET30862 EVcxMyVideosOther - EVcxMyVideosSortingId
       
   635 var CASE ET30862
       
   636 
       
   637 create VCXMyVideosCollectionPluginTest VCXMV
       
   638 VCXMV Create
       
   639 VCXMV SetSortingOrder EVcxMyVideosSortingId
       
   640 
       
   641 VCXMV OpenCollection VCXCollectionMyVideos
       
   642 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
   643 waittestclass VCXMV
       
   644 
       
   645 VCXMV OpenLevel EVcxMyVideosOther
       
   646 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
   647 waittestclass VCXMV
       
   648 
       
   649 // Check count and sort order
       
   650 VCXMV CheckMediaCount ANY_DRIVE 3
       
   651 VCXMV GetAllMediaFullDetails
       
   652 
       
   653 // SORTING ORDER NOT SUPPORTED
       
   654 
       
   655 print OK!
       
   656 delete VCXMV
       
   657 [Endtest]
       
   658 
       
   659 #------------------------------------------------------------------------------------
       
   660 #
       
   661 #  Tests that video list is in correct order in category 'Other' when videos are sorted by creation date.
       
   662 #
       
   663 #------------------------------------------------------------------------------------
       
   664 [Test]
       
   665 title ET30863 EVcxMyVideosOther - EVcxMyVideosSortingCreationDate
       
   666 var CASE ET30863
       
   667 
       
   668 // Check video sorting
       
   669 
       
   670 create VCXMyVideosCollectionPluginTest VCXMV
       
   671 VCXMV Create
       
   672 VCXMV SetSortingOrder EVcxMyVideosSortingCreationDate
       
   673 
       
   674 VCXMV OpenCollection VCXCollectionMyVideos
       
   675 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
   676 waittestclass VCXMV
       
   677 
       
   678 VCXMV OpenLevel EVcxMyVideosOther
       
   679 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
   680 waittestclass VCXMV
       
   681 
       
   682 // Check count and sort order
       
   683 
       
   684 VCXMV CheckMediaCount ANY_DRIVE 3
       
   685 VCXMV GetAllMediaFullDetails
       
   686 
       
   687 VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "b"
       
   688 VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "a"
       
   689 VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "c"
       
   690 
       
   691 print OK!
       
   692 delete VCXMV
       
   693 [Endtest]
       
   694 
       
   695 #------------------------------------------------------------------------------------
       
   696 #
       
   697 #  Tests that video list is in correct order in category 'Other' when videos are sorted by modified date.
       
   698 #
       
   699 #------------------------------------------------------------------------------------
       
   700 [Test]
       
   701 title ET30864 EVcxMyVideosOther - EVcxMyVideosSortingModified
       
   702 var CASE ET30864
       
   703 
       
   704 // Check order
       
   705 
       
   706 // ORDER NOT SUPPORTED SO NO CHECKING!
       
   707 
       
   708 create VCXMyVideosCollectionPluginTest VCXMV
       
   709 VCXMV Create
       
   710 VCXMV SetSortingOrder EVcxMyVideosSortingModified
       
   711 
       
   712 VCXMV OpenCollection VCXCollectionMyVideos
       
   713 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
   714 waittestclass VCXMV
       
   715 
       
   716 VCXMV OpenLevel EVcxMyVideosOther
       
   717 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
   718 waittestclass VCXMV
       
   719 
       
   720 VCXMV GetAllMediaFullDetails
       
   721 
       
   722 //VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "b"
       
   723 //VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "c"
       
   724 //VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "e"
       
   725 
       
   726 print OK!
       
   727 delete VCXMV
       
   728 [Endtest]
       
   729 
       
   730 #------------------------------------------------------------------------------------
       
   731 #
       
   732 #  Tests that video list is in correct order in category 'Other' when videos are sorted by name.
       
   733 #
       
   734 #------------------------------------------------------------------------------------
       
   735 [Test]
       
   736 title ET30865 EVcxMyVideosOther - EVcxMyVideosSortingName
       
   737 var CASE ET30865
       
   738 
       
   739 // Check sorting
       
   740 
       
   741 create VCXMyVideosCollectionPluginTest VCXMV
       
   742 VCXMV Create
       
   743 VCXMV SetSortingOrder EVcxMyVideosSortingName
       
   744 
       
   745 VCXMV OpenCollection VCXCollectionMyVideos
       
   746 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
   747 waittestclass VCXMV
       
   748 
       
   749 VCXMV OpenLevel EVcxMyVideosOther
       
   750 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
   751 waittestclass VCXMV
       
   752 
       
   753 VCXMV CheckMediaCount ANY_DRIVE 3
       
   754 
       
   755 VCXMV GetAllMediaFullDetails
       
   756 
       
   757 VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "a"
       
   758 VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "b"
       
   759 VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "c"
       
   760 
       
   761 print OK!
       
   762 delete VCXMV
       
   763 [Endtest]
       
   764 
       
   765 #------------------------------------------------------------------------------------
       
   766 #
       
   767 #  Tests that video list is in correct order in category 'Other' when videos are sorted by size.
       
   768 #
       
   769 #------------------------------------------------------------------------------------
       
   770 [Test]
       
   771 title ET30866 EVcxMyVideosOther - EVcxMyVideosSortingSize
       
   772 var CASE ET30866
       
   773 
       
   774 // Get videos sorted
       
   775 
       
   776 create VCXMyVideosCollectionPluginTest VCXMV
       
   777 VCXMV Create
       
   778 VCXMV SetSortingOrder EVcxMyVideosSortingSize
       
   779 
       
   780 VCXMV OpenCollection VCXCollectionMyVideos
       
   781 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
   782 waittestclass VCXMV
       
   783 
       
   784 VCXMV OpenLevel EVcxMyVideosOther
       
   785 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
   786 waittestclass VCXMV
       
   787 
       
   788 VCXMV CheckMediaCount ANY_DRIVE 3
       
   789 
       
   790 VCXMV GetAllMediaFullDetails
       
   791 
       
   792 VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "a"
       
   793 VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "c"
       
   794 VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "b"
       
   795 
       
   796 print OK!
       
   797 delete VCXMV
       
   798 [Endtest]
       
   799 
       
   800 #------------------------------------------------------------------------------------
       
   801 #
       
   802 #  Tests that video list is in correct order in category 'All videos' when video is removed
       
   803 #  and videos are sorted by name.
       
   804 #
       
   805 #------------------------------------------------------------------------------------
       
   806 [Test]
       
   807 title ET30813 EVcxMyVideosAllVideos - EVcxMyVideosSortingName, remove video
       
   808 var CASE ET30813
       
   809 
       
   810 callsub Cleanup
       
   811 
       
   812 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
       
   813 callsub SetupVideos
       
   814 
       
   815 create VCXMyVideosCollectionPluginTest VCXMV
       
   816 VCXMV Create
       
   817 VCXMV SetSortingOrder EVcxMyVideosSortingName
       
   818 
       
   819 VCXMV OpenCollection VCXCollectionMyVideos
       
   820 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
   821 waittestclass VCXMV
       
   822 
       
   823 VCXMV OpenLevel EVcxMyVideosAllVideos
       
   824 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
   825 waittestclass VCXMV
       
   826 
       
   827 // Check count and sort order
       
   828 
       
   829 VCXMV CheckMediaCount ANY_DRIVE 3
       
   830 
       
   831 VCXMV GetAllMediaFullDetails
       
   832 
       
   833 VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "a"
       
   834 VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "b"
       
   835 VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "c"
       
   836 
   419 // Remove one of them
   837 // Remove one of them
   420 
   838 
   421 VCXMV RemoveMedia ANY_DRIVE 1 0
   839 VCXMV RemoveMedia ANY_DRIVE 1 0
   422 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   840 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
   423 waittestclass VCXMV
   841 waittestclass VCXMV
   436 #  and videos are sorted by nothing.
   854 #  and videos are sorted by nothing.
   437 #
   855 #
   438 #------------------------------------------------------------------------------------
   856 #------------------------------------------------------------------------------------
   439 [Test]
   857 [Test]
   440 title ET30814 EVcxMyVideosAllVideos - EVcxMyVideosSortingNone, remove video
   858 title ET30814 EVcxMyVideosAllVideos - EVcxMyVideosSortingNone, remove video
       
   859 var CASE ET30814
   441 
   860 
   442 callsub Cleanup
   861 callsub Cleanup
   443 
   862 
   444 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
   863 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
   445 callsub SetupVideos
   864 callsub SetupVideos
   446 
       
   447 // Get videos sorted
       
   448 
   865 
   449 create VCXMyVideosCollectionPluginTest VCXMV
   866 create VCXMyVideosCollectionPluginTest VCXMV
   450 VCXMV Create
   867 VCXMV Create
   451 VCXMV SetSortingOrder EVcxMyVideosSortingNone
   868 VCXMV SetSortingOrder EVcxMyVideosSortingNone
   452 
   869 
   480 #  and videos are sorted by ID.
   897 #  and videos are sorted by ID.
   481 #
   898 #
   482 #------------------------------------------------------------------------------------
   899 #------------------------------------------------------------------------------------
   483 [Test]
   900 [Test]
   484 title ET30815 EVcxMyVideosAllVideos - EVcxMyVideosSortingId, remove video
   901 title ET30815 EVcxMyVideosAllVideos - EVcxMyVideosSortingId, remove video
       
   902 var CASE ET30815
   485 
   903 
   486 callsub Cleanup
   904 callsub Cleanup
   487 
   905 
   488 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
   906 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
   489 callsub SetupVideos
   907 callsub SetupVideos
   490 
       
   491 // Get videos sorted
       
   492 
   908 
   493 create VCXMyVideosCollectionPluginTest VCXMV
   909 create VCXMyVideosCollectionPluginTest VCXMV
   494 VCXMV Create
   910 VCXMV Create
   495 VCXMV SetSortingOrder EVcxMyVideosSortingId
   911 VCXMV SetSortingOrder EVcxMyVideosSortingId
   496 
   912 
   531 #  and videos are sorted by creation date.
   947 #  and videos are sorted by creation date.
   532 #
   948 #
   533 #------------------------------------------------------------------------------------
   949 #------------------------------------------------------------------------------------
   534 [Test]
   950 [Test]
   535 title ET30816 EVcxMyVideosAllVideos - EVcxMyVideosSortingCreationDate, remove video
   951 title ET30816 EVcxMyVideosAllVideos - EVcxMyVideosSortingCreationDate, remove video
       
   952 var CASE ET30816
   536 
   953 
   537 callsub Cleanup
   954 callsub Cleanup
   538 
   955 
   539 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
   956 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
   540 callsub SetupVideos
   957 callsub SetupVideos
   581 #  and videos are sorted by modified date.
   998 #  and videos are sorted by modified date.
   582 #
   999 #
   583 #------------------------------------------------------------------------------------
  1000 #------------------------------------------------------------------------------------
   584 [Test]
  1001 [Test]
   585 title ET30817 EVcxMyVideosAllVideos - EVcxMyVideosSortingModified, remove video
  1002 title ET30817 EVcxMyVideosAllVideos - EVcxMyVideosSortingModified, remove video
       
  1003 var CASE ET30817
   586 
  1004 
   587 callsub Cleanup
  1005 callsub Cleanup
   588 
  1006 
   589 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
  1007 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
   590 callsub SetupVideos
  1008 callsub SetupVideos
   633 #  and videos are sorted by size.
  1051 #  and videos are sorted by size.
   634 #
  1052 #
   635 #------------------------------------------------------------------------------------
  1053 #------------------------------------------------------------------------------------
   636 [Test]
  1054 [Test]
   637 title ET30818 EVcxMyVideosAllVideos - EVcxMyVideosSortingSize, remove video
  1055 title ET30818 EVcxMyVideosAllVideos - EVcxMyVideosSortingSize, remove video
       
  1056 var CASE ET30818
   638 
  1057 
   639 callsub Cleanup
  1058 callsub Cleanup
   640 
  1059 
   641 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
  1060 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
   642 callsub SetupVideos
  1061 callsub SetupVideos
   683 #  so that order changes and videos are sorted by name.
  1102 #  so that order changes and videos are sorted by name.
   684 #
  1103 #
   685 #------------------------------------------------------------------------------------
  1104 #------------------------------------------------------------------------------------
   686 [Test]
  1105 [Test]
   687 title ET30819 EVcxMyVideosAllVideos - EVcxMyVideosSortingName, modify video
  1106 title ET30819 EVcxMyVideosAllVideos - EVcxMyVideosSortingName, modify video
       
  1107 var CASE ET30819
   688 
  1108 
   689 callsub Cleanup
  1109 callsub Cleanup
   690 
  1110 
   691 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
  1111 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
   692 callsub SetupVideos
  1112 callsub SetupVideos
   754 #  and videos are sorted by nothing.
  1174 #  and videos are sorted by nothing.
   755 #
  1175 #
   756 #------------------------------------------------------------------------------------
  1176 #------------------------------------------------------------------------------------
   757 [Test]
  1177 [Test]
   758 title ET30820 EVcxMyVideosAllVideos - EVcxMyVideosSortingNone, modify video
  1178 title ET30820 EVcxMyVideosAllVideos - EVcxMyVideosSortingNone, modify video
       
  1179 var CASE ET30820
   759 
  1180 
   760 callsub Cleanup
  1181 callsub Cleanup
   761 
  1182 
   762 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
  1183 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
   763 callsub SetupVideos
  1184 callsub SetupVideos
   811 #  and videos are sorted by id.
  1232 #  and videos are sorted by id.
   812 #
  1233 #
   813 #------------------------------------------------------------------------------------
  1234 #------------------------------------------------------------------------------------
   814 [Test]
  1235 [Test]
   815 title ET30821 EVcxMyVideosAllVideos - EVcxMyVideosSortingId, modify video
  1236 title ET30821 EVcxMyVideosAllVideos - EVcxMyVideosSortingId, modify video
       
  1237 var CASE ET30821
   816 
  1238 
   817 callsub Cleanup
  1239 callsub Cleanup
   818 
  1240 
   819 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
  1241 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
   820 callsub SetupVideos
  1242 callsub SetupVideos
   876 #  and videos are sorted by modified date.
  1298 #  and videos are sorted by modified date.
   877 #
  1299 #
   878 #------------------------------------------------------------------------------------
  1300 #------------------------------------------------------------------------------------
   879 [Test]
  1301 [Test]
   880 title ET30822 EVcxMyVideosAllVideos - EVcxMyVideosSortingModified, modify video
  1302 title ET30822 EVcxMyVideosAllVideos - EVcxMyVideosSortingModified, modify video
       
  1303 var CASE ET30822
   881 
  1304 
   882 callsub Cleanup
  1305 callsub Cleanup
   883 
  1306 
   884 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
  1307 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
   885 callsub SetupVideos
  1308 callsub SetupVideos
   929 #  so that order changes and videos are sorted by size.
  1352 #  so that order changes and videos are sorted by size.
   930 #
  1353 #
   931 #------------------------------------------------------------------------------------
  1354 #------------------------------------------------------------------------------------
   932 [Test]
  1355 [Test]
   933 title ET30823 EVcxMyVideosAllVideos - EVcxMyVideosSortingSize, modify video
  1356 title ET30823 EVcxMyVideosAllVideos - EVcxMyVideosSortingSize, modify video
       
  1357 var CASE ET30823
   934 
  1358 
   935 callsub Cleanup
  1359 callsub Cleanup
   936 
  1360 
   937 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
  1361 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
   938 callsub SetupVideos
  1362 callsub SetupVideos
  1004 #  changes because video is added by sideloading. Videos are sorted by name.
  1428 #  changes because video is added by sideloading. Videos are sorted by name.
  1005 #
  1429 #
  1006 #------------------------------------------------------------------------------------
  1430 #------------------------------------------------------------------------------------
  1007 [Test]
  1431 [Test]
  1008 title ET30824 EVcxMyVideosAllVideos - EVcxMyVideosSortingName, sideload video
  1432 title ET30824 EVcxMyVideosAllVideos - EVcxMyVideosSortingName, sideload video
       
  1433 var CASE ET30824
  1009 
  1434 
  1010 callsub Cleanup
  1435 callsub Cleanup
  1011 
  1436 
  1012 create VCXMyVideosCollectionPluginTest VCXMV
  1437 create VCXMyVideosCollectionPluginTest VCXMV
  1013 VCXMV Create
  1438 VCXMV Create
  1072 #  changes because video is added by download. Videos are sorted by name.
  1497 #  changes because video is added by download. Videos are sorted by name.
  1073 #
  1498 #
  1074 #------------------------------------------------------------------------------------
  1499 #------------------------------------------------------------------------------------
  1075 [Test]
  1500 [Test]
  1076 title ET30825 EVcxMyVideosAllVideos - EVcxMyVideosSortingName, download video
  1501 title ET30825 EVcxMyVideosAllVideos - EVcxMyVideosSortingName, download video
       
  1502 var CASE ET30825
  1077 
  1503 
  1078 callsub Cleanup
  1504 callsub Cleanup
  1079 
  1505 
  1080 create VCXMyVideosCollectionPluginTest VCXMV
  1506 create VCXMyVideosCollectionPluginTest VCXMV
  1081 VCXMV Create
  1507 VCXMV Create
  1135 delete VCXMV
  1561 delete VCXMV
  1136 [Endtest]
  1562 [Endtest]
  1137 
  1563 
  1138 #------------------------------------------------------------------------------------
  1564 #------------------------------------------------------------------------------------
  1139 #
  1565 #
  1140 #  Tests that video list is in correct order in category 'Downloads' when videos are sorted by nothing.
  1566 #  Tests that video list is in correct order in category 'Downloads' when video is
  1141 #
  1567 #  removed and videos are sorted by name.
  1142 #------------------------------------------------------------------------------------
  1568 #
  1143 [Test]
  1569 # CaseClass: core
  1144 title ET30831 EVcxMyVideosDownloads - EVcxMyVideosSortingNone
  1570 #------------------------------------------------------------------------------------
       
  1571 [Test]
       
  1572 title ET30843 EVcxMyVideosDownloads - EVcxMyVideosSortingName, remove video
       
  1573 var CASE ET30843
  1145 
  1574 
  1146 callsub Cleanup
  1575 callsub Cleanup
  1147 
  1576 
  1148 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
  1577 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
  1149 callsub SetupVideos
  1578 callsub SetupVideos
  1150 
  1579 
  1151 create VCXMyVideosCollectionPluginTest VCXMV
  1580 // Get videos sorted
  1152 VCXMV Create
  1581 
  1153 
  1582 create VCXMyVideosCollectionPluginTest VCXMV
       
  1583 VCXMV Create
       
  1584 VCXMV SetSortingOrder EVcxMyVideosSortingName
       
  1585 
       
  1586 VCXMV OpenCollection VCXCollectionMyVideos
       
  1587 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  1588 waittestclass VCXMV
       
  1589 
       
  1590 VCXMV OpenLevel EVcxMyVideosDownloads
       
  1591 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  1592 waittestclass VCXMV
       
  1593 
       
  1594 // Check count and sort order
       
  1595 
       
  1596 VCXMV CheckMediaCount ANY_DRIVE 3
       
  1597 
       
  1598 VCXMV GetAllMediaFullDetails
       
  1599 
       
  1600 VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "a"
       
  1601 VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "b"
       
  1602 VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "c"
       
  1603 
       
  1604 // Remove one of them
       
  1605 
       
  1606 VCXMV RemoveMedia ANY_DRIVE 1 0
       
  1607 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  1608 waittestclass VCXMV
       
  1609 
       
  1610 VCXMV CheckMediaCount ANY_DRIVE 2
       
  1611 VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "a"
       
  1612 VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "c"
       
  1613 
       
  1614 print OK!
       
  1615 delete VCXMV
       
  1616 [Endtest]
       
  1617 
       
  1618 #------------------------------------------------------------------------------------
       
  1619 #
       
  1620 #  Tests that video list is in correct order in category 'Downloads' when video is
       
  1621 #  removed and videos are sorted by nothing.
       
  1622 #
       
  1623 #------------------------------------------------------------------------------------
       
  1624 [Test]
       
  1625 title ET30844 EVcxMyVideosDownloads - EVcxMyVideosSortingNone, remove video
       
  1626 var CASE ET30844
       
  1627 
       
  1628 callsub Cleanup
       
  1629 
       
  1630 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
       
  1631 callsub SetupVideos
       
  1632 
       
  1633 // Get videos sorted
       
  1634 
       
  1635 create VCXMyVideosCollectionPluginTest VCXMV
       
  1636 VCXMV Create
  1154 VCXMV SetSortingOrder EVcxMyVideosSortingNone
  1637 VCXMV SetSortingOrder EVcxMyVideosSortingNone
  1155 
  1638 
  1156 VCXMV OpenCollection VCXCollectionMyVideos
  1639 VCXMV OpenCollection VCXCollectionMyVideos
  1157 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  1640 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  1158 waittestclass VCXMV
  1641 waittestclass VCXMV
  1159 
  1642 
  1160 VCXMV OpenLevel EVcxMyVideosDownloads
  1643 VCXMV OpenLevel EVcxMyVideosDownloads
  1161 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  1644 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  1162 waittestclass VCXMV
  1645 waittestclass VCXMV
  1163 
  1646 
  1164 // Check count. Order can be anything.
  1647 VCXMV CheckMediaCount ANY_DRIVE 3
  1165 VCXMV CheckMediaCount ANY_DRIVE 3
  1648 
  1166 
  1649 VCXMV GetAllMediaFullDetails
  1167 print OK!
  1650 
  1168 delete VCXMV
  1651 // Remove one of them
  1169 [Endtest]
  1652 
  1170 
  1653 VCXMV RemoveMedia ANY_DRIVE 1 0
  1171 #------------------------------------------------------------------------------------
  1654 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  1172 #
  1655 waittestclass VCXMV
  1173 #  Tests that video list is in correct order in category 'Downloads' when videos are sorted by id.
  1656 
  1174 #
  1657 VCXMV CheckMediaCount ANY_DRIVE 2
  1175 #------------------------------------------------------------------------------------
  1658 
  1176 [Test]
  1659 print OK!
  1177 title ET30832 EVcxMyVideosDownloads - EVcxMyVideosSortingId
  1660 delete VCXMV
       
  1661 [Endtest]
       
  1662 
       
  1663 #------------------------------------------------------------------------------------
       
  1664 #
       
  1665 #  Tests that video list is in correct order in category 'Downloads' when video is
       
  1666 #  removed and videos are sorted by ID.
       
  1667 #
       
  1668 #------------------------------------------------------------------------------------
       
  1669 [Test]
       
  1670 title ET30845 EVcxMyVideosDownloads - EVcxMyVideosSortingId, remove video
       
  1671 var CASE ET30845
  1178 
  1672 
  1179 callsub Cleanup
  1673 callsub Cleanup
  1180 
  1674 
  1181 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
  1675 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
  1182 callsub SetupVideos
  1676 callsub SetupVideos
  1183 
  1677 
       
  1678 // Get videos sorted
       
  1679 
  1184 create VCXMyVideosCollectionPluginTest VCXMV
  1680 create VCXMyVideosCollectionPluginTest VCXMV
  1185 VCXMV Create
  1681 VCXMV Create
  1186 VCXMV SetSortingOrder EVcxMyVideosSortingId
  1682 VCXMV SetSortingOrder EVcxMyVideosSortingId
  1187 
  1683 
  1188 VCXMV OpenCollection VCXCollectionMyVideos
  1684 VCXMV OpenCollection VCXCollectionMyVideos
  1191 
  1687 
  1192 VCXMV OpenLevel EVcxMyVideosDownloads
  1688 VCXMV OpenLevel EVcxMyVideosDownloads
  1193 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  1689 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  1194 waittestclass VCXMV
  1690 waittestclass VCXMV
  1195 
  1691 
  1196 // Check count and sort order
  1692 // ORDER NOT SUPPORTED, NO CHECKING
  1197 VCXMV CheckMediaCount ANY_DRIVE 3
  1693 
  1198 VCXMV GetAllMediaFullDetails
  1694 VCXMV CheckMediaCount ANY_DRIVE 3
  1199 
  1695 
  1200 // SORTING ORDER NOT SUPPORTED
  1696 VCXMV GetAllMediaFullDetails
  1201 
  1697 
  1202 print OK!
  1698 //VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "c"
  1203 delete VCXMV
  1699 //VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "a"
  1204 [Endtest]
  1700 //VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "b"
  1205 
  1701 
  1206 #------------------------------------------------------------------------------------
  1702 // Remove one of them
  1207 #
  1703 
  1208 #  Tests that video list is in correct order in category 'Downloads' when videos are sorted by creation date.
  1704 VCXMV RemoveMedia ANY_DRIVE 1 0
  1209 #
  1705 
  1210 #------------------------------------------------------------------------------------
  1706 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  1211 [Test]
  1707 waittestclass VCXMV
  1212 title ET30833 EVcxMyVideosDownloads - EVcxMyVideosSortingCreationDate
  1708 
       
  1709 VCXMV CheckMediaCount ANY_DRIVE 2
       
  1710 
       
  1711 print OK!
       
  1712 delete VCXMV
       
  1713 [Endtest]
       
  1714 
       
  1715 #------------------------------------------------------------------------------------
       
  1716 #
       
  1717 #  Tests that video list is in correct order in category 'Downloads' when video is
       
  1718 #  removed and videos are sorted by creation date.
       
  1719 #
       
  1720 # CaseClass: core
       
  1721 #------------------------------------------------------------------------------------
       
  1722 [Test]
       
  1723 title ET30846 EVcxMyVideosDownloads - EVcxMyVideosSortingCreationDate, remove video
       
  1724 var CASE ET30846
  1213 
  1725 
  1214 callsub Cleanup
  1726 callsub Cleanup
  1215 
  1727 
  1216 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
  1728 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
  1217 callsub SetupVideos
  1729 callsub SetupVideos
  1218 
  1730 
  1219 // Check video sorting
  1731 // Get videos sorted
  1220 
  1732 
  1221 create VCXMyVideosCollectionPluginTest VCXMV
  1733 create VCXMyVideosCollectionPluginTest VCXMV
  1222 VCXMV Create
  1734 VCXMV Create
  1223 VCXMV SetSortingOrder EVcxMyVideosSortingCreationDate
  1735 VCXMV SetSortingOrder EVcxMyVideosSortingCreationDate
  1224 
  1736 
  1228 
  1740 
  1229 VCXMV OpenLevel EVcxMyVideosDownloads
  1741 VCXMV OpenLevel EVcxMyVideosDownloads
  1230 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  1742 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  1231 waittestclass VCXMV
  1743 waittestclass VCXMV
  1232 
  1744 
  1233 // Check count and sort order
  1745 VCXMV CheckMediaCount ANY_DRIVE 3
  1234 
  1746 
  1235 VCXMV CheckMediaCount ANY_DRIVE 3
       
  1236 VCXMV GetAllMediaFullDetails
  1747 VCXMV GetAllMediaFullDetails
  1237 
  1748 
  1238 VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "b"
  1749 VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "b"
  1239 VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "a"
  1750 VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "a"
  1240 VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "c"
  1751 VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "c"
  1241 
  1752 
  1242 print OK!
  1753 // Remove one of them
  1243 delete VCXMV
  1754 
  1244 [Endtest]
  1755 VCXMV RemoveMedia ANY_DRIVE 1 0
  1245 
  1756 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  1246 #------------------------------------------------------------------------------------
  1757 waittestclass VCXMV
  1247 #
  1758 
  1248 #  Tests that video list is in correct order in category 'Downloads' when videos are sorted by modified date.
  1759 VCXMV CheckMediaCount ANY_DRIVE 2
  1249 #
  1760 VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "b"
  1250 #------------------------------------------------------------------------------------
  1761 VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "c"
  1251 [Test]
  1762 
  1252 title ET30834 EVcxMyVideosDownloads - EVcxMyVideosSortingModified
  1763 print OK!
       
  1764 delete VCXMV
       
  1765 [Endtest]
       
  1766 
       
  1767 #------------------------------------------------------------------------------------
       
  1768 #
       
  1769 #  Tests that video list is in correct order in category 'Downloads' when video is
       
  1770 #  removed and videos are sorted by modified date.
       
  1771 #
       
  1772 #------------------------------------------------------------------------------------
       
  1773 [Test]
       
  1774 title ET30847 EVcxMyVideosDownloads - EVcxMyVideosSortingModified, remove video
       
  1775 var CASE ET30847
  1253 
  1776 
  1254 callsub Cleanup
  1777 callsub Cleanup
  1255 
  1778 
  1256 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
  1779 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
  1257 callsub SetupVideos
  1780 callsub SetupVideos
  1258 
  1781 
  1259 // Check order
  1782 // Get videos sorted
  1260 
       
  1261 // ORDER NOT SUPPORTED SO NO CHECKING!
       
  1262 
  1783 
  1263 create VCXMyVideosCollectionPluginTest VCXMV
  1784 create VCXMyVideosCollectionPluginTest VCXMV
  1264 VCXMV Create
  1785 VCXMV Create
  1265 VCXMV SetSortingOrder EVcxMyVideosSortingModified
  1786 VCXMV SetSortingOrder EVcxMyVideosSortingModified
  1266 
  1787 
  1270 
  1791 
  1271 VCXMV OpenLevel EVcxMyVideosDownloads
  1792 VCXMV OpenLevel EVcxMyVideosDownloads
  1272 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  1793 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  1273 waittestclass VCXMV
  1794 waittestclass VCXMV
  1274 
  1795 
       
  1796 // NOT SUPPORTED SO NO CHECKING
       
  1797 
       
  1798 // Check count and sort order
       
  1799 
       
  1800 VCXMV CheckMediaCount ANY_DRIVE 3
       
  1801 
  1275 VCXMV GetAllMediaFullDetails
  1802 VCXMV GetAllMediaFullDetails
  1276 
  1803 
  1277 //VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "b"
  1804 //VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "b"
  1278 //VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "c"
  1805 //VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "a"
  1279 //VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "e"
  1806 //VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "c"
  1280 
  1807 
  1281 print OK!
  1808 // Remove one of them
  1282 delete VCXMV
  1809 
  1283 [Endtest]
  1810 VCXMV RemoveMedia ANY_DRIVE 1 0
  1284 
  1811 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  1285 #------------------------------------------------------------------------------------
  1812 waittestclass VCXMV
  1286 #
  1813 
  1287 #  Tests that video list is in correct order in category 'Downloads' when videos are sorted by name.
  1814 VCXMV CheckMediaCount ANY_DRIVE 2
  1288 #
  1815 
  1289 #------------------------------------------------------------------------------------
  1816 print OK!
  1290 [Test]
  1817 delete VCXMV
  1291 title ET30835 EVcxMyVideosDownloads - EVcxMyVideosSortingName
  1818 [Endtest]
  1292 
  1819 
  1293 callsub Cleanup
  1820 #------------------------------------------------------------------------------------
  1294 
  1821 #
  1295 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
  1822 #  Tests that video list is in correct order in category 'Downloads' when video is
  1296 callsub SetupVideos
  1823 #  removed and videos are sorted by size.
  1297 
  1824 #
  1298 // Check sorting
  1825 # CaseClass: core
  1299 
  1826 #------------------------------------------------------------------------------------
  1300 create VCXMyVideosCollectionPluginTest VCXMV
  1827 [Test]
  1301 VCXMV Create
  1828 title ET30848 EVcxMyVideosDownloads - EVcxMyVideosSortingSize, remove video
  1302 VCXMV SetSortingOrder EVcxMyVideosSortingName
  1829 var CASE ET30848
  1303 
       
  1304 VCXMV OpenCollection VCXCollectionMyVideos
       
  1305 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  1306 waittestclass VCXMV
       
  1307 
       
  1308 VCXMV OpenLevel EVcxMyVideosDownloads
       
  1309 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  1310 waittestclass VCXMV
       
  1311 
       
  1312 VCXMV CheckMediaCount ANY_DRIVE 3
       
  1313 
       
  1314 VCXMV GetAllMediaFullDetails
       
  1315 
       
  1316 VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "a"
       
  1317 VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "b"
       
  1318 VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "c"
       
  1319 
       
  1320 print OK!
       
  1321 delete VCXMV
       
  1322 [Endtest]
       
  1323 
       
  1324 #------------------------------------------------------------------------------------
       
  1325 #
       
  1326 #  Tests that video list is in correct order in category 'Downloads' when videos are sorted by size.
       
  1327 #
       
  1328 #------------------------------------------------------------------------------------
       
  1329 [Test]
       
  1330 title ET30836 EVcxMyVideosDownloads - EVcxMyVideosSortingSize
       
  1331 
  1830 
  1332 callsub Cleanup
  1831 callsub Cleanup
  1333 
  1832 
  1334 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
  1833 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
  1335 callsub SetupVideos
  1834 callsub SetupVideos
  1354 
  1853 
  1355 VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "a"
  1854 VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "a"
  1356 VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "c"
  1855 VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "c"
  1357 VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "b"
  1856 VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "b"
  1358 
  1857 
  1359 print OK!
       
  1360 delete VCXMV
       
  1361 [Endtest]
       
  1362 
       
  1363 #------------------------------------------------------------------------------------
       
  1364 #
       
  1365 #  Tests that video list is in correct order in category 'Downloads' when video is
       
  1366 #  removed and videos are sorted by name.
       
  1367 #
       
  1368 # CaseClass: core
       
  1369 #------------------------------------------------------------------------------------
       
  1370 [Test]
       
  1371 title ET30843 EVcxMyVideosDownloads - EVcxMyVideosSortingName, remove video
       
  1372 
       
  1373 callsub Cleanup
       
  1374 
       
  1375 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
       
  1376 callsub SetupVideos
       
  1377 
       
  1378 // Get videos sorted
       
  1379 
       
  1380 create VCXMyVideosCollectionPluginTest VCXMV
       
  1381 VCXMV Create
       
  1382 VCXMV SetSortingOrder EVcxMyVideosSortingName
       
  1383 
       
  1384 VCXMV OpenCollection VCXCollectionMyVideos
       
  1385 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  1386 waittestclass VCXMV
       
  1387 
       
  1388 VCXMV OpenLevel EVcxMyVideosDownloads
       
  1389 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  1390 waittestclass VCXMV
       
  1391 
       
  1392 // Check count and sort order
       
  1393 
       
  1394 VCXMV CheckMediaCount ANY_DRIVE 3
       
  1395 
       
  1396 VCXMV GetAllMediaFullDetails
       
  1397 
       
  1398 VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "a"
       
  1399 VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "b"
       
  1400 VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "c"
       
  1401 
       
  1402 // Remove one of them
       
  1403 
       
  1404 VCXMV RemoveMedia ANY_DRIVE 1 0
       
  1405 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  1406 waittestclass VCXMV
       
  1407 
       
  1408 VCXMV CheckMediaCount ANY_DRIVE 2
       
  1409 VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "a"
       
  1410 VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "c"
       
  1411 
       
  1412 print OK!
       
  1413 delete VCXMV
       
  1414 [Endtest]
       
  1415 
       
  1416 #------------------------------------------------------------------------------------
       
  1417 #
       
  1418 #  Tests that video list is in correct order in category 'Downloads' when video is
       
  1419 #  removed and videos are sorted by nothing.
       
  1420 #
       
  1421 #------------------------------------------------------------------------------------
       
  1422 [Test]
       
  1423 title ET30844 EVcxMyVideosDownloads - EVcxMyVideosSortingNone, remove video
       
  1424 
       
  1425 callsub Cleanup
       
  1426 
       
  1427 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
       
  1428 callsub SetupVideos
       
  1429 
       
  1430 // Get videos sorted
       
  1431 
       
  1432 create VCXMyVideosCollectionPluginTest VCXMV
       
  1433 VCXMV Create
       
  1434 VCXMV SetSortingOrder EVcxMyVideosSortingNone
       
  1435 
       
  1436 VCXMV OpenCollection VCXCollectionMyVideos
       
  1437 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  1438 waittestclass VCXMV
       
  1439 
       
  1440 VCXMV OpenLevel EVcxMyVideosDownloads
       
  1441 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  1442 waittestclass VCXMV
       
  1443 
       
  1444 VCXMV CheckMediaCount ANY_DRIVE 3
       
  1445 
       
  1446 VCXMV GetAllMediaFullDetails
       
  1447 
       
  1448 // Remove one of them
       
  1449 
       
  1450 VCXMV RemoveMedia ANY_DRIVE 1 0
       
  1451 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  1452 waittestclass VCXMV
       
  1453 
       
  1454 VCXMV CheckMediaCount ANY_DRIVE 2
       
  1455 
       
  1456 print OK!
       
  1457 delete VCXMV
       
  1458 [Endtest]
       
  1459 
       
  1460 #------------------------------------------------------------------------------------
       
  1461 #
       
  1462 #  Tests that video list is in correct order in category 'Downloads' when video is
       
  1463 #  removed and videos are sorted by ID.
       
  1464 #
       
  1465 #------------------------------------------------------------------------------------
       
  1466 [Test]
       
  1467 title ET30845 EVcxMyVideosDownloads - EVcxMyVideosSortingId, remove video
       
  1468 
       
  1469 callsub Cleanup
       
  1470 
       
  1471 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
       
  1472 callsub SetupVideos
       
  1473 
       
  1474 // Get videos sorted
       
  1475 
       
  1476 create VCXMyVideosCollectionPluginTest VCXMV
       
  1477 VCXMV Create
       
  1478 VCXMV SetSortingOrder EVcxMyVideosSortingId
       
  1479 
       
  1480 VCXMV OpenCollection VCXCollectionMyVideos
       
  1481 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  1482 waittestclass VCXMV
       
  1483 
       
  1484 VCXMV OpenLevel EVcxMyVideosDownloads
       
  1485 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  1486 waittestclass VCXMV
       
  1487 
       
  1488 // ORDER NOT SUPPORTED, NO CHECKING
       
  1489 
       
  1490 VCXMV CheckMediaCount ANY_DRIVE 3
       
  1491 
       
  1492 VCXMV GetAllMediaFullDetails
       
  1493 
       
  1494 //VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "c"
       
  1495 //VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "a"
       
  1496 //VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "b"
       
  1497 
       
  1498 // Remove one of them
       
  1499 
       
  1500 VCXMV RemoveMedia ANY_DRIVE 1 0
       
  1501 
       
  1502 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  1503 waittestclass VCXMV
       
  1504 
       
  1505 VCXMV CheckMediaCount ANY_DRIVE 2
       
  1506 
       
  1507 print OK!
       
  1508 delete VCXMV
       
  1509 [Endtest]
       
  1510 
       
  1511 #------------------------------------------------------------------------------------
       
  1512 #
       
  1513 #  Tests that video list is in correct order in category 'Downloads' when video is
       
  1514 #  removed and videos are sorted by creation date.
       
  1515 #
       
  1516 # CaseClass: core
       
  1517 #------------------------------------------------------------------------------------
       
  1518 [Test]
       
  1519 title ET30846 EVcxMyVideosDownloads - EVcxMyVideosSortingCreationDate, remove video
       
  1520 
       
  1521 callsub Cleanup
       
  1522 
       
  1523 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
       
  1524 callsub SetupVideos
       
  1525 
       
  1526 // Get videos sorted
       
  1527 
       
  1528 create VCXMyVideosCollectionPluginTest VCXMV
       
  1529 VCXMV Create
       
  1530 VCXMV SetSortingOrder EVcxMyVideosSortingCreationDate
       
  1531 
       
  1532 VCXMV OpenCollection VCXCollectionMyVideos
       
  1533 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  1534 waittestclass VCXMV
       
  1535 
       
  1536 VCXMV OpenLevel EVcxMyVideosDownloads
       
  1537 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  1538 waittestclass VCXMV
       
  1539 
       
  1540 VCXMV CheckMediaCount ANY_DRIVE 3
       
  1541 
       
  1542 VCXMV GetAllMediaFullDetails
       
  1543 
       
  1544 VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "b"
       
  1545 VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "a"
       
  1546 VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "c"
       
  1547 
       
  1548 // Remove one of them
       
  1549 
       
  1550 VCXMV RemoveMedia ANY_DRIVE 1 0
       
  1551 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  1552 waittestclass VCXMV
       
  1553 
       
  1554 VCXMV CheckMediaCount ANY_DRIVE 2
       
  1555 VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "b"
       
  1556 VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "c"
       
  1557 
       
  1558 print OK!
       
  1559 delete VCXMV
       
  1560 [Endtest]
       
  1561 
       
  1562 #------------------------------------------------------------------------------------
       
  1563 #
       
  1564 #  Tests that video list is in correct order in category 'Downloads' when video is
       
  1565 #  removed and videos are sorted by modified date.
       
  1566 #
       
  1567 #------------------------------------------------------------------------------------
       
  1568 [Test]
       
  1569 title ET30847 EVcxMyVideosDownloads - EVcxMyVideosSortingModified, remove video
       
  1570 
       
  1571 callsub Cleanup
       
  1572 
       
  1573 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
       
  1574 callsub SetupVideos
       
  1575 
       
  1576 // Get videos sorted
       
  1577 
       
  1578 create VCXMyVideosCollectionPluginTest VCXMV
       
  1579 VCXMV Create
       
  1580 VCXMV SetSortingOrder EVcxMyVideosSortingModified
       
  1581 
       
  1582 VCXMV OpenCollection VCXCollectionMyVideos
       
  1583 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  1584 waittestclass VCXMV
       
  1585 
       
  1586 VCXMV OpenLevel EVcxMyVideosDownloads
       
  1587 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  1588 waittestclass VCXMV
       
  1589 
       
  1590 // NOT SUPPORTED SO NO CHECKING
       
  1591 
       
  1592 // Check count and sort order
       
  1593 
       
  1594 VCXMV CheckMediaCount ANY_DRIVE 3
       
  1595 
       
  1596 VCXMV GetAllMediaFullDetails
       
  1597 
       
  1598 //VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "b"
       
  1599 //VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "a"
       
  1600 //VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "c"
       
  1601 
       
  1602 // Remove one of them
       
  1603 
       
  1604 VCXMV RemoveMedia ANY_DRIVE 1 0
       
  1605 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  1606 waittestclass VCXMV
       
  1607 
       
  1608 VCXMV CheckMediaCount ANY_DRIVE 2
       
  1609 
       
  1610 print OK!
       
  1611 delete VCXMV
       
  1612 [Endtest]
       
  1613 
       
  1614 #------------------------------------------------------------------------------------
       
  1615 #
       
  1616 #  Tests that video list is in correct order in category 'Downloads' when video is
       
  1617 #  removed and videos are sorted by size.
       
  1618 #
       
  1619 # CaseClass: core
       
  1620 #------------------------------------------------------------------------------------
       
  1621 [Test]
       
  1622 title ET30848 EVcxMyVideosDownloads - EVcxMyVideosSortingSize, remove video
       
  1623 
       
  1624 callsub Cleanup
       
  1625 
       
  1626 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
       
  1627 callsub SetupVideos
       
  1628 
       
  1629 // Get videos sorted
       
  1630 
       
  1631 create VCXMyVideosCollectionPluginTest VCXMV
       
  1632 VCXMV Create
       
  1633 VCXMV SetSortingOrder EVcxMyVideosSortingSize
       
  1634 
       
  1635 VCXMV OpenCollection VCXCollectionMyVideos
       
  1636 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  1637 waittestclass VCXMV
       
  1638 
       
  1639 VCXMV OpenLevel EVcxMyVideosDownloads
       
  1640 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  1641 waittestclass VCXMV
       
  1642 
       
  1643 VCXMV CheckMediaCount ANY_DRIVE 3
       
  1644 
       
  1645 VCXMV GetAllMediaFullDetails
       
  1646 
       
  1647 VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "a"
       
  1648 VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "c"
       
  1649 VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "b"
       
  1650 
       
  1651 // Remove one of them
  1858 // Remove one of them
  1652 
  1859 
  1653 VCXMV RemoveMedia ANY_DRIVE 1 0
  1860 VCXMV RemoveMedia ANY_DRIVE 1 0
  1654 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  1861 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  1655 waittestclass VCXMV
  1862 waittestclass VCXMV
  1668 #  changes because video is modified. Videos are sorted by name.
  1875 #  changes because video is modified. Videos are sorted by name.
  1669 #
  1876 #
  1670 #------------------------------------------------------------------------------------
  1877 #------------------------------------------------------------------------------------
  1671 [Test]
  1878 [Test]
  1672 title ET30849 EVcxMyVideosDownloads - EVcxMyVideosSortingName, modify video
  1879 title ET30849 EVcxMyVideosDownloads - EVcxMyVideosSortingName, modify video
       
  1880 var CASE ET30849
  1673 
  1881 
  1674 callsub Cleanup
  1882 callsub Cleanup
  1675 
  1883 
  1676 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
  1884 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
  1677 callsub SetupVideos
  1885 callsub SetupVideos
  1739 #  Videos are sorted by nothing.
  1947 #  Videos are sorted by nothing.
  1740 #
  1948 #
  1741 #------------------------------------------------------------------------------------
  1949 #------------------------------------------------------------------------------------
  1742 [Test]
  1950 [Test]
  1743 title ET30850 EVcxMyVideosDownloads - EVcxMyVideosSortingNone, modify video
  1951 title ET30850 EVcxMyVideosDownloads - EVcxMyVideosSortingNone, modify video
       
  1952 var CASE ET30850
  1744 
  1953 
  1745 callsub Cleanup
  1954 callsub Cleanup
  1746 
  1955 
  1747 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
  1956 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
  1748 callsub SetupVideos
  1957 callsub SetupVideos
  1796 #  Videos are sorted by ID.
  2005 #  Videos are sorted by ID.
  1797 #
  2006 #
  1798 #------------------------------------------------------------------------------------
  2007 #------------------------------------------------------------------------------------
  1799 [Test]
  2008 [Test]
  1800 title ET30851 EVcxMyVideosDownloads - EVcxMyVideosSortingId, modify video
  2009 title ET30851 EVcxMyVideosDownloads - EVcxMyVideosSortingId, modify video
       
  2010 var CASE ET30851
  1801 
  2011 
  1802 callsub Cleanup
  2012 callsub Cleanup
  1803 
  2013 
  1804 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
  2014 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
  1805 callsub SetupVideos
  2015 callsub SetupVideos
  1861 #  Videos are sorted by nothing.
  2071 #  Videos are sorted by nothing.
  1862 #
  2072 #
  1863 #------------------------------------------------------------------------------------
  2073 #------------------------------------------------------------------------------------
  1864 [Test]
  2074 [Test]
  1865 title ET30852 EVcxMyVideosDownloads - EVcxMyVideosSortingModified, modify video
  2075 title ET30852 EVcxMyVideosDownloads - EVcxMyVideosSortingModified, modify video
       
  2076 var CASE ET30852
  1866 
  2077 
  1867 callsub Cleanup
  2078 callsub Cleanup
  1868 
  2079 
  1869 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
  2080 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
  1870 callsub SetupVideos
  2081 callsub SetupVideos
  1914 #  causing sorting order to change. Videos are sorted by size.
  2125 #  causing sorting order to change. Videos are sorted by size.
  1915 #
  2126 #
  1916 #------------------------------------------------------------------------------------
  2127 #------------------------------------------------------------------------------------
  1917 [Test]
  2128 [Test]
  1918 title ET30853 EVcxMyVideosDownloads - EVcxMyVideosSortingSize, modify video
  2129 title ET30853 EVcxMyVideosDownloads - EVcxMyVideosSortingSize, modify video
       
  2130 var CASE ET30853
  1919 
  2131 
  1920 callsub Cleanup
  2132 callsub Cleanup
  1921 
  2133 
  1922 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
  2134 var OPTION_ORIGIN EVcxMyVideosOriginDownloaded
  1923 callsub SetupVideos
  2135 callsub SetupVideos
  1989 #  changes because video is added by sideloading. Videos are sorted by name.
  2201 #  changes because video is added by sideloading. Videos are sorted by name.
  1990 #
  2202 #
  1991 #------------------------------------------------------------------------------------
  2203 #------------------------------------------------------------------------------------
  1992 [Test]
  2204 [Test]
  1993 title ET30854 EVcxMyVideosDownloads - EVcxMyVideosSortingName, sideload video
  2205 title ET30854 EVcxMyVideosDownloads - EVcxMyVideosSortingName, sideload video
       
  2206 var CASE ET30854
  1994 
  2207 
  1995 callsub Cleanup
  2208 callsub Cleanup
  1996 
  2209 
  1997 create VCXMyVideosCollectionPluginTest VCXMV
  2210 create VCXMyVideosCollectionPluginTest VCXMV
  1998 VCXMV Create
  2211 VCXMV Create
  2090 #  changes because video is added by download. Videos are sorted by name.
  2303 #  changes because video is added by download. Videos are sorted by name.
  2091 #
  2304 #
  2092 #------------------------------------------------------------------------------------
  2305 #------------------------------------------------------------------------------------
  2093 [Test]
  2306 [Test]
  2094 title ET30855 EVcxMyVideosDownloads - EVcxMyVideosSortingName, download video
  2307 title ET30855 EVcxMyVideosDownloads - EVcxMyVideosSortingName, download video
       
  2308 var CASE ET30855
  2095 
  2309 
  2096 callsub Cleanup
  2310 callsub Cleanup
  2097 
  2311 
  2098 create VCXMyVideosCollectionPluginTest VCXMV
  2312 create VCXMyVideosCollectionPluginTest VCXMV
  2099 VCXMV Create
  2313 VCXMV Create
  2171 delete VCXMV
  2385 delete VCXMV
  2172 [Endtest]
  2386 [Endtest]
  2173 
  2387 
  2174 #------------------------------------------------------------------------------------
  2388 #------------------------------------------------------------------------------------
  2175 #
  2389 #
  2176 #  Tests that video list is in correct order in category 'Other' when videos are sorted by nothing.
  2390 #  Tests that video list is in correct order in category 'Other' when video is removed
  2177 #
  2391 #  and videos are sorted by name.
  2178 #------------------------------------------------------------------------------------
  2392 #
  2179 [Test]
  2393 #------------------------------------------------------------------------------------
  2180 title ET30861 EVcxMyVideosOther - EVcxMyVideosSortingNone
  2394 [Test]
       
  2395 title ET30873 EVcxMyVideosOther - EVcxMyVideosSortingName, remove video
       
  2396 var CASE ET30873
  2181 
  2397 
  2182 callsub Cleanup
  2398 callsub Cleanup
  2183 
  2399 
  2184 var OPTION_ORIGIN EVcxMyVideosOriginOther
  2400 var OPTION_ORIGIN EVcxMyVideosOriginOther
  2185 callsub SetupVideos
  2401 callsub SetupVideos
  2186 
  2402 
  2187 create VCXMyVideosCollectionPluginTest VCXMV
  2403 // Get videos sorted
  2188 VCXMV Create
  2404 
  2189 
  2405 create VCXMyVideosCollectionPluginTest VCXMV
       
  2406 VCXMV Create
       
  2407 VCXMV SetSortingOrder EVcxMyVideosSortingName
       
  2408 
       
  2409 VCXMV OpenCollection VCXCollectionMyVideos
       
  2410 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  2411 waittestclass VCXMV
       
  2412 
       
  2413 VCXMV OpenLevel EVcxMyVideosOther
       
  2414 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  2415 waittestclass VCXMV
       
  2416 
       
  2417 // Check count and sort order
       
  2418 
       
  2419 VCXMV CheckMediaCount ANY_DRIVE 3
       
  2420 
       
  2421 VCXMV GetAllMediaFullDetails
       
  2422 
       
  2423 VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "a"
       
  2424 VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "b"
       
  2425 VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "c"
       
  2426 
       
  2427 // Remove one of them
       
  2428 
       
  2429 VCXMV RemoveMedia ANY_DRIVE 1 0
       
  2430 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  2431 waittestclass VCXMV
       
  2432 
       
  2433 VCXMV CheckMediaCount ANY_DRIVE 2
       
  2434 VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "a"
       
  2435 VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "c"
       
  2436 
       
  2437 print OK!
       
  2438 delete VCXMV
       
  2439 [Endtest]
       
  2440 
       
  2441 #------------------------------------------------------------------------------------
       
  2442 #
       
  2443 #  Tests that video list is in correct order in category 'Other' when video is removed
       
  2444 #  and videos are sorted by nothing.
       
  2445 #
       
  2446 #------------------------------------------------------------------------------------
       
  2447 [Test]
       
  2448 title ET30874 EVcxMyVideosOther - EVcxMyVideosSortingNone, remove video
       
  2449 var CASE ET30874
       
  2450 
       
  2451 callsub Cleanup
       
  2452 
       
  2453 var OPTION_ORIGIN EVcxMyVideosOriginOther
       
  2454 callsub SetupVideos
       
  2455 
       
  2456 // Get videos sorted
       
  2457 
       
  2458 create VCXMyVideosCollectionPluginTest VCXMV
       
  2459 VCXMV Create
  2190 VCXMV SetSortingOrder EVcxMyVideosSortingNone
  2460 VCXMV SetSortingOrder EVcxMyVideosSortingNone
  2191 
  2461 
  2192 VCXMV OpenCollection VCXCollectionMyVideos
  2462 VCXMV OpenCollection VCXCollectionMyVideos
  2193 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  2463 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  2194 waittestclass VCXMV
  2464 waittestclass VCXMV
  2195 
  2465 
  2196 VCXMV OpenLevel EVcxMyVideosOther
  2466 VCXMV OpenLevel EVcxMyVideosOther
  2197 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  2467 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  2198 waittestclass VCXMV
  2468 waittestclass VCXMV
  2199 
  2469 
  2200 // Check count. Order can be anything.
  2470 VCXMV CheckMediaCount ANY_DRIVE 3
  2201 VCXMV CheckMediaCount ANY_DRIVE 3
  2471 
  2202 
  2472 VCXMV GetAllMediaFullDetails
  2203 print OK!
  2473 
  2204 delete VCXMV
  2474 // Remove one of them
  2205 [Endtest]
  2475 
  2206 
  2476 VCXMV RemoveMedia ANY_DRIVE 1 0
  2207 #------------------------------------------------------------------------------------
  2477 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  2208 #
  2478 waittestclass VCXMV
  2209 #  Tests that video list is in correct order in category 'Other' when videos are sorted by ID.
  2479 
  2210 #
  2480 VCXMV CheckMediaCount ANY_DRIVE 2
  2211 #------------------------------------------------------------------------------------
  2481 
  2212 [Test]
  2482 print OK!
  2213 title ET30862 EVcxMyVideosOther - EVcxMyVideosSortingId
  2483 delete VCXMV
       
  2484 [Endtest]
       
  2485 
       
  2486 #------------------------------------------------------------------------------------
       
  2487 #
       
  2488 #  Tests that video list is in correct order in category 'Other' when video is removed
       
  2489 #  and videos are sorted by ID.
       
  2490 #
       
  2491 #------------------------------------------------------------------------------------
       
  2492 [Test]
       
  2493 title ET30875 EVcxMyVideosOther - EVcxMyVideosSortingId, remove video
       
  2494 var CASE ET30875
  2214 
  2495 
  2215 callsub Cleanup
  2496 callsub Cleanup
  2216 
  2497 
  2217 var OPTION_ORIGIN EVcxMyVideosOriginOther
  2498 var OPTION_ORIGIN EVcxMyVideosOriginOther
  2218 callsub SetupVideos
  2499 callsub SetupVideos
  2219 
  2500 
       
  2501 // Get videos sorted
       
  2502 
  2220 create VCXMyVideosCollectionPluginTest VCXMV
  2503 create VCXMyVideosCollectionPluginTest VCXMV
  2221 VCXMV Create
  2504 VCXMV Create
  2222 VCXMV SetSortingOrder EVcxMyVideosSortingId
  2505 VCXMV SetSortingOrder EVcxMyVideosSortingId
  2223 
  2506 
  2224 VCXMV OpenCollection VCXCollectionMyVideos
  2507 VCXMV OpenCollection VCXCollectionMyVideos
  2227 
  2510 
  2228 VCXMV OpenLevel EVcxMyVideosOther
  2511 VCXMV OpenLevel EVcxMyVideosOther
  2229 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  2512 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  2230 waittestclass VCXMV
  2513 waittestclass VCXMV
  2231 
  2514 
  2232 // Check count and sort order
  2515 // ORDER NOT SUPPORTED, NO CHECKING
  2233 VCXMV CheckMediaCount ANY_DRIVE 3
  2516 
  2234 VCXMV GetAllMediaFullDetails
  2517 VCXMV CheckMediaCount ANY_DRIVE 3
  2235 
  2518 
  2236 // SORTING ORDER NOT SUPPORTED
  2519 VCXMV GetAllMediaFullDetails
  2237 
  2520 
  2238 print OK!
  2521 //VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "c"
  2239 delete VCXMV
  2522 //VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "a"
  2240 [Endtest]
  2523 //VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "b"
  2241 
  2524 
  2242 #------------------------------------------------------------------------------------
  2525 // Remove one of them
  2243 #
  2526 
  2244 #  Tests that video list is in correct order in category 'Other' when videos are sorted by creation date.
  2527 VCXMV RemoveMedia ANY_DRIVE 1 0
  2245 #
  2528 
  2246 #------------------------------------------------------------------------------------
  2529 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  2247 [Test]
  2530 waittestclass VCXMV
  2248 title ET30863 EVcxMyVideosOther - EVcxMyVideosSortingCreationDate
  2531 
       
  2532 VCXMV CheckMediaCount ANY_DRIVE 2
       
  2533 
       
  2534 print OK!
       
  2535 delete VCXMV
       
  2536 [Endtest]
       
  2537 
       
  2538 #------------------------------------------------------------------------------------
       
  2539 #
       
  2540 #  Tests that video list is in correct order in category 'Other' when video is removed
       
  2541 #  and videos are sorted by creation date.
       
  2542 #
       
  2543 #------------------------------------------------------------------------------------
       
  2544 [Test]
       
  2545 title ET30876 EVcxMyVideosOther - EVcxMyVideosSortingCreationDate, remove video
       
  2546 var CASE ET30876
  2249 
  2547 
  2250 callsub Cleanup
  2548 callsub Cleanup
  2251 
  2549 
  2252 var OPTION_ORIGIN EVcxMyVideosOriginOther
  2550 var OPTION_ORIGIN EVcxMyVideosOriginOther
  2253 callsub SetupVideos
  2551 callsub SetupVideos
  2254 
  2552 
  2255 // Check video sorting
  2553 // Get videos sorted
  2256 
  2554 
  2257 create VCXMyVideosCollectionPluginTest VCXMV
  2555 create VCXMyVideosCollectionPluginTest VCXMV
  2258 VCXMV Create
  2556 VCXMV Create
  2259 VCXMV SetSortingOrder EVcxMyVideosSortingCreationDate
  2557 VCXMV SetSortingOrder EVcxMyVideosSortingCreationDate
  2260 
  2558 
  2264 
  2562 
  2265 VCXMV OpenLevel EVcxMyVideosOther
  2563 VCXMV OpenLevel EVcxMyVideosOther
  2266 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  2564 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  2267 waittestclass VCXMV
  2565 waittestclass VCXMV
  2268 
  2566 
  2269 // Check count and sort order
  2567 VCXMV CheckMediaCount ANY_DRIVE 3
  2270 
  2568 
  2271 VCXMV CheckMediaCount ANY_DRIVE 3
       
  2272 VCXMV GetAllMediaFullDetails
  2569 VCXMV GetAllMediaFullDetails
  2273 
  2570 
  2274 VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "b"
  2571 VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "b"
  2275 VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "a"
  2572 VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "a"
  2276 VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "c"
  2573 VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "c"
  2277 
  2574 
  2278 print OK!
  2575 // Remove one of them
  2279 delete VCXMV
  2576 
  2280 [Endtest]
  2577 VCXMV RemoveMedia ANY_DRIVE 1 0
  2281 
  2578 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  2282 #------------------------------------------------------------------------------------
  2579 waittestclass VCXMV
  2283 #
  2580 
  2284 #  Tests that video list is in correct order in category 'Other' when videos are sorted by modified date.
  2581 VCXMV CheckMediaCount ANY_DRIVE 2
  2285 #
  2582 VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "b"
  2286 #------------------------------------------------------------------------------------
  2583 VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "c"
  2287 [Test]
  2584 
  2288 title ET30864 EVcxMyVideosOther - EVcxMyVideosSortingModified
  2585 print OK!
       
  2586 delete VCXMV
       
  2587 [Endtest]
       
  2588 
       
  2589 #------------------------------------------------------------------------------------
       
  2590 #
       
  2591 #  Tests that video list is in correct order in category 'Other' when video is removed
       
  2592 #  and videos are sorted by modified date.
       
  2593 #
       
  2594 #------------------------------------------------------------------------------------
       
  2595 [Test]
       
  2596 title ET30877 EVcxMyVideosOther - EVcxMyVideosSortingModified, remove video
       
  2597 var CASE ET30877
  2289 
  2598 
  2290 callsub Cleanup
  2599 callsub Cleanup
  2291 
  2600 
  2292 var OPTION_ORIGIN EVcxMyVideosOriginOther
  2601 var OPTION_ORIGIN EVcxMyVideosOriginOther
  2293 callsub SetupVideos
  2602 callsub SetupVideos
  2294 
  2603 
  2295 // Check order
  2604 // Get videos sorted
  2296 
       
  2297 // ORDER NOT SUPPORTED SO NO CHECKING!
       
  2298 
  2605 
  2299 create VCXMyVideosCollectionPluginTest VCXMV
  2606 create VCXMyVideosCollectionPluginTest VCXMV
  2300 VCXMV Create
  2607 VCXMV Create
  2301 VCXMV SetSortingOrder EVcxMyVideosSortingModified
  2608 VCXMV SetSortingOrder EVcxMyVideosSortingModified
  2302 
  2609 
  2306 
  2613 
  2307 VCXMV OpenLevel EVcxMyVideosOther
  2614 VCXMV OpenLevel EVcxMyVideosOther
  2308 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  2615 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  2309 waittestclass VCXMV
  2616 waittestclass VCXMV
  2310 
  2617 
       
  2618 // NOT SUPPORTED SO NO CHECKING
       
  2619 
       
  2620 // Check count and sort order
       
  2621 
       
  2622 VCXMV CheckMediaCount ANY_DRIVE 3
       
  2623 
  2311 VCXMV GetAllMediaFullDetails
  2624 VCXMV GetAllMediaFullDetails
  2312 
  2625 
  2313 //VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "b"
  2626 //VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "b"
  2314 //VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "c"
  2627 //VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "a"
  2315 //VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "e"
  2628 //VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "c"
  2316 
  2629 
  2317 print OK!
  2630 // Remove one of them
  2318 delete VCXMV
  2631 
  2319 [Endtest]
  2632 VCXMV RemoveMedia ANY_DRIVE 1 0
  2320 
  2633 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  2321 #------------------------------------------------------------------------------------
  2634 waittestclass VCXMV
  2322 #
  2635 
  2323 #  Tests that video list is in correct order in category 'Other' when videos are sorted by name.
  2636 VCXMV CheckMediaCount ANY_DRIVE 2
  2324 #
  2637 
  2325 #------------------------------------------------------------------------------------
  2638 print OK!
  2326 [Test]
  2639 delete VCXMV
  2327 title ET30865 EVcxMyVideosOther - EVcxMyVideosSortingName
  2640 [Endtest]
  2328 
  2641 
  2329 callsub Cleanup
  2642 #------------------------------------------------------------------------------------
  2330 
  2643 #
  2331 var OPTION_ORIGIN EVcxMyVideosOriginOther
  2644 #  Tests that video list is in correct order in category 'Other' when video is removed
  2332 callsub SetupVideos
  2645 #  and videos are sorted by size.
  2333 
  2646 #
  2334 // Check sorting
  2647 #------------------------------------------------------------------------------------
  2335 
  2648 [Test]
  2336 create VCXMyVideosCollectionPluginTest VCXMV
  2649 title ET30878 EVcxMyVideosOther - EVcxMyVideosSortingSize, remove video
  2337 VCXMV Create
  2650 var CASE ET30878
  2338 VCXMV SetSortingOrder EVcxMyVideosSortingName
       
  2339 
       
  2340 VCXMV OpenCollection VCXCollectionMyVideos
       
  2341 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  2342 waittestclass VCXMV
       
  2343 
       
  2344 VCXMV OpenLevel EVcxMyVideosOther
       
  2345 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  2346 waittestclass VCXMV
       
  2347 
       
  2348 VCXMV CheckMediaCount ANY_DRIVE 3
       
  2349 
       
  2350 VCXMV GetAllMediaFullDetails
       
  2351 
       
  2352 VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "a"
       
  2353 VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "b"
       
  2354 VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "c"
       
  2355 
       
  2356 print OK!
       
  2357 delete VCXMV
       
  2358 [Endtest]
       
  2359 
       
  2360 #------------------------------------------------------------------------------------
       
  2361 #
       
  2362 #  Tests that video list is in correct order in category 'Other' when videos are sorted by size.
       
  2363 #
       
  2364 #------------------------------------------------------------------------------------
       
  2365 [Test]
       
  2366 title ET30866 EVcxMyVideosOther - EVcxMyVideosSortingSize
       
  2367 
  2651 
  2368 callsub Cleanup
  2652 callsub Cleanup
  2369 
  2653 
  2370 var OPTION_ORIGIN EVcxMyVideosOriginOther
  2654 var OPTION_ORIGIN EVcxMyVideosOriginOther
  2371 callsub SetupVideos
  2655 callsub SetupVideos
  2390 
  2674 
  2391 VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "a"
  2675 VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "a"
  2392 VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "c"
  2676 VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "c"
  2393 VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "b"
  2677 VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "b"
  2394 
  2678 
  2395 print OK!
       
  2396 delete VCXMV
       
  2397 [Endtest]
       
  2398 
       
  2399 #------------------------------------------------------------------------------------
       
  2400 #
       
  2401 #  Tests that video list is in correct order in category 'Other' when video is removed
       
  2402 #  and videos are sorted by name.
       
  2403 #
       
  2404 #------------------------------------------------------------------------------------
       
  2405 [Test]
       
  2406 title ET30873 EVcxMyVideosOther - EVcxMyVideosSortingName, remove video
       
  2407 
       
  2408 callsub Cleanup
       
  2409 
       
  2410 var OPTION_ORIGIN EVcxMyVideosOriginOther
       
  2411 callsub SetupVideos
       
  2412 
       
  2413 // Get videos sorted
       
  2414 
       
  2415 create VCXMyVideosCollectionPluginTest VCXMV
       
  2416 VCXMV Create
       
  2417 VCXMV SetSortingOrder EVcxMyVideosSortingName
       
  2418 
       
  2419 VCXMV OpenCollection VCXCollectionMyVideos
       
  2420 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  2421 waittestclass VCXMV
       
  2422 
       
  2423 VCXMV OpenLevel EVcxMyVideosOther
       
  2424 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  2425 waittestclass VCXMV
       
  2426 
       
  2427 // Check count and sort order
       
  2428 
       
  2429 VCXMV CheckMediaCount ANY_DRIVE 3
       
  2430 
       
  2431 VCXMV GetAllMediaFullDetails
       
  2432 
       
  2433 VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "a"
       
  2434 VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "b"
       
  2435 VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "c"
       
  2436 
       
  2437 // Remove one of them
       
  2438 
       
  2439 VCXMV RemoveMedia ANY_DRIVE 1 0
       
  2440 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  2441 waittestclass VCXMV
       
  2442 
       
  2443 VCXMV CheckMediaCount ANY_DRIVE 2
       
  2444 VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "a"
       
  2445 VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "c"
       
  2446 
       
  2447 print OK!
       
  2448 delete VCXMV
       
  2449 [Endtest]
       
  2450 
       
  2451 #------------------------------------------------------------------------------------
       
  2452 #
       
  2453 #  Tests that video list is in correct order in category 'Other' when video is removed
       
  2454 #  and videos are sorted by nothing.
       
  2455 #
       
  2456 #------------------------------------------------------------------------------------
       
  2457 [Test]
       
  2458 title ET30874 EVcxMyVideosOther - EVcxMyVideosSortingNone, remove video
       
  2459 
       
  2460 callsub Cleanup
       
  2461 
       
  2462 var OPTION_ORIGIN EVcxMyVideosOriginOther
       
  2463 callsub SetupVideos
       
  2464 
       
  2465 // Get videos sorted
       
  2466 
       
  2467 create VCXMyVideosCollectionPluginTest VCXMV
       
  2468 VCXMV Create
       
  2469 VCXMV SetSortingOrder EVcxMyVideosSortingNone
       
  2470 
       
  2471 VCXMV OpenCollection VCXCollectionMyVideos
       
  2472 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  2473 waittestclass VCXMV
       
  2474 
       
  2475 VCXMV OpenLevel EVcxMyVideosOther
       
  2476 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  2477 waittestclass VCXMV
       
  2478 
       
  2479 VCXMV CheckMediaCount ANY_DRIVE 3
       
  2480 
       
  2481 VCXMV GetAllMediaFullDetails
       
  2482 
       
  2483 // Remove one of them
       
  2484 
       
  2485 VCXMV RemoveMedia ANY_DRIVE 1 0
       
  2486 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  2487 waittestclass VCXMV
       
  2488 
       
  2489 VCXMV CheckMediaCount ANY_DRIVE 2
       
  2490 
       
  2491 print OK!
       
  2492 delete VCXMV
       
  2493 [Endtest]
       
  2494 
       
  2495 #------------------------------------------------------------------------------------
       
  2496 #
       
  2497 #  Tests that video list is in correct order in category 'Other' when video is removed
       
  2498 #  and videos are sorted by ID.
       
  2499 #
       
  2500 #------------------------------------------------------------------------------------
       
  2501 [Test]
       
  2502 title ET30875 EVcxMyVideosOther - EVcxMyVideosSortingId, remove video
       
  2503 
       
  2504 callsub Cleanup
       
  2505 
       
  2506 var OPTION_ORIGIN EVcxMyVideosOriginOther
       
  2507 callsub SetupVideos
       
  2508 
       
  2509 // Get videos sorted
       
  2510 
       
  2511 create VCXMyVideosCollectionPluginTest VCXMV
       
  2512 VCXMV Create
       
  2513 VCXMV SetSortingOrder EVcxMyVideosSortingId
       
  2514 
       
  2515 VCXMV OpenCollection VCXCollectionMyVideos
       
  2516 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  2517 waittestclass VCXMV
       
  2518 
       
  2519 VCXMV OpenLevel EVcxMyVideosOther
       
  2520 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  2521 waittestclass VCXMV
       
  2522 
       
  2523 // ORDER NOT SUPPORTED, NO CHECKING
       
  2524 
       
  2525 VCXMV CheckMediaCount ANY_DRIVE 3
       
  2526 
       
  2527 VCXMV GetAllMediaFullDetails
       
  2528 
       
  2529 //VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "c"
       
  2530 //VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "a"
       
  2531 //VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "b"
       
  2532 
       
  2533 // Remove one of them
       
  2534 
       
  2535 VCXMV RemoveMedia ANY_DRIVE 1 0
       
  2536 
       
  2537 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  2538 waittestclass VCXMV
       
  2539 
       
  2540 VCXMV CheckMediaCount ANY_DRIVE 2
       
  2541 
       
  2542 print OK!
       
  2543 delete VCXMV
       
  2544 [Endtest]
       
  2545 
       
  2546 #------------------------------------------------------------------------------------
       
  2547 #
       
  2548 #  Tests that video list is in correct order in category 'Other' when video is removed
       
  2549 #  and videos are sorted by creation date.
       
  2550 #
       
  2551 #------------------------------------------------------------------------------------
       
  2552 [Test]
       
  2553 title ET30876 EVcxMyVideosOther - EVcxMyVideosSortingCreationDate, remove video
       
  2554 
       
  2555 callsub Cleanup
       
  2556 
       
  2557 var OPTION_ORIGIN EVcxMyVideosOriginOther
       
  2558 callsub SetupVideos
       
  2559 
       
  2560 // Get videos sorted
       
  2561 
       
  2562 create VCXMyVideosCollectionPluginTest VCXMV
       
  2563 VCXMV Create
       
  2564 VCXMV SetSortingOrder EVcxMyVideosSortingCreationDate
       
  2565 
       
  2566 VCXMV OpenCollection VCXCollectionMyVideos
       
  2567 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  2568 waittestclass VCXMV
       
  2569 
       
  2570 VCXMV OpenLevel EVcxMyVideosOther
       
  2571 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  2572 waittestclass VCXMV
       
  2573 
       
  2574 VCXMV CheckMediaCount ANY_DRIVE 3
       
  2575 
       
  2576 VCXMV GetAllMediaFullDetails
       
  2577 
       
  2578 VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "b"
       
  2579 VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "a"
       
  2580 VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "c"
       
  2581 
       
  2582 // Remove one of them
       
  2583 
       
  2584 VCXMV RemoveMedia ANY_DRIVE 1 0
       
  2585 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  2586 waittestclass VCXMV
       
  2587 
       
  2588 VCXMV CheckMediaCount ANY_DRIVE 2
       
  2589 VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "b"
       
  2590 VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "c"
       
  2591 
       
  2592 print OK!
       
  2593 delete VCXMV
       
  2594 [Endtest]
       
  2595 
       
  2596 #------------------------------------------------------------------------------------
       
  2597 #
       
  2598 #  Tests that video list is in correct order in category 'Other' when video is removed
       
  2599 #  and videos are sorted by modified date.
       
  2600 #
       
  2601 #------------------------------------------------------------------------------------
       
  2602 [Test]
       
  2603 title ET30877 EVcxMyVideosOther - EVcxMyVideosSortingModified, remove video
       
  2604 
       
  2605 callsub Cleanup
       
  2606 
       
  2607 var OPTION_ORIGIN EVcxMyVideosOriginOther
       
  2608 callsub SetupVideos
       
  2609 
       
  2610 // Get videos sorted
       
  2611 
       
  2612 create VCXMyVideosCollectionPluginTest VCXMV
       
  2613 VCXMV Create
       
  2614 VCXMV SetSortingOrder EVcxMyVideosSortingModified
       
  2615 
       
  2616 VCXMV OpenCollection VCXCollectionMyVideos
       
  2617 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  2618 waittestclass VCXMV
       
  2619 
       
  2620 VCXMV OpenLevel EVcxMyVideosOther
       
  2621 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  2622 waittestclass VCXMV
       
  2623 
       
  2624 // NOT SUPPORTED SO NO CHECKING
       
  2625 
       
  2626 // Check count and sort order
       
  2627 
       
  2628 VCXMV CheckMediaCount ANY_DRIVE 3
       
  2629 
       
  2630 VCXMV GetAllMediaFullDetails
       
  2631 
       
  2632 //VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "b"
       
  2633 //VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "a"
       
  2634 //VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "c"
       
  2635 
       
  2636 // Remove one of them
       
  2637 
       
  2638 VCXMV RemoveMedia ANY_DRIVE 1 0
       
  2639 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  2640 waittestclass VCXMV
       
  2641 
       
  2642 VCXMV CheckMediaCount ANY_DRIVE 2
       
  2643 
       
  2644 print OK!
       
  2645 delete VCXMV
       
  2646 [Endtest]
       
  2647 
       
  2648 #------------------------------------------------------------------------------------
       
  2649 #
       
  2650 #  Tests that video list is in correct order in category 'Other' when video is removed
       
  2651 #  and videos are sorted by size.
       
  2652 #
       
  2653 #------------------------------------------------------------------------------------
       
  2654 [Test]
       
  2655 title ET30878 EVcxMyVideosOther - EVcxMyVideosSortingSize, remove video
       
  2656 
       
  2657 callsub Cleanup
       
  2658 
       
  2659 var OPTION_ORIGIN EVcxMyVideosOriginOther
       
  2660 callsub SetupVideos
       
  2661 
       
  2662 // Get videos sorted
       
  2663 
       
  2664 create VCXMyVideosCollectionPluginTest VCXMV
       
  2665 VCXMV Create
       
  2666 VCXMV SetSortingOrder EVcxMyVideosSortingSize
       
  2667 
       
  2668 VCXMV OpenCollection VCXCollectionMyVideos
       
  2669 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  2670 waittestclass VCXMV
       
  2671 
       
  2672 VCXMV OpenLevel EVcxMyVideosOther
       
  2673 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
       
  2674 waittestclass VCXMV
       
  2675 
       
  2676 VCXMV CheckMediaCount ANY_DRIVE 3
       
  2677 
       
  2678 VCXMV GetAllMediaFullDetails
       
  2679 
       
  2680 VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralTitle "a"
       
  2681 VCXMV CheckMediaDetail ANY_DRIVE 1 EVcxTestMapping_KMPXMediaGeneralTitle "c"
       
  2682 VCXMV CheckMediaDetail ANY_DRIVE 2 EVcxTestMapping_KMPXMediaGeneralTitle "b"
       
  2683 
       
  2684 // Remove one of them
  2679 // Remove one of them
  2685 
  2680 
  2686 VCXMV RemoveMedia ANY_DRIVE 1 0
  2681 VCXMV RemoveMedia ANY_DRIVE 1 0
  2687 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  2682 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
  2688 waittestclass VCXMV
  2683 waittestclass VCXMV
  2702 #
  2697 #
  2703 # CaseClass: core
  2698 # CaseClass: core
  2704 #------------------------------------------------------------------------------------
  2699 #------------------------------------------------------------------------------------
  2705 [Test]
  2700 [Test]
  2706 title ET30879 EVcxMyVideosOther - EVcxMyVideosSortingName, modify video
  2701 title ET30879 EVcxMyVideosOther - EVcxMyVideosSortingName, modify video
       
  2702 var CASE ET30879
  2707 
  2703 
  2708 callsub Cleanup
  2704 callsub Cleanup
  2709 
  2705 
  2710 var OPTION_ORIGIN EVcxMyVideosOriginOther
  2706 var OPTION_ORIGIN EVcxMyVideosOriginOther
  2711 callsub SetupVideos
  2707 callsub SetupVideos
  2773 #  and videos are sorted by nothing.
  2769 #  and videos are sorted by nothing.
  2774 #
  2770 #
  2775 #------------------------------------------------------------------------------------
  2771 #------------------------------------------------------------------------------------
  2776 [Test]
  2772 [Test]
  2777 title ET30880 EVcxMyVideosOther - EVcxMyVideosSortingNone, modify video
  2773 title ET30880 EVcxMyVideosOther - EVcxMyVideosSortingNone, modify video
       
  2774 var CASE ET30880
  2778 
  2775 
  2779 callsub Cleanup
  2776 callsub Cleanup
  2780 
  2777 
  2781 var OPTION_ORIGIN EVcxMyVideosOriginOther
  2778 var OPTION_ORIGIN EVcxMyVideosOriginOther
  2782 callsub SetupVideos
  2779 callsub SetupVideos
  2830 #  and videos are sorted by id.
  2827 #  and videos are sorted by id.
  2831 #
  2828 #
  2832 #------------------------------------------------------------------------------------
  2829 #------------------------------------------------------------------------------------
  2833 [Test]
  2830 [Test]
  2834 title ET30881 EVcxMyVideosOther - EVcxMyVideosSortingId, modify video
  2831 title ET30881 EVcxMyVideosOther - EVcxMyVideosSortingId, modify video
       
  2832 var CASE ET30881
  2835 
  2833 
  2836 callsub Cleanup
  2834 callsub Cleanup
  2837 
  2835 
  2838 var OPTION_ORIGIN EVcxMyVideosOriginOther
  2836 var OPTION_ORIGIN EVcxMyVideosOriginOther
  2839 callsub SetupVideos
  2837 callsub SetupVideos
  2895 #  and videos are sorted by modified date.
  2893 #  and videos are sorted by modified date.
  2896 #
  2894 #
  2897 #------------------------------------------------------------------------------------
  2895 #------------------------------------------------------------------------------------
  2898 [Test]
  2896 [Test]
  2899 title ET30882 EVcxMyVideosOther - EVcxMyVideosSortingModified, modify video
  2897 title ET30882 EVcxMyVideosOther - EVcxMyVideosSortingModified, modify video
       
  2898 var CASE ET30882
  2900 
  2899 
  2901 callsub Cleanup
  2900 callsub Cleanup
  2902 
  2901 
  2903 var OPTION_ORIGIN EVcxMyVideosOriginOther
  2902 var OPTION_ORIGIN EVcxMyVideosOriginOther
  2904 callsub SetupVideos
  2903 callsub SetupVideos
  2948 #  so that order changes and videos are sorted by size.
  2947 #  so that order changes and videos are sorted by size.
  2949 #
  2948 #
  2950 #------------------------------------------------------------------------------------
  2949 #------------------------------------------------------------------------------------
  2951 [Test]
  2950 [Test]
  2952 title ET30883 EVcxMyVideosOther - EVcxMyVideosSortingSize, modify video
  2951 title ET30883 EVcxMyVideosOther - EVcxMyVideosSortingSize, modify video
       
  2952 var CASE ET30883
  2953 
  2953 
  2954 callsub Cleanup
  2954 callsub Cleanup
  2955 
  2955 
  2956 var OPTION_ORIGIN EVcxMyVideosOriginOther
  2956 var OPTION_ORIGIN EVcxMyVideosOriginOther
  2957 callsub SetupVideos
  2957 callsub SetupVideos
  3024 #
  3024 #
  3025 # CaseClass: core
  3025 # CaseClass: core
  3026 #------------------------------------------------------------------------------------
  3026 #------------------------------------------------------------------------------------
  3027 [Test]
  3027 [Test]
  3028 title ET30884 EVcxMyVideosOther - EVcxMyVideosSortingName, sideload video
  3028 title ET30884 EVcxMyVideosOther - EVcxMyVideosSortingName, sideload video
       
  3029 var CASE ET30884
  3029 
  3030 
  3030 callsub Cleanup
  3031 callsub Cleanup
  3031 
  3032 
  3032 create VCXMyVideosCollectionPluginTest VCXMV
  3033 create VCXMyVideosCollectionPluginTest VCXMV
  3033 VCXMV Create
  3034 VCXMV Create
  3110 #  changes because video is added by download. Videos are sorted by name.
  3111 #  changes because video is added by download. Videos are sorted by name.
  3111 #
  3112 #
  3112 #------------------------------------------------------------------------------------
  3113 #------------------------------------------------------------------------------------
  3113 [Test]
  3114 [Test]
  3114 title ET30885 EVcxMyVideosOther - EVcxMyVideosSortingName, download video
  3115 title ET30885 EVcxMyVideosOther - EVcxMyVideosSortingName, download video
       
  3116 var CASE ET30885
  3115 
  3117 
  3116 callsub Cleanup
  3118 callsub Cleanup
  3117 
  3119 
  3118 create VCXMyVideosCollectionPluginTest VCXMV
  3120 create VCXMyVideosCollectionPluginTest VCXMV
  3119 VCXMV Create
  3121 VCXMV Create