1 /* |
|
2 * Copyright (c) 2007 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: Provides testing of CMnProvider class methods |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef CTESTMNPROVIDER_H |
|
21 #define CTESTMNPROVIDER_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <StifLogger.h> |
|
25 #include <TestScripterInternal.h> |
|
26 #include <StifTestModule.h> |
|
27 |
|
28 |
|
29 |
|
30 // CLASS |
|
31 |
|
32 class CTestMnProvider |
|
33 { |
|
34 public: //Public constructor of class |
|
35 |
|
36 /** |
|
37 * |
|
38 */ |
|
39 CTestMnProvider(CStifLogger* aLog); |
|
40 |
|
41 static CTestMnProvider* NewL(CStifLogger* aLog); |
|
42 |
|
43 void ConstructL(); |
|
44 |
|
45 ~CTestMnProvider(); |
|
46 |
|
47 public: //Public methods |
|
48 |
|
49 public: //Public methods |
|
50 |
|
51 /** |
|
52 * |
|
53 */ |
|
54 TInt DestroyProviderL( CStifItemParser& aItem ); |
|
55 |
|
56 /** |
|
57 * |
|
58 */ |
|
59 TInt ProviderUidL( CStifItemParser& aItem ); |
|
60 |
|
61 /** |
|
62 * |
|
63 */ |
|
64 TInt ProviderVersionL( CStifItemParser& aItem ); |
|
65 |
|
66 /** |
|
67 * |
|
68 */ |
|
69 TInt GetProviderNameL( CStifItemParser& aItem ); |
|
70 |
|
71 /** |
|
72 * |
|
73 */ |
|
74 TInt GetShortNameL( CStifItemParser& aItem ); |
|
75 |
|
76 /** |
|
77 * |
|
78 */ |
|
79 TInt GetVendorNameL( CStifItemParser& aItem ); |
|
80 |
|
81 /** |
|
82 * |
|
83 */ |
|
84 TInt SupportedServicesL( CStifItemParser& aItem ); |
|
85 |
|
86 /** |
|
87 * |
|
88 */ |
|
89 TInt SupportedFeaturesL( CStifItemParser& aItem ); |
|
90 |
|
91 |
|
92 private: |
|
93 |
|
94 // Private members |
|
95 CStifLogger* iLog; //Log |
|
96 }; |
|
97 |
|
98 #endif // CTESTMNPROVIDER_H |
|
99 |
|