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) 2002 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 TCALTEST_H |
|
22 |
#define TCALTEST_H |
|
23 |
||
24 |
// INCLUDES |
|
25 |
#include <StifLogger.h> |
|
26 |
#include <TestScripterInternal.h> |
|
27 |
#include <StifTestModule.h> |
|
28 |
#include<e32des16.h> |
|
29 |
||
30 |
||
31 |
//#include <SAPI_TEST\testprg.h> |
|
32 |
// CONSTANTS |
|
33 |
//const ?type ?constant_var = ?constant; |
|
34 |
||
35 |
// MACROS |
|
36 |
//#define ?macro ?macro_def |
|
37 |
// FUNCTION PROTOTYPES |
|
38 |
//?type ?function_name(?arg_list); |
|
39 |
||
40 |
// FORWARD DECLARATIONS |
|
41 |
//class ?FORWARD_CLASSNAME; |
|
42 |
class CTCalendarUpdateTest; |
|
43 |
||
44 |
// DATA TYPES |
|
45 |
//enum ?declaration |
|
46 |
//typedef ?declaration |
|
47 |
//extern ?data_type; |
|
48 |
||
49 |
// CLASS DECLARATION |
|
50 |
||
51 |
/** |
|
52 |
* CTLocTest test class for STIF Test Framework TestScripter. |
|
53 |
* ?other_description_lines |
|
54 |
* |
|
55 |
* @lib ?library |
|
56 |
* @since ?Series60_version |
|
57 |
*/ |
|
58 |
NONSHARABLE_CLASS(CTCalendarUpdateTest) : public CScriptBase |
|
59 |
{ |
|
60 |
public: // Constructors and destructor |
|
61 |
||
62 |
/** |
|
63 |
* Two-phased constructor. |
|
64 |
*/ |
|
65 |
static CTCalendarUpdateTest* NewL( CTestModuleIf& aTestModuleIf ); |
|
66 |
||
67 |
/** |
|
68 |
* Destructor. |
|
69 |
*/ |
|
70 |
virtual ~CTCalendarUpdateTest(); |
|
71 |
||
72 |
public: // New functions |
|
73 |
||
74 |
/** |
|
75 |
* ?member_description. |
|
76 |
* @since ?Series60_version |
|
77 |
* @param ?arg1 ?description |
|
78 |
* @return ?description |
|
79 |
*/ |
|
80 |
//?type ?member_function( ?type ?arg1 ); |
|
81 |
||
82 |
public: // Functions from base classes |
|
83 |
||
84 |
/** |
|
85 |
* From CScriptBase Runs a script line. |
|
86 |
* @since ?Series60_version |
|
87 |
* @param aItem Script line containing method name and parameters |
|
88 |
* @return Symbian OS error code |
|
89 |
*/ |
|
90 |
virtual TInt RunMethodL( CStifItemParser& aItem ); |
|
91 |
||
92 |
protected: // New functions |
|
93 |
||
94 |
/** |
|
95 |
* ?member_description. |
|
96 |
* @since ?Series60_version |
|
97 |
* @param ?arg1 ?description |
|
98 |
* @return ?description |
|
99 |
*/ |
|
100 |
//?type ?member_function( ?type ?arg1 ); |
|
101 |
||
102 |
protected: // Functions from base classes |
|
103 |
||
104 |
/** |
|
105 |
* From ?base_class ?member_description |
|
106 |
*/ |
|
107 |
//?type ?member_function(); |
|
108 |
||
109 |
private: |
|
110 |
||
111 |
/** |
|
112 |
* C++ default constructor. |
|
113 |
*/ |
|
114 |
CTCalendarUpdateTest( CTestModuleIf& aTestModuleIf ); |
|
115 |
||
116 |
/** |
|
117 |
* By default Symbian 2nd phase constructor is private. |
|
118 |
*/ |
|
119 |
void ConstructL(); |
|
120 |
||
121 |
// Prohibit copy constructor if not deriving from CBase. |
|
122 |
// ?classname( const ?classname& ); |
|
123 |
// Prohibit assigment operator if not deriving from CBase. |
|
124 |
// ?classname& operator=( const ?classname& ); |
|
125 |
||
126 |
/** |
|
127 |
* Frees all resources allocated from test methods. |
|
128 |
* @since ?Series60_version |
|
129 |
*/ |
|
130 |
void Delete(); |
|
131 |
||
132 |
/** |
|
133 |
* Test methods are listed below. |
|
134 |
*/ |
|
135 |
||
136 |
/** |
|
137 |
* Example test method. |
|
138 |
* @since ?Series60_version |
|
139 |
* @param aItem Script line containing parameters. |
|
140 |
* @return Symbian OS error code. |
|
141 |
*/ |
|
142 |
||
143 |
virtual TInt UpdateAppointmentEntryWithNewTimeL(CStifItemParser &aItem ); |
|
144 |
virtual TInt UpdateAppointmentEntryL(CStifItemParser &aItem ); |
|
145 |
virtual TInt UpdateAppointmentEntryWithNewAttendeesL(CStifItemParser &aItem ); |
|
146 |
virtual TInt UpdateAppointmentEntryWithNewRepeatL(CStifItemParser &aItem ); |
|
147 |
//virtual TInt AddApptWithAttendees(CStifItemParser &aItem ); |
|
148 |
virtual TInt UpdateAnniversaryL(CStifItemParser &aItem ); |
|
149 |
virtual TInt UpdateDayEventL(CStifItemParser &aItem ); |
|
150 |
virtual TInt UpdateReminderL(CStifItemParser &aItem ); |
|
151 |
virtual TInt UpdateTodoEntryL(CStifItemParser &aItem ); |
|
22
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
152 |
|
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
153 |
virtual TInt UpdateAppointmentEntryWithGlobalIdL(CStifItemParser &aItem ); |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
154 |
virtual TInt UpdateAnniversaryWithGlobalIdL(CStifItemParser &aItem ); |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
155 |
virtual TInt UpdateDayEventWithGlobalIdL(CStifItemParser &aItem ); |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
156 |
virtual TInt UpdateReminderWithGlobalIdL(CStifItemParser &aItem ); |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
157 |
virtual TInt UpdateTodoEntryWithGlobalIdL(CStifItemParser &aItem ); |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
158 |
virtual TInt UpdateAppointmentEntryWithNewTimeAndGlobalIdL(CStifItemParser &aItem ); |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
159 |
|
19 | 160 |
public: // Data |
161 |
||
162 |
//?data_declaration; |
|
163 |
||
164 |
protected: // Data |
|
165 |
// ?one_line_short_description_of_data |
|
166 |
//?data_declaration; |
|
167 |
||
168 |
private: // Data |
|
169 |
// CLocCoreImp Core class that contains all the location functionalities |
|
170 |
||
171 |
// ?one_line_short_description_of_data |
|
172 |
//?data_declaration; |
|
173 |
||
174 |
// Reserved pointer for future extension |
|
175 |
//TAny* iReserved; |
|
176 |
||
177 |
public: // Friend classes |
|
178 |
//?friend_class_declaration; |
|
179 |
protected: // Friend classes |
|
180 |
//?friend_class_declaration; |
|
181 |
private: // Friend classes |
|
182 |
//?friend_class_declaration; |
|
183 |
||
184 |
}; |
|
185 |
||
186 |
||
187 |
#endif // TCALTEST_H |
|
188 |
||
189 |
// End of File |