|
1 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 ////////////////////////////////////////////////////////////////////////////////////// |
|
17 // |
|
18 // test_backuppackage.script |
|
19 // for testing backup datas of installed applications |
|
20 // |
|
21 //////////////////////////////////////////////////////////////////////////////////// |
|
22 LOAD_SUITE BURTestServer |
|
23 |
|
24 PRINT ---------------------------------------------- |
|
25 PRINT Test Restore |
|
26 PRINT ---------------------------------------------- |
|
27 RUN_UTILS DeleteDirectory C:\system\temp\ |
|
28 |
|
29 START_TESTCASE MTP-SBE-RESTOREBACKUPPACKAGE-0000 |
|
30 //! @SYMTestCaseID MTP-SBE-RESTOREBACKUPPACKAGE-0000 |
|
31 //! @SYMTestCaseDesc Restore big data which owner is install application |
|
32 //! @SYMPREQ PREQ2492 |
|
33 //! @SYMTestStatus Released |
|
34 //! @SYMTestPriority High |
|
35 //! @SYMTestActions Restore executable files and private datas of install application from bakcup file. |
|
36 //! @SYMTestExpectedResults 1. The executable files are same like after installing application |
|
37 //! 2. The name and size of private files are same like after installing application. |
|
38 //! 3. The public files don't be restored. |
|
39 //! @SYMTestType CIT |
|
40 RUN_TEST_STEP 100 BURTestServer TestRestore z:\testdata\scripts\sbetestdata\test.ini PACKAGE_0020 |
|
41 END_TESTCASE MTP-SBE-RESTOREBACKUPPACKAGE-0000 |
|
42 |
|
43 START_TESTCASE MTP-SBE-RESTOREBACKUPPACKAGE-0001 |
|
44 //! @SYMTestCaseID MTP-SBE-RESTOREBACKUPPACKAGE-0001 |
|
45 //! @SYMTestCaseDesc Backup DLLs data which are installed as part of package |
|
46 //! @SYMPREQ PREQ2492 |
|
47 //! @SYMTestStatus Released |
|
48 //! @SYMTestPriority High |
|
49 //! @SYMTestActions Restore executable files and private datas of install DLL from bakcup file. |
|
50 //! @SYMTestExpectedResults 1. The dll files are same like after installing application |
|
51 //! 2. The name and size of DLLs are same like after installing application. |
|
52 //! 3. The public files don't be restored. |
|
53 //! @SYMTestType CIT |
|
54 RUN_TEST_STEP 100 BURTestServer TestRestore z:\testdata\scripts\sbetestdata\test.ini PACKAGE_0040 |
|
55 END_TESTCASE MTP-SBE-RESTOREBACKUPPACKAGE-0001 |
|
56 |
|
57 RUN_PROGRAM 900 swiconsole /u /uid 0x8111300b /pkg "big exe for backup" /vendor "Unique Vendor Name" /optimal |
|
58 RUN_PROGRAM 1000 swiconsole /u /uid 0x81113002 /pkg "tswinocapability" /vendor "Symbian" /optimal |