1 // |
1 // |
2 // Copyright (c) 2009 - 2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // Copyright (c) 2009 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 |
|
22 |
21 |
23 //! @SYMTestCaseID INST-REG-FOTA-0002 |
22 //! @SYMTestCaseID INST-REG-FOTA-0002 |
24 //! @SYMTestCaseDesc Tests F/W update scenario |
23 //! @SYMTestCaseDesc Tests F/W update scenario |
25 //! @SYMREQ REQ0000 |
24 //! @SYMREQ REQ0000 |
26 //! @SYMTestPriority High |
25 //! @SYMTestPriority High |
27 //! @SYMTestActions Tests F/W update scenario |
26 //! @SYMTestActions Tests F/W update scenario |
28 //! @SYMTestExpectedResults Registry is updated with latest stub info |
27 //! @SYMTestExpectedResults Registry is updated with latest stub info |
29 START_TESTCASE FotaTest2 |
28 START_TESTCASE FotaTest2 |
30 RUN_TEST_STEP 100 tSisRegistryTest IsPackageInstalled z:\tswi\tuiscriptadaptors\scripts\testfotaupdate.ini package_info_fota_v2 |
29 RUN_TEST_STEP 100 tSisRegistryTest IsPackageInstalled z:\tswi\tuiscriptadaptors\scripts\testfotaupdate.ini package_info_fota_v2 |
31 END_TESTCASE FotaTest2 |
30 END_TESTCASE FotaTest2 |
32 |
|
33 |
|
34 //! @SYMTestCaseID INST-REG-FOTA-0005 |
|
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 FotaTest5 |
|
41 RUN_TEST_STEP 100 tscrapparc ScrGetApplicationRegistrationView z:\tswi\tuiscriptadaptors\scripts\testfotaupdate.ini app_info_fota_v2 |
|
42 END_TESTCASE FotaTest5 |
|
43 |
|
44 //! @SYMTestCaseID INST-REG-FOTA-0006 |
|
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 FotaTest6 |
|
51 RUN_TEST_STEP 100 tSisRegistryTest IsPackageInstalled z:\tswi\tuiscriptadaptors\scripts\testfotaupdate.ini stubapp_info_fota_v2 |
|
52 RUN_TEST_STEP 100 tscrapparc ScrGetApplicationRegistrationView z:\tswi\tuiscriptadaptors\scripts\testfotaupdate.ini stubapp_scr_info_fota_v2 |
|
53 END_TESTCASE FotaTest6 |
|