author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Tue, 24 Nov 2009 08:56:33 +0200 | |
changeset 33 | 50974a8b132e |
parent 19 | 989d2f495d90 |
permissions | -rw-r--r-- |
19 | 1 |
/* |
2 |
* Copyright (c) 2006-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 the License "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: ?Description |
|
15 |
* |
|
16 |
*/ |
|
17 |
||
18 |
||
19 |
||
20 |
||
21 |
#ifndef APPMANAGERTEST_H |
|
22 |
#define APPMANAGERTEST_H |
|
23 |
||
24 |
// INCLUDES |
|
25 |
//#include <StifLogger.h> |
|
26 |
#include <TestScripterInternal.h> |
|
27 |
#include <StifTestModule.h> |
|
33
50974a8b132e
Revision: 200945
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
28 |
#include <liwservicehandler.h> |
19 | 29 |
#include <liwgenericparam.h> |
30 |
||
31 |
||
32 |
||
33 |
class CLiwGenericParamList; |
|
34 |
class CLiwDefaultMap; |
|
35 |
class CLiwDefaultList; |
|
36 |
||
37 |
using namespace LIW; |
|
38 |
||
39 |
extern int getlisttestL(int, char**); |
|
40 |
/*extern int getlistapplication_test2(int, char**); |
|
41 |
extern int getlistapplication_test3(int, char**); |
|
42 |
extern int getlistapplication_test3(int, char**); |
|
43 |
*/ |
|
44 |
//extern int accum2_test(int, char**); |
|
45 |
// CONSTANTS |
|
46 |
//const ?type ?constant_var = ?constant; |
|
47 |
||
48 |
// MACROS |
|
49 |
//#define ?macro ?macro_def |
|
50 |
// Logging path |
|
51 |
//_LIT( KappmanagertestLogPath, "\\logs\\testframework\\TappmanagerTest\\" ); |
|
52 |
// Log file |
|
53 |
//_LIT( KappmanagertestLogFile, "TappmanagerTest.txt" ); |
|
54 |
||
55 |
// FUNCTION PROTOTYPES |
|
56 |
//?type ?function_name(?arg_list); |
|
57 |
||
58 |
// FORWARD DECLARATIONS |
|
59 |
//class ?FORWARD_CLASSNAME; |
|
60 |
class CProviderTest; |
|
61 |
||
62 |
// DATA TYPES |
|
63 |
//enum ?declaration |
|
64 |
//typedef ?declaration |
|
65 |
//extern ?data_type; |
|
66 |
||
67 |
// CLASS DECLARATION |
|
68 |
||
69 |
/** |
|
70 |
* Cstlport_accum test class for STIF Test Framework TestScripter. |
|
71 |
* ?other_description_lines |
|
72 |
* |
|
73 |
* @lib ?library |
|
74 |
* @since ?Series60_version |
|
75 |
*/ |
|
76 |
NONSHARABLE_CLASS(CProviderTest) : public CScriptBase |
|
77 |
{ |
|
78 |
public: // Constructors and destructor |
|
79 |
||
80 |
/** |
|
81 |
* Two-phased constructor. |
|
82 |
*/ |
|
83 |
static CProviderTest* NewL( CTestModuleIf& aTestModuleIf ); |
|
84 |
||
85 |
/** |
|
86 |
* Destructor. |
|
87 |
*/ |
|
88 |
virtual ~CProviderTest(); |
|
89 |
||
90 |
public: // New functions |
|
91 |
||
92 |
/** |
|
93 |
* ?member_description. |
|
94 |
* @since ?Series60_version |
|
95 |
* @param ?arg1 ?description |
|
96 |
* @return ?description |
|
97 |
*/ |
|
98 |
//?type ?member_function( ?type ?arg1 ); |
|
99 |
||
100 |
public: // Functions from base classes |
|
101 |
||
102 |
/** |
|
103 |
* From CScriptBase Runs a script line. |
|
104 |
* @since ?Series60_version |
|
105 |
* @param aItem Script line containing method name and parameters |
|
106 |
* @return Symbian OS error code |
|
107 |
*/ |
|
108 |
virtual TInt RunMethodL( CStifItemParser& aItem ); |
|
109 |
||
110 |
protected: // New functions |
|
111 |
||
112 |
/** |
|
113 |
* ?member_description. |
|
114 |
* @since ?Series60_version |
|
115 |
* @param ?arg1 ?description |
|
116 |
* @return ?description |
|
117 |
*/ |
|
118 |
//?type ?member_function( ?type ?arg1 ); |
|
119 |
||
120 |
protected: // Functions from base classes |
|
121 |
||
122 |
/** |
|
123 |
* From ?base_class ?member_description |
|
124 |
*/ |
|
125 |
//?type ?member_function(); |
|
126 |
||
127 |
private: |
|
128 |
||
129 |
/** |
|
130 |
* C++ default constructor. |
|
131 |
*/ |
|
132 |
CProviderTest( CTestModuleIf& aTestModuleIf ); |
|
133 |
||
134 |
/** |
|
135 |
* By default Symbian 2nd phase constructor is private. |
|
136 |
*/ |
|
137 |
void ConstructL(); |
|
138 |
||
139 |
// Prohibit copy constructor if not deriving from CBase. |
|
140 |
// ?classname( const ?classname& ); |
|
141 |
// Prohibit assigment operator if not deriving from CBase. |
|
142 |
// ?classname& operator=( const ?classname& ); |
|
143 |
||
144 |
/** |
|
145 |
* Frees all resources allocated from test methods. |
|
146 |
* @since ?Series60_version |
|
147 |
*/ |
|
148 |
void Delete(); |
|
149 |
||
150 |
/** |
|
151 |
* Test methods are listed below. |
|
152 |
*/ |
|
153 |
||
154 |
/** |
|
155 |
* Example test method. |
|
156 |
* @since ?Series60_version |
|
157 |
* @param aItem Script line containing parameters. |
|
158 |
* @return Symbian OS error code. |
|
159 |
*/ |
|
160 |
||
161 |
virtual TInt CheckInputArgumentType( CStifItemParser& aItem ); |
|
162 |
TInt FillInputParmaeterList(CStifItemParser& aItem , CLiwGenericParamList* input ); |
|
163 |
TInt FillMap( CStifItemParser& aItem , CLiwDefaultMap* aMap ); |
|
164 |
TInt FillList( CStifItemParser& aItem , CLiwDefaultList* aList ); |
|
165 |
void PrintInputParameterList( CLiwGenericParamList* input ); |
|
166 |
||
167 |
||
168 |
||
169 |
||
170 |
||
171 |
/* virtual TInt getlistapplication_test2L( CStifItemParser& aItem ); |
|
172 |
virtual TInt getlistapplication_test3L( CStifItemParser& aItem ); |
|
173 |
/* virtual TInt getlistapplicationmms_test1L( CStifItemParser& aItem ); |
|
174 |
virtual TInt getlistapplicationmms_test2L( CStifItemParser& aItem ); |
|
175 |
*/ |
|
176 |
||
177 |
public: // Data |
|
178 |
// ?one_line_short_description_of_data |
|
179 |
//?data_declaration; |
|
180 |
||
181 |
protected: // Data |
|
182 |
// ?one_line_short_description_of_data |
|
183 |
//?data_declaration; |
|
184 |
||
185 |
private: // Data |
|
186 |
||
187 |
// ?one_line_short_description_of_data |
|
188 |
//?data_declaration; |
|
189 |
||
190 |
// Reserved pointer for future extension |
|
191 |
//TAny* iReserved; |
|
192 |
//static TInt iCount; |
|
193 |
||
194 |
||
195 |
/** Contains the output buffer.*/ |
|
196 |
HBufC* iOutputBuffer; |
|
197 |
||
198 |
public: // Friend classes |
|
199 |
//?friend_class_declaration; |
|
200 |
protected: // Friend classes |
|
201 |
//?friend_class_declaration; |
|
202 |
private: // Friend classes |
|
203 |
//?friend_class_declaration; |
|
204 |
||
205 |
}; |
|
206 |
||
207 |
#endif // STLPORT_ACCUM_H |
|
208 |
||
209 |
// End of File |