|
1 // Copyright (c) 2006-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 @file |
|
18 @test |
|
19 @internalComponent - Internal Symbian test code |
|
20 */ |
|
21 |
|
22 #ifndef __T_APPLISTFILEUPDATESTEP_H |
|
23 #define __T_APPLISTFILEUPDATESTEP_H |
|
24 |
|
25 #include "apparctestserver.h" |
|
26 #include "appfwk_test_utils.h" |
|
27 |
|
28 |
|
29 _LIT(KT_AppListFileUpdate,"T_AppListFileUpdate"); |
|
30 |
|
31 class CT_AppListFileUpdateStep : public CTestStep |
|
32 { |
|
33 public: |
|
34 CT_AppListFileUpdateStep(); |
|
35 ~CT_AppListFileUpdateStep(); |
|
36 virtual TVerdict doTestStepL(); |
|
37 virtual TVerdict doTestStepPreambleL(); |
|
38 virtual TVerdict doTestStepPostambleL(); |
|
39 |
|
40 private: |
|
41 void TestTimeStampL(); |
|
42 void AppsListModifiedTimeL(TTime &); |
|
43 void DeleteApplicationL(const TDesC&); |
|
44 void InstallApplicationL(const TDesC&); |
|
45 |
|
46 private: |
|
47 void TestDeleteAppListFileL(); |
|
48 void DeleteAppListFileL(const TDesC& aFileName); |
|
49 TBool CheckForFilePresent(); |
|
50 |
|
51 public: |
|
52 RFs iFs; |
|
53 RApaLsSession iSession; |
|
54 RSmlTestUtils iUtils; |
|
55 }; |
|
56 |
|
57 |
|
58 #endif |
|
59 |