|
1 // |
|
2 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 // All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of "Eclipse Public License v1.0" |
|
6 // which accompanies this distribution, and is available |
|
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 // |
|
9 // Initial Contributors: |
|
10 // Nokia Corporation - initial contribution. |
|
11 // |
|
12 // Contributors: |
|
13 // |
|
14 // Description: |
|
15 // |
|
16 //! @file |
|
17 //! @SYMTestCaseID API-APPFWK-APPARC-0032 |
|
18 //! @SYMPREQ PREQ1228 |
|
19 //! @SYMREQ REQ5896 |
|
20 //! @SYMCR CR0831 |
|
21 //! @SYMTestCaseDesc Tests that the application information file (AppsList.bin) is updated |
|
22 //! whenever a new application is installed. |
|
23 //! @SYMTestType CIT |
|
24 //! @SYMTestPriority High |
|
25 //! @SYMTestStatus 3. Released |
|
26 //! @SYMTestActions This tests the update of the applist file in \\private\\10003a3f\\import\\\apps\\. |
|
27 //! The sequence is as follows: |
|
28 //! 1.- Check the file exists. It must exists. |
|
29 //! 2.- Record timestamp for applist file. |
|
30 //! 3.- Install a new test application. |
|
31 //! 4.- Record timestamp for applist file, allowing some time for the file to be updated |
|
32 //! 5.- Compare timestamps before and after test app installation. |
|
33 //! @SYMTestExpectedResults Modified time of AppsList.bin after installation must be greater than before installation. |
|
34 |
|
35 START_TESTCASE API-APPFWK-APPARC-0032 |
|
36 |
|
37 PRINT Run T_AppListFileUpdate Apparc test |
|
38 // |
|
39 LOAD_SUITE ApparcTestServer |
|
40 RUN_TEST_STEP 500 ApparcTestServer T_AppListFileUpdate |
|
41 |
|
42 END_TESTCASE API-APPFWK-APPARC-0032 |