videocollection/mpxmyvideoscollection/tsrc/mpxmvcolltest/conf/VCXMyVideosCollectionPluginTestMoveCopy.cfg
changeset 1 6711b85517b7
parent 0 96612d01cf9f
equal deleted inserted replaced
0:96612d01cf9f 1:6711b85517b7
    35 waittestclass VCXMV
    35 waittestclass VCXMV
    36 
    36 
    37 VCXMV RemoveAllMedia
    37 VCXMV RemoveAllMedia
    38 delete VCXMV
    38 delete VCXMV
    39 
    39 
    40 print wait 3min
    40 print wait 30sec
    41 pause 180000
    41 pause 30000
    42 print cleanup end
    42 print cleanup end
    43 [EndSub]
    43 [EndSub]
    44 #************************************************************************************
    44 #************************************************************************************
    45 
    45 
    46 #************************************************************************************
    46 #************************************************************************************
    53 #  Removes all video files from the device.
    53 #  Removes all video files from the device.
    54 #
    54 #
    55 #------------------------------------------------------------------------------------
    55 #------------------------------------------------------------------------------------
    56 [Test]
    56 [Test]
    57 title ET30700 <not a test> Setup
    57 title ET30700 <not a test> Setup
       
    58 var CASE ET30700
    58 
    59 
    59 create VCXTestUtilModule Util
    60 create VCXTestUtilModule Util
    60 // Copies some known 3G AP to "Internet" destination with "Internet" name for the AP.
    61 // Copies some known 3G AP to "Internet" destination with "Internet" name for the AP.
    61 Util CopyMethod "Internet" "Internet" "Internet"
    62 Util CopyMethod "Internet" "Internet" "Internet"
    62 // Disable connection dialog for "Internet" destination.
    63 // Disable connection dialog for "Internet" destination.
    96 #
    97 #
    97 # CaseClass: core
    98 # CaseClass: core
    98 #------------------------------------------------------------------------------------
    99 #------------------------------------------------------------------------------------
    99 [Test]
   100 [Test]
   100 title ET30701 Move from 1st to 2nd drive
   101 title ET30701 Move from 1st to 2nd drive
       
   102 var CASE ET30701
   101 
   103 
   102 create VCXTestUtilModule Util
   104 create VCXTestUtilModule Util
   103 Util CreateMobilecrashWatcher
   105 Util CreateMobilecrashWatcher
   104 
   106 
   105 callsub Cleanup
   107 callsub Cleanup
   141 #
   143 #
   142 # CaseClass: core
   144 # CaseClass: core
   143 #------------------------------------------------------------------------------------
   145 #------------------------------------------------------------------------------------
   144 [Test]
   146 [Test]
   145 title ET30702 Check attributes of moved file
   147 title ET30702 Check attributes of moved file
       
   148 var CASE ET30702
   146 
   149 
   147 create VCXTestUtilModule Util
   150 create VCXTestUtilModule Util
   148 Util CreateMobilecrashWatcher
   151 Util CreateMobilecrashWatcher
   149 
   152 
   150 callsub Cleanup
   153 callsub Cleanup
   234 #  Tests moving video to one drive and back.
   237 #  Tests moving video to one drive and back.
   235 #
   238 #
   236 #------------------------------------------------------------------------------------
   239 #------------------------------------------------------------------------------------
   237 [Test]
   240 [Test]
   238 title ET30703 Move back
   241 title ET30703 Move back
       
   242 var CASE ET30703
   239 
   243 
   240 create VCXTestUtilModule Util
   244 create VCXTestUtilModule Util
   241 Util CreateMobilecrashWatcher
   245 Util CreateMobilecrashWatcher
   242 
   246 
   243 callsub Cleanup
   247 callsub Cleanup
   269 waittestclass VCXMV
   273 waittestclass VCXMV
   270 
   274 
   271 VCXMV CheckMediaCount C_DRIVE 0
   275 VCXMV CheckMediaCount C_DRIVE 0
   272 VCXMV CheckMediaCount E_DRIVE 1
   276 VCXMV CheckMediaCount E_DRIVE 1
   273 
   277 
       
   278 // File is locked, pause for a while
       
   279 pause 20000
       
   280 
   274 // Move it back
   281 // Move it back
   275 
   282 
   276 VCXMV MoveMedia E_DRIVE 0 C_DRIVE 0
   283 VCXMV MoveMedia E_DRIVE 0 C_DRIVE 0
   277 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageMoveResp KVCXMYVideosTestMessageCopyOrMoveStarted KVCXMYVideosTestMessageCommandComplete KVCXMYVideosTestMessageCollectionItemChanged
   284 VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageMoveResp KVCXMYVideosTestMessageCopyOrMoveStarted KVCXMYVideosTestMessageCommandComplete KVCXMYVideosTestMessageCollectionItemChanged
   278 waittestclass VCXMV
   285 waittestclass VCXMV
   289 #  Tests moving a video to drive which already has videos.
   296 #  Tests moving a video to drive which already has videos.
   290 #
   297 #
   291 #------------------------------------------------------------------------------------
   298 #------------------------------------------------------------------------------------
   292 [Test]
   299 [Test]
   293 title ET30704 Move, drive has already videos
   300 title ET30704 Move, drive has already videos
       
   301 var CASE ET30704
   294 
   302 
   295 create VCXTestUtilModule Util
   303 create VCXTestUtilModule Util
   296 Util CreateMobilecrashWatcher
   304 Util CreateMobilecrashWatcher
   297 
   305 
   298 callsub Cleanup
   306 callsub Cleanup
   334 #  Tests moving a video to drive which already has a video with same name.
   342 #  Tests moving a video to drive which already has a video with same name.
   335 #
   343 #
   336 #------------------------------------------------------------------------------------
   344 #------------------------------------------------------------------------------------
   337 [Test]
   345 [Test]
   338 title ET30705 Move when file with same name exists
   346 title ET30705 Move when file with same name exists
       
   347 var CASE ET30705
   339 
   348 
   340 create VCXTestUtilModule Util
   349 create VCXTestUtilModule Util
   341 Util CreateMobilecrashWatcher
   350 Util CreateMobilecrashWatcher
   342 
   351 
   343 callsub Cleanup
   352 callsub Cleanup
   381 #  Tests moving a video from second to first drive.
   390 #  Tests moving a video from second to first drive.
   382 #
   391 #
   383 #------------------------------------------------------------------------------------
   392 #------------------------------------------------------------------------------------
   384 [Test]
   393 [Test]
   385 title ET30706 Move from 2nd to 1st drive
   394 title ET30706 Move from 2nd to 1st drive
       
   395 var CASE ET30706
   386 
   396 
   387 create VCXTestUtilModule Util
   397 create VCXTestUtilModule Util
   388 Util CreateMobilecrashWatcher
   398 Util CreateMobilecrashWatcher
   389 
   399 
   390 callsub Cleanup
   400 callsub Cleanup
   426 #
   436 #
   427 # CaseClass: core
   437 # CaseClass: core
   428 #------------------------------------------------------------------------------------
   438 #------------------------------------------------------------------------------------
   429 [Test]
   439 [Test]
   430 title ET30707 Move multiple
   440 title ET30707 Move multiple
       
   441 var CASE ET30707
   431 
   442 
   432 create VCXTestUtilModule Util
   443 create VCXTestUtilModule Util
   433 Util CreateMobilecrashWatcher
   444 Util CreateMobilecrashWatcher
   434 
   445 
   435 callsub Cleanup
   446 callsub Cleanup
   470 #  Tests moving a downloaded video.
   481 #  Tests moving a downloaded video.
   471 #
   482 #
   472 #------------------------------------------------------------------------------------
   483 #------------------------------------------------------------------------------------
   473 [Test]
   484 [Test]
   474 title ET30708 Move downloaded video
   485 title ET30708 Move downloaded video
       
   486 var CASE ET30708
   475 
   487 
   476 create VCXTestUtilModule Util
   488 create VCXTestUtilModule Util
   477 Util CreateMobilecrashWatcher
   489 Util CreateMobilecrashWatcher
   478 
   490 
   479 callsub Cleanup
   491 callsub Cleanup
   518 #  Tests that moving a ongoing download cannot be done.
   530 #  Tests that moving a ongoing download cannot be done.
   519 #
   531 #
   520 #------------------------------------------------------------------------------------
   532 #------------------------------------------------------------------------------------
   521 [Test]
   533 [Test]
   522 title ET30709 Move ongoing download
   534 title ET30709 Move ongoing download
       
   535 var CASE ET30709
   523 
   536 
   524 create VCXTestUtilModule Util
   537 create VCXTestUtilModule Util
   525 Util CreateMobilecrashWatcher
   538 Util CreateMobilecrashWatcher
   526 
   539 
   527 callsub Cleanup
   540 callsub Cleanup
   565 #  Tests move video with invalid argument.
   578 #  Tests move video with invalid argument.
   566 #
   579 #
   567 #------------------------------------------------------------------------------------
   580 #------------------------------------------------------------------------------------
   568 [Test]
   581 [Test]
   569 title ET30710 Move nothing
   582 title ET30710 Move nothing
       
   583 var CASE ET30710
   570 
   584 
   571 create VCXTestUtilModule Util
   585 create VCXTestUtilModule Util
   572 Util CreateMobilecrashWatcher
   586 Util CreateMobilecrashWatcher
   573 
   587 
   574 callsub Cleanup
   588 callsub Cleanup
   606 #  Tests canceling move operation.
   620 #  Tests canceling move operation.
   607 #
   621 #
   608 #------------------------------------------------------------------------------------
   622 #------------------------------------------------------------------------------------
   609 [Test]
   623 [Test]
   610 title ET30711 Cancel move
   624 title ET30711 Cancel move
       
   625 var CASE ET30711
   611 
   626 
   612 create VCXTestUtilModule Util
   627 create VCXTestUtilModule Util
   613 Util CreateMobilecrashWatcher
   628 Util CreateMobilecrashWatcher
   614 
   629 
   615 callsub Cleanup
   630 callsub Cleanup
   654 #  Tests canceling when there's video move operation is not ongoing.
   669 #  Tests canceling when there's video move operation is not ongoing.
   655 #
   670 #
   656 #------------------------------------------------------------------------------------
   671 #------------------------------------------------------------------------------------
   657 [Test]
   672 [Test]
   658 title ET30713 Cancel move without request
   673 title ET30713 Cancel move without request
       
   674 var CASE ET30713
   659 
   675 
   660 create VCXTestUtilModule Util
   676 create VCXTestUtilModule Util
   661 Util CreateMobilecrashWatcher
   677 Util CreateMobilecrashWatcher
   662 
   678 
   663 callsub Cleanup
   679 callsub Cleanup
   690 #  Tests moving a video to same drive where it already is.
   706 #  Tests moving a video to same drive where it already is.
   691 #
   707 #
   692 #------------------------------------------------------------------------------------
   708 #------------------------------------------------------------------------------------
   693 [Test]
   709 [Test]
   694 title ET30712 Move to same drive
   710 title ET30712 Move to same drive
       
   711 var CASE ET30712
   695 
   712 
   696 create VCXTestUtilModule Util
   713 create VCXTestUtilModule Util
   697 Util CreateMobilecrashWatcher
   714 Util CreateMobilecrashWatcher
   698 
   715 
   699 callsub Cleanup
   716 callsub Cleanup
   733 #  Tests move operation when media array is not defined for the request.
   750 #  Tests move operation when media array is not defined for the request.
   734 #
   751 #
   735 #------------------------------------------------------------------------------------
   752 #------------------------------------------------------------------------------------
   736 [Test]
   753 [Test]
   737 title ET30714 Move no array specified
   754 title ET30714 Move no array specified
       
   755 var CASE ET30714
   738 
   756 
   739 create VCXTestUtilModule Util
   757 create VCXTestUtilModule Util
   740 Util CreateMobilecrashWatcher
   758 Util CreateMobilecrashWatcher
   741 
   759 
   742 callsub Cleanup
   760 callsub Cleanup
   775 #
   793 #
   776 # CaseClass: core
   794 # CaseClass: core
   777 #------------------------------------------------------------------------------------
   795 #------------------------------------------------------------------------------------
   778 [Test]
   796 [Test]
   779 title ET30751 Copy from 1st to 2nd drive
   797 title ET30751 Copy from 1st to 2nd drive
       
   798 var CASE ET30751
   780 
   799 
   781 create VCXTestUtilModule Util
   800 create VCXTestUtilModule Util
   782 Util CreateMobilecrashWatcher
   801 Util CreateMobilecrashWatcher
   783 
   802 
   784 callsub Cleanup
   803 callsub Cleanup
   820 #
   839 #
   821 # CaseClass: core
   840 # CaseClass: core
   822 #------------------------------------------------------------------------------------
   841 #------------------------------------------------------------------------------------
   823 [Test]
   842 [Test]
   824 title ET30752 Check attributes of copied file
   843 title ET30752 Check attributes of copied file
       
   844 var CASE ET30752
   825 
   845 
   826 create VCXTestUtilModule Util
   846 create VCXTestUtilModule Util
   827 Util CreateMobilecrashWatcher
   847 Util CreateMobilecrashWatcher
   828 
   848 
   829 callsub Cleanup
   849 callsub Cleanup
   912 #  Tests copying a video to same drive where the video was copied from.
   932 #  Tests copying a video to same drive where the video was copied from.
   913 #
   933 #
   914 #------------------------------------------------------------------------------------
   934 #------------------------------------------------------------------------------------
   915 [Test]
   935 [Test]
   916 title ET30753 Copy back
   936 title ET30753 Copy back
       
   937 var CASE ET30753
   917 
   938 
   918 create VCXTestUtilModule Util
   939 create VCXTestUtilModule Util
   919 Util CreateMobilecrashWatcher
   940 Util CreateMobilecrashWatcher
   920 
   941 
   921 callsub Cleanup
   942 callsub Cleanup
   981 #  Tests copying video to drive which already has videos.
  1002 #  Tests copying video to drive which already has videos.
   982 #
  1003 #
   983 #------------------------------------------------------------------------------------
  1004 #------------------------------------------------------------------------------------
   984 [Test]
  1005 [Test]
   985 title ET30754 Copy, drive has already videos
  1006 title ET30754 Copy, drive has already videos
       
  1007 var CASE ET30754
   986 
  1008 
   987 create VCXTestUtilModule Util
  1009 create VCXTestUtilModule Util
   988 Util CreateMobilecrashWatcher
  1010 Util CreateMobilecrashWatcher
   989 
  1011 
   990 callsub Cleanup
  1012 callsub Cleanup
  1037 #  Tests copying video to drive which already has video with same name.
  1059 #  Tests copying video to drive which already has video with same name.
  1038 #
  1060 #
  1039 #------------------------------------------------------------------------------------
  1061 #------------------------------------------------------------------------------------
  1040 [Test]
  1062 [Test]
  1041 title ET30755 Copy when file with same name exists
  1063 title ET30755 Copy when file with same name exists
       
  1064 var CASE ET30755
  1042 
  1065 
  1043 create VCXTestUtilModule Util
  1066 create VCXTestUtilModule Util
  1044 Util CreateMobilecrashWatcher
  1067 Util CreateMobilecrashWatcher
  1045 
  1068 
  1046 callsub Cleanup
  1069 callsub Cleanup
  1094 #  Tests copying video from second to first drive.
  1117 #  Tests copying video from second to first drive.
  1095 #
  1118 #
  1096 #------------------------------------------------------------------------------------
  1119 #------------------------------------------------------------------------------------
  1097 [Test]
  1120 [Test]
  1098 title ET30756 Copy from 2nd to 1st drive
  1121 title ET30756 Copy from 2nd to 1st drive
       
  1122 var CASE ET30756
  1099 
  1123 
  1100 create VCXTestUtilModule Util
  1124 create VCXTestUtilModule Util
  1101 Util CreateMobilecrashWatcher
  1125 Util CreateMobilecrashWatcher
  1102 
  1126 
  1103 callsub Cleanup
  1127 callsub Cleanup
  1148 #
  1172 #
  1149 # CaseClass: core
  1173 # CaseClass: core
  1150 #------------------------------------------------------------------------------------
  1174 #------------------------------------------------------------------------------------
  1151 [Test]
  1175 [Test]
  1152 title ET30757 Copy multiple
  1176 title ET30757 Copy multiple
       
  1177 var CASE ET30757
  1153 
  1178 
  1154 create VCXTestUtilModule Util
  1179 create VCXTestUtilModule Util
  1155 Util CreateMobilecrashWatcher
  1180 Util CreateMobilecrashWatcher
  1156 
  1181 
  1157 callsub Cleanup
  1182 callsub Cleanup
  1197 #  Test copying a downloaded video.
  1222 #  Test copying a downloaded video.
  1198 #
  1223 #
  1199 #------------------------------------------------------------------------------------
  1224 #------------------------------------------------------------------------------------
  1200 [Test]
  1225 [Test]
  1201 title ET30758 Copy downloaded video
  1226 title ET30758 Copy downloaded video
       
  1227 var CASE ET30758
  1202 
  1228 
  1203 create VCXTestUtilModule Util
  1229 create VCXTestUtilModule Util
  1204 Util CreateMobilecrashWatcher
  1230 Util CreateMobilecrashWatcher
  1205 
  1231 
  1206 callsub Cleanup
  1232 callsub Cleanup
  1252 #  Tests that copying an ongoing download cannot be done.
  1278 #  Tests that copying an ongoing download cannot be done.
  1253 #
  1279 #
  1254 #------------------------------------------------------------------------------------
  1280 #------------------------------------------------------------------------------------
  1255 [Test]
  1281 [Test]
  1256 title ET30759 Copy ongoing download
  1282 title ET30759 Copy ongoing download
       
  1283 var CASE ET30759
  1257 
  1284 
  1258 create VCXTestUtilModule Util
  1285 create VCXTestUtilModule Util
  1259 Util CreateMobilecrashWatcher
  1286 Util CreateMobilecrashWatcher
  1260 
  1287 
  1261 callsub Cleanup
  1288 callsub Cleanup
  1308 #  Tests copying with invalid argument.
  1335 #  Tests copying with invalid argument.
  1309 #
  1336 #
  1310 #------------------------------------------------------------------------------------
  1337 #------------------------------------------------------------------------------------
  1311 [Test]
  1338 [Test]
  1312 title ET30760 Copy nothing
  1339 title ET30760 Copy nothing
       
  1340 var CASE ET30760
  1313 
  1341 
  1314 create VCXTestUtilModule Util
  1342 create VCXTestUtilModule Util
  1315 Util CreateMobilecrashWatcher
  1343 Util CreateMobilecrashWatcher
  1316 
  1344 
  1317 callsub Cleanup
  1345 callsub Cleanup
  1355 #
  1383 #
  1356 # CaseClass: core
  1384 # CaseClass: core
  1357 #------------------------------------------------------------------------------------
  1385 #------------------------------------------------------------------------------------
  1358 [Test]
  1386 [Test]
  1359 title ET30761 Cancel copy
  1387 title ET30761 Cancel copy
       
  1388 var CASE ET30761
  1360 
  1389 
  1361 create VCXTestUtilModule Util
  1390 create VCXTestUtilModule Util
  1362 Util CreateMobilecrashWatcher
  1391 Util CreateMobilecrashWatcher
  1363 
  1392 
  1364 callsub Cleanup
  1393 callsub Cleanup
  1407 #  Tests cancel copy request when there's no copy ongoing.
  1436 #  Tests cancel copy request when there's no copy ongoing.
  1408 #
  1437 #
  1409 #------------------------------------------------------------------------------------
  1438 #------------------------------------------------------------------------------------
  1410 [Test]
  1439 [Test]
  1411 title ET30762 Cancel Copy without request
  1440 title ET30762 Cancel Copy without request
       
  1441 var CASE ET30762
  1412 
  1442 
  1413 create VCXTestUtilModule Util
  1443 create VCXTestUtilModule Util
  1414 Util CreateMobilecrashWatcher
  1444 Util CreateMobilecrashWatcher
  1415 
  1445 
  1416 callsub Cleanup
  1446 callsub Cleanup
  1448 #  Tests copying a video to same drive.
  1478 #  Tests copying a video to same drive.
  1449 #
  1479 #
  1450 #------------------------------------------------------------------------------------
  1480 #------------------------------------------------------------------------------------
  1451 [Test]
  1481 [Test]
  1452 title ET30763 Copy to same drive
  1482 title ET30763 Copy to same drive
       
  1483 var CASE ET30763
  1453 
  1484 
  1454 create VCXTestUtilModule Util
  1485 create VCXTestUtilModule Util
  1455 Util CreateMobilecrashWatcher
  1486 Util CreateMobilecrashWatcher
  1456 
  1487 
  1457 callsub Cleanup
  1488 callsub Cleanup
  1500 #  Tests copy operation when the request has no array defined.
  1531 #  Tests copy operation when the request has no array defined.
  1501 #
  1532 #
  1502 #------------------------------------------------------------------------------------
  1533 #------------------------------------------------------------------------------------
  1503 [Test]
  1534 [Test]
  1504 title ET30764 Copy no array specified
  1535 title ET30764 Copy no array specified
       
  1536 var CASE ET30764
  1505 
  1537 
  1506 create VCXTestUtilModule Util
  1538 create VCXTestUtilModule Util
  1507 Util CreateMobilecrashWatcher
  1539 Util CreateMobilecrashWatcher
  1508 
  1540 
  1509 callsub Cleanup
  1541 callsub Cleanup