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 |
// FUNCTION PROTOTYPES |
|
51 |
//?type ?function_name(?arg_list); |
|
52 |
||
53 |
// FORWARD DECLARATIONS |
|
54 |
//class ?FORWARD_CLASSNAME; |
|
55 |
class CProviderTest; |
|
56 |
||
57 |
// DATA TYPES |
|
58 |
//enum ?declaration |
|
59 |
//typedef ?declaration |
|
60 |
//extern ?data_type; |
|
61 |
||
62 |
// CLASS DECLARATION |
|
63 |
||
64 |
/** |
|
65 |
* Cstlport_accum test class for STIF Test Framework TestScripter. |
|
66 |
* ?other_description_lines |
|
67 |
* |
|
68 |
* @lib ?library |
|
69 |
* @since ?Series60_version |
|
70 |
*/ |
|
71 |
NONSHARABLE_CLASS(CProviderTest) : public CScriptBase |
|
72 |
{ |
|
73 |
public: // Constructors and destructor |
|
74 |
||
75 |
/** |
|
76 |
* Two-phased constructor. |
|
77 |
*/ |
|
78 |
static CProviderTest* NewL( CTestModuleIf& aTestModuleIf ); |
|
79 |
||
80 |
/** |
|
81 |
* Destructor. |
|
82 |
*/ |
|
83 |
virtual ~CProviderTest(); |
|
84 |
||
85 |
public: // New functions |
|
86 |
||
87 |
/** |
|
88 |
* ?member_description. |
|
89 |
* @since ?Series60_version |
|
90 |
* @param ?arg1 ?description |
|
91 |
* @return ?description |
|
92 |
*/ |
|
93 |
//?type ?member_function( ?type ?arg1 ); |
|
94 |
||
95 |
public: // Functions from base classes |
|
96 |
||
97 |
/** |
|
98 |
* From CScriptBase Runs a script line. |
|
99 |
* @since ?Series60_version |
|
100 |
* @param aItem Script line containing method name and parameters |
|
101 |
* @return Symbian OS error code |
|
102 |
*/ |
|
103 |
virtual TInt RunMethodL( CStifItemParser& aItem ); |
|
104 |
||
105 |
protected: // New functions |
|
106 |
||
107 |
/** |
|
108 |
* ?member_description. |
|
109 |
* @since ?Series60_version |
|
110 |
* @param ?arg1 ?description |
|
111 |
* @return ?description |
|
112 |
*/ |
|
113 |
//?type ?member_function( ?type ?arg1 ); |
|
114 |
||
115 |
protected: // Functions from base classes |
|
116 |
||
117 |
/** |
|
118 |
* From ?base_class ?member_description |
|
119 |
*/ |
|
120 |
//?type ?member_function(); |
|
121 |
||
122 |
private: |
|
123 |
||
124 |
/** |
|
125 |
* C++ default constructor. |
|
126 |
*/ |
|
127 |
CProviderTest( CTestModuleIf& aTestModuleIf ); |
|
128 |
||
129 |
/** |
|
130 |
* By default Symbian 2nd phase constructor is private. |
|
131 |
*/ |
|
132 |
void ConstructL(); |
|
133 |
||
134 |
// Prohibit copy constructor if not deriving from CBase. |
|
135 |
// ?classname( const ?classname& ); |
|
136 |
// Prohibit assigment operator if not deriving from CBase. |
|
137 |
// ?classname& operator=( const ?classname& ); |
|
138 |
||
139 |
/** |
|
140 |
* Frees all resources allocated from test methods. |
|
141 |
* @since ?Series60_version |
|
142 |
*/ |
|
143 |
void Delete(); |
|
144 |
||
145 |
/** |
|
146 |
* Test methods are listed below. |
|
147 |
*/ |
|
148 |
||
149 |
/** |
|
150 |
* Example test method. |
|
151 |
* @since ?Series60_version |
|
152 |
* @param aItem Script line containing parameters. |
|
153 |
* @return Symbian OS error code. |
|
154 |
*/ |
|
155 |
||
156 |
virtual TInt CheckInputArgumentType( CStifItemParser& aItem ); |
|
157 |
virtual TInt TestInvalidInterface( CStifItemParser& aItem ); |
|
158 |
TInt FillInputParmaeterList(CStifItemParser& aItem , CLiwGenericParamList* input ); |
|
159 |
TInt FillMap( CStifItemParser& aItem , CLiwDefaultMap* aMap ); |
|
160 |
TInt FillList( CStifItemParser& aItem , CLiwDefaultList* aList ); |
|
161 |
void PrintInputParameterList( CLiwGenericParamList* input ); |
|
162 |
||
163 |
||
164 |
||
165 |
||
166 |
||
167 |
/* virtual TInt getlistapplication_test2L( CStifItemParser& aItem ); |
|
168 |
virtual TInt getlistapplication_test3L( CStifItemParser& aItem ); |
|
169 |
/* virtual TInt getlistapplicationmms_test1L( CStifItemParser& aItem ); |
|
170 |
virtual TInt getlistapplicationmms_test2L( CStifItemParser& aItem ); |
|
171 |
*/ |
|
172 |
||
173 |
public: // Data |
|
174 |
// ?one_line_short_description_of_data |
|
175 |
//?data_declaration; |
|
176 |
||
177 |
protected: // Data |
|
178 |
// ?one_line_short_description_of_data |
|
179 |
//?data_declaration; |
|
180 |
||
181 |
private: // Data |
|
182 |
||
183 |
// ?one_line_short_description_of_data |
|
184 |
//?data_declaration; |
|
185 |
||
186 |
// Reserved pointer for future extension |
|
187 |
//TAny* iReserved; |
|
188 |
//static TInt iCount; |
|
189 |
||
190 |
||
191 |
/** Contains the output buffer.*/ |
|
192 |
HBufC* iOutputBuffer; |
|
193 |
||
194 |
public: // Friend classes |
|
195 |
//?friend_class_declaration; |
|
196 |
protected: // Friend classes |
|
197 |
//?friend_class_declaration; |
|
198 |
private: // Friend classes |
|
199 |
//?friend_class_declaration; |
|
200 |
||
201 |
}; |
|
202 |
||
203 |
#endif // STLPORT_ACCUM_H |
|
204 |
||
205 |
// End of File |