contentstorage/casrv/calocalizerscanner/tsrc/t_calocalizerscanner/inc/t_calocalizerscanner.h
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: Main test class for hspluginmodel library. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef T_CALOCALIZER_H |
|
19 #define T_CALOCALIZER_H |
|
20 |
|
21 #include <QtTest/QtTest> |
|
22 |
|
23 #include <e32base.h> |
|
24 #include <W32STD.H> |
|
25 #include "casrvplugin.h" |
|
26 |
|
27 class CCaInnerEntry; |
|
28 class CCaStorageProxy; |
|
29 class CFileMan; |
|
30 /** |
|
31 * @test Test class for hsmcsserviceprovider library. |
|
32 */ |
|
33 class TestCaLocalizerScanner : public QObject |
|
34 { |
|
35 Q_OBJECT |
|
36 |
|
37 private slots: |
|
38 |
|
39 |
|
40 /** |
|
41 * initialize |
|
42 */ |
|
43 void initTestCase(); |
|
44 |
|
45 /* void init(); |
|
46 |
|
47 * |
|
48 * cleanup |
|
49 |
|
50 |
|
51 void cleanup();*/ |
|
52 |
|
53 void cleanupTestCase(); |
|
54 |
|
55 // tests |
|
56 |
|
57 void TestInitializeScannerProxy(); |
|
58 |
|
59 void TestLoadLocalizerPlugin(); |
|
60 |
|
61 |
|
62 private: |
|
63 |
|
64 //helper function to ommit debuging restriction under a trap |
|
65 void TestInitializeScannerProxyTrapped(); |
|
66 |
|
67 //helpers |
|
68 CCaInnerEntry* GetEntryById(TInt aId); |
|
69 CCaSrvPlugin* LoadPluginL( TUid aImplUid, TPluginParams aPluginParams ); |
|
70 |
|
71 CCaStorageProxy* iStorageProxy; |
|
72 CFileMan* iFileManager; |
|
73 RFs iFs; |
|
74 |
|
75 }; |
|
76 |
|
77 |
|
78 #endif//T_CALOCALIZER_H |