backupandrestore/backuptest/burtestserver/testscripts/test_backuppackage.script
changeset 53 62b719e049f4
parent 33 883e91c086aa
equal deleted inserted replaced
47:63cf70d3ecd8 53:62b719e049f4
    51 //! @SYMTestPriority            High 
    51 //! @SYMTestPriority            High 
    52 //! @SYMTestActions             Backup executable files and private data of install application
    52 //! @SYMTestActions             Backup executable files and private data of install application
    53 //! @SYMTestExpectedResults     1. The success message displayed in the console.
    53 //! @SYMTestExpectedResults     1. The success message displayed in the console.
    54 //!                             2. No any error or warning message displayed in the console.
    54 //!                             2. No any error or warning message displayed in the console.
    55 //! @SYMTestType                CIT
    55 //! @SYMTestType                CIT
    56 RUN_TEST_STEP 100 BURTestServer TestBackup z:\testdata\scripts\sbetestdata\test.ini PACKAGE_0010
    56 RUN_TEST_STEP 300 BURTestServer TestBackup z:\testdata\scripts\sbetestdata\test.ini PACKAGE_0010
    57 END_TESTCASE MTP-SBE-BACKUPPACKAGE-0000
    57 END_TESTCASE MTP-SBE-BACKUPPACKAGE-0000
    58 RUN_UTILS DeleteFile C:\private\81000014\private_file1.dat
    58 RUN_UTILS DeleteFile C:\private\81000014\private_file1.dat
       
    59 
       
    60 DELAY 10000
    59 
    61 
    60 START_TESTCASE MTP-SBE-RESTOREBACKUPPACKAGE-0001
    62 START_TESTCASE MTP-SBE-RESTOREBACKUPPACKAGE-0001
    61 //! @SYMTestCaseID MTP-SBE-RESTOREBACKUPPACKAGE-0001
    63 //! @SYMTestCaseID MTP-SBE-RESTOREBACKUPPACKAGE-0001
    62 //! @SYMTestCaseDesc            Restore big data which owner is install application
    64 //! @SYMTestCaseDesc            Restore big data which owner is install application
    63 //! @SYMPREQ                    PREQ2492    
    65 //! @SYMPREQ                    PREQ2492    
    66 //! @SYMTestActions             Restore executable files and private datas of install application from bakcup file.
    68 //! @SYMTestActions             Restore executable files and private datas of install application from bakcup file.
    67 //! @SYMTestExpectedResults     1. The failure message of restore displayed in the console
    69 //! @SYMTestExpectedResults     1. The failure message of restore displayed in the console
    68 //!                             2. The executable files are not be restored.
    70 //!                             2. The executable files are not be restored.
    69 //!                             3. The private files are not be restored.
    71 //!                             3. The private files are not be restored.
    70 //! @SYMTestType                CIT
    72 //! @SYMTestType                CIT
    71 RUN_TEST_STEP 100 BURTestServer TestRestore z:\testdata\scripts\sbetestdata\test.ini PACKAGE_0020
    73 RUN_TEST_STEP 300 BURTestServer TestRestore z:\testdata\scripts\sbetestdata\test.ini PACKAGE_0020
    72 END_TESTCASE MTP-SBE-RESTOREBACKUPPACKAGE-0001
    74 END_TESTCASE MTP-SBE-RESTOREBACKUPPACKAGE-0001
    73 RUN_UTILS DeleteFile C:\private\81000014\private_file1.dat
    75 RUN_UTILS DeleteFile C:\private\81000014\private_file1.dat
       
    76 
       
    77 DELAY 10000
    74 
    78 
    75 START_TESTCASE MTP-SBE-BACKUPPACKAGE-0002
    79 START_TESTCASE MTP-SBE-BACKUPPACKAGE-0002
    76 //! @SYMTestCaseID MTP-SBE-BACKUPPACKAGE-0002
    80 //! @SYMTestCaseID MTP-SBE-BACKUPPACKAGE-0002
    77 //! @SYMTestCaseDesc            Backup DLLs data which are installed as part of package
    81 //! @SYMTestCaseDesc            Backup DLLs data which are installed as part of package
    78 //! @SYMPREQ                    PREQ2492
    82 //! @SYMPREQ                    PREQ2492
    80 //! @SYMTestPriority            High
    84 //! @SYMTestPriority            High
    81 //! @SYMTestActions             Backup executable files and private data of install DLL
    85 //! @SYMTestActions             Backup executable files and private data of install DLL
    82 //! @SYMTestExpectedResults     1. The success message displayed in the console.
    86 //! @SYMTestExpectedResults     1. The success message displayed in the console.
    83 //!                             2. No any error or warning message displayed in the console.
    87 //!                             2. No any error or warning message displayed in the console.
    84 //! @SYMTestType                CIT
    88 //! @SYMTestType                CIT
    85 RUN_TEST_STEP 100 BURTestServer TestBackup z:\testdata\scripts\sbetestdata\test.ini PACKAGE_0030
    89 RUN_TEST_STEP 300 BURTestServer TestBackup z:\testdata\scripts\sbetestdata\test.ini PACKAGE_0030
    86 END_TESTCASE MTP-SBE-BACKUPPACKAGE-0002
    90 END_TESTCASE MTP-SBE-BACKUPPACKAGE-0002
       
    91 
       
    92 DELAY 10000
    87 
    93 
    88 START_TESTCASE MTP-SBE-RESTOREBACKUPPACKAGE-0003
    94 START_TESTCASE MTP-SBE-RESTOREBACKUPPACKAGE-0003
    89 //! @SYMTestCaseID MTP-SBE-RESTOREBACKUPPACKAGE-0003
    95 //! @SYMTestCaseID MTP-SBE-RESTOREBACKUPPACKAGE-0003
    90 //! @SYMTestCaseDesc            Backup DLLs data which are installed as part of package
    96 //! @SYMTestCaseDesc            Backup DLLs data which are installed as part of package
    91 //! @SYMPREQ                    PREQ2492
    97 //! @SYMPREQ                    PREQ2492
    94 //! @SYMTestActions             Restore executable files and private datas of install DLL from bakcup file.
   100 //! @SYMTestActions             Restore executable files and private datas of install DLL from bakcup file.
    95 //! @SYMTestExpectedResults     1. The failure message of restore displayed in the console
   101 //! @SYMTestExpectedResults     1. The failure message of restore displayed in the console
    96 //!                             2. The executable files are not be restored.
   102 //!                             2. The executable files are not be restored.
    97 //!                             3. The private files are not be restored.
   103 //!                             3. The private files are not be restored.
    98 //! @SYMTestType                CIT
   104 //! @SYMTestType                CIT
    99 RUN_TEST_STEP 100 BURTestServer TestRestore z:\testdata\scripts\sbetestdata\test.ini PACKAGE_0040
   105 RUN_TEST_STEP 300 BURTestServer TestRestore z:\testdata\scripts\sbetestdata\test.ini PACKAGE_0040
   100 END_TESTCASE MTP-SBE-RESTOREBACKUPPACKAGE-0003
   106 END_TESTCASE MTP-SBE-RESTOREBACKUPPACKAGE-0003
       
   107 
       
   108 DELAY 10000
   101 
   109 
   102 RUN_UTILS DeleteFile C:\public\81113002\public_file1.dat
   110 RUN_UTILS DeleteFile C:\public\81113002\public_file1.dat
   103 RUN_UTILS DeleteFile C:\public\81113002\public_file2.dat
   111 RUN_UTILS DeleteFile C:\public\81113002\public_file2.dat
   104 RUN_UTILS DeleteFile C:\public\test\private_file1.dat
   112 RUN_UTILS DeleteFile C:\public\test\private_file1.dat
   105 RUN_UTILS DeleteDirectory C:\public\81113002\
   113 RUN_UTILS DeleteDirectory C:\public\81113002\