1 // |
1 // |
2 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
2 // Copyright (c) 2009 - 2010 Nokia Corporation and/or its subsidiary(-ies). |
3 // All rights reserved. |
3 // All rights reserved. |
4 // This component and the accompanying materials are made available |
4 // This component and the accompanying materials are made available |
5 // under the terms of the License "Eclipse Public License v1.0" |
5 // under the terms of the License "Eclipse Public License v1.0" |
6 // which accompanies this distribution, and is available |
6 // which accompanies this distribution, and is available |
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
16 //! @file |
16 //! @file |
17 // SWIS FOTA upgrade test |
17 // SWIS FOTA upgrade test |
18 PRINT Run SWI FOTA Update tests |
18 PRINT Run SWI FOTA Update tests |
19 LOAD_SUITE tuiscriptadaptors |
19 LOAD_SUITE tuiscriptadaptors |
20 LOAD_SUITE tSisRegistryTest |
20 LOAD_SUITE tSisRegistryTest |
|
21 LOAD_SUITE tscrapparc |
21 |
22 |
22 //! @SYMTestCaseID INST-REG-FOTA-0001 |
23 //! @SYMTestCaseID INST-REG-FOTA-0001 |
23 //! @SYMTestCaseDesc Tests F/W update scenario |
24 //! @SYMTestCaseDesc Tests F/W update scenario |
24 //! @SYMREQ REQ0000 |
25 //! @SYMREQ REQ0000 |
25 //! @SYMTestPriority High |
26 //! @SYMTestPriority High |
26 //! @SYMTestActions Tests F/W update scenario |
27 //! @SYMTestActions Tests F/W update scenario |
27 //! @SYMTestExpectedResults Registry is updated with latest stub info |
28 //! @SYMTestExpectedResults Registry is updated with latest stub info |
28 START_TESTCASE FotaTest1 |
29 START_TESTCASE FotaTest1 |
29 RUN_TEST_STEP 100 tSisRegistryTest IsPackageInstalled z:\tswi\tuiscriptadaptors\scripts\testfotaupdate.ini package_info_fota_v1 |
30 RUN_TEST_STEP 100 tSisRegistryTest IsPackageInstalled z:\tswi\tuiscriptadaptors\scripts\testfotaupdate.ini package_info_fota_v1 |
30 END_TESTCASE FotaTest1 |
31 END_TESTCASE FotaTest1 |
|
32 |
|
33 |
|
34 //! @SYMTestCaseID INST-REG-FOTA-0003 |
|
35 //! @SYMTestCaseDesc Tests F/W update scenario for application registration resource files |
|
36 //! @SYMREQ PREQ1835 |
|
37 //! @SYMTestPriority High |
|
38 //! @SYMTestActions Tests F/W update scenario for application registration resource files |
|
39 //! @SYMTestExpectedResults Scr db is updated with latest app info |
|
40 START_TESTCASE FotaTest3 |
|
41 RUN_TEST_STEP 100 tscrapparc ScrGetApplicationRegistrationView z:\tswi\tuiscriptadaptors\scripts\testfotaupdate.ini app_info_fota_v1 |
|
42 END_TESTCASE FotaTest3 |
|
43 |
|
44 //! @SYMTestCaseID INST-REG-FOTA-0004 |
|
45 //! @SYMTestCaseDesc Tests F/W update scenario for application registration resource files in stub |
|
46 //! @SYMREQ PREQ1835 |
|
47 //! @SYMTestPriority High |
|
48 //! @SYMTestActions Tests F/W update scenario for application registration resource files in stub |
|
49 //! @SYMTestExpectedResults Registry is updated with latest stub info |
|
50 START_TESTCASE FotaTest4 |
|
51 RUN_TEST_STEP 100 tSisRegistryTest IsPackageInstalled z:\tswi\tuiscriptadaptors\scripts\testfotaupdate.ini stubapp_info_fota_v1 |
|
52 RUN_TEST_STEP 100 tscrapparc ScrGetApplicationRegistrationView z:\tswi\tuiscriptadaptors\scripts\testfotaupdate.ini stubapp_scr_info_fota_v1 |
|
53 END_TESTCASE FotaTest4 |
|
54 |
|
55 |
|
56 //! @SYMTestCaseID INST-REG-FOTA-0005 |
|
57 //! @SYMTestCaseDesc Tests F/W update scenario for application registration resource files present in <systemdrive>\private\10003a3f\apps |
|
58 //! @SYMREQ PREQ1835 |
|
59 //! @SYMTestPriority High |
|
60 //! @SYMTestActions Tests F/W update scenario for application registration resource files present in <systemdrive>\private\10003a3f\apps |
|
61 //! @SYMTestExpectedResults Scr db is updated with latest app info |
|
62 START_TESTCASE FotaTest5 |
|
63 RUN_TEST_STEP 100 tscrapparc ScrGetApplicationRegistrationView z:\tswi\tuiscriptadaptors\scripts\testfotaupdate.ini app_info_fota_UDA1 |
|
64 END_TESTCASE FotaTest5 |
|
65 |
|
66 //! @SYMTestCaseID INST-REG-FOTA-0006 |
|
67 //! @SYMTestCaseDesc Tests F/W update scenario for application registration resource files present in <systemdrive>\private\10003a3f\import\apps |
|
68 //! @SYMREQ PREQ1835 |
|
69 //! @SYMTestPriority High |
|
70 //! @SYMTestActions Tests F/W update scenario for application registration resource files present in <systemdrive>\private\10003a3f\import\apps |
|
71 //! @SYMTestExpectedResults Scr db is updated with latest app info |
|
72 START_TESTCASE FotaTest6 |
|
73 RUN_TEST_STEP 100 tscrapparc ScrGetApplicationRegistrationView z:\tswi\tuiscriptadaptors\scripts\testfotaupdate.ini app_info_fota_UDA2 |
|
74 END_TESTCASE FotaTest6 |