equal
deleted
inserted
replaced
|
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 */ |
|
17 #ifndef CA_SRV_TEST_UTILS_H |
|
18 #define CA_SRV_TEST_UTILS_H |
|
19 //utility class for tests |
|
20 //all utility methods should be implemented here |
|
21 |
|
22 #include "casrvengutils.h" |
|
23 #include "casrvplugin.h" |
|
24 |
|
25 class CCaStorageProxy; |
|
26 class CCaInnerEntry; |
|
27 class CCaSrvEngUtils; |
|
28 |
|
29 class CTestUtils: public CBase |
|
30 { |
|
31 public: |
|
32 |
|
33 /**/ |
|
34 virtual ~CTestUtils(); |
|
35 |
|
36 /**/ |
|
37 static CTestUtils* NewL(); |
|
38 |
|
39 /**/ |
|
40 static CTestUtils* NewLC(); |
|
41 |
|
42 |
|
43 /** |
|
44 * Copys test Db |
|
45 */ |
|
46 TInt CopyDb(); |
|
47 |
|
48 /** |
|
49 * Checks if app exists in Db |
|
50 private: |
|
51 |
|
52 /** |
|
53 * Copys files |
|
54 */ |
|
55 TInt Copy( const TDesC& aSource, const TDesC& aDest ); |
|
56 |
|
57 CTestUtils(); |
|
58 |
|
59 void ConstructL(); |
|
60 |
|
61 RFs iFs; |
|
62 CFileMan* iFileManager; |
|
63 /* |
|
64 * own |
|
65 */ |
|
66 }; |
|
67 |
|
68 #endif |