author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Thu, 27 Aug 2009 07:43:07 +0300 | |
changeset 22 | fc9cf246af83 |
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 SENDMESSAGE_H |
|
22 |
#define SENDMESSAGE_H |
|
23 |
||
24 |
// INCLUDES |
|
25 |
//#include <StifLogger.h> |
|
26 |
#include <TestScripterInternal.h> |
|
27 |
#include <StifTestModule.h> |
|
28 |
||
29 |
||
30 |
extern int sendmessage_test1(int, char**); |
|
31 |
extern int sendmessage_test2(int, char**); |
|
32 |
extern int sendmessage_test3(int, char**); |
|
33 |
extern int sendmessage_test4(int, char**); |
|
34 |
extern int sendmessage_test5(int, char**); |
|
35 |
extern int sendmessage_test6(int, char**); |
|
36 |
extern int sendmessage_test7(int, char**); |
|
37 |
extern int sendmessage_test8(int, char**); |
|
38 |
extern int sendmessage_test9(int, char**); |
|
39 |
extern int sendmessage_test10(int, char**); |
|
22
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
40 |
extern int sendmessage_test11(int, char**); |
19 | 41 |
|
42 |
||
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( Kstlport_sendmessageLogPath, "\\logs\\testframework\\sendmessage1\\" ); |
|
52 |
// Log file |
|
53 |
//_LIT( Kstlport_sendmessageFile, "sendmessage1.txt" ); |
|
54 |
||
55 |
// FUNCTION PROTOTYPES |
|
56 |
//?type ?function_name(?arg_list); |
|
57 |
||
58 |
// FORWARD DECLARATIONS |
|
59 |
//class ?FORWARD_CLASSNAME; |
|
60 |
class Csapi_sendmessage; |
|
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(Csapi_sendmessage) : public CScriptBase |
|
77 |
{ |
|
78 |
public: // Constructors and destructor |
|
79 |
||
80 |
/** |
|
81 |
* Two-phased constructor. |
|
82 |
*/ |
|
83 |
static Csapi_sendmessage* NewL( CTestModuleIf& aTestModuleIf ); |
|
84 |
||
85 |
/** |
|
86 |
* Destructor. |
|
87 |
*/ |
|
88 |
virtual ~Csapi_sendmessage(); |
|
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 |
Csapi_sendmessage( 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 sendmessage_test1L( CStifItemParser& aItem ); |
|
162 |
virtual TInt sendmessage_test2L( CStifItemParser& aItem ); |
|
163 |
virtual TInt sendmessage_test3L( CStifItemParser& aItem ); |
|
164 |
virtual TInt sendmessage_test4L( CStifItemParser& aItem ); |
|
165 |
virtual TInt sendmessage_test5L( CStifItemParser& aItem ); |
|
166 |
virtual TInt sendmessage_test6L( CStifItemParser& aItem ); |
|
167 |
virtual TInt sendmessage_test7L( CStifItemParser& aItem ); |
|
168 |
virtual TInt sendmessage_test8L( CStifItemParser& aItem ); |
|
169 |
virtual TInt sendmessage_test9L( CStifItemParser& aItem ); |
|
170 |
virtual TInt sendmessage_test10L( CStifItemParser& aItem ); |
|
22
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
171 |
virtual TInt sendmessage_test11L( CStifItemParser& aItem ); |
19 | 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 |
||
189 |
public: // Friend classes |
|
190 |
//?friend_class_declaration; |
|
191 |
protected: // Friend classes |
|
192 |
//?friend_class_declaration; |
|
193 |
private: // Friend classes |
|
194 |
//?friend_class_declaration; |
|
195 |
||
196 |
}; |
|
197 |
||
198 |
#endif // STLPORT_ACCUM_H |
|
199 |
||
200 |
// End of File |