|
1 /* |
|
2 * ============================================================================ |
|
3 * Name : bctestdomaknnoctrlcase.h |
|
4 * Part of : BCTest / bctestdomaiwakn |
|
5 * Description : declaration of test case |
|
6 * Version : %version: 1 % << Don't touch! Updated by Synergy at check-out. |
|
7 * |
|
8 * Copyright © 2007. All rights reserved. |
|
9 * This material, including documentation and any related computer |
|
10 * programs, is protected by copyright controlled by Nokia. All |
|
11 * rights are reserved. Copying, including reproducing, storing, |
|
12 * adapting or translating, any or all of this material requires the |
|
13 * prior written consent of Nokia. This material also contains |
|
14 * confidential information which may not be disclosed to others |
|
15 * without the prior written consent of Nokia. |
|
16 * ============================================================================ |
|
17 * Template version: 4.2 |
|
18 */ |
|
19 |
|
20 #ifndef C_CBCTESTDOMAKNNOCTRLCASE_H |
|
21 #define C_CBCTESTDOMAKNNOCTRLCASE_H |
|
22 |
|
23 #include "bctestcase.h" |
|
24 |
|
25 |
|
26 class CBCTestDomAiwAknContainer; |
|
27 class CCoeControl; |
|
28 class CEikonEnv; |
|
29 |
|
30 /** |
|
31 * test case for various classes |
|
32 * |
|
33 * |
|
34 * @code |
|
35 * |
|
36 * @endcode |
|
37 * |
|
38 * @lib |
|
39 * @since S60 v5.0 |
|
40 */ |
|
41 class CBCTestDomAknNoCtrlCase: |
|
42 public CBCTestCase |
|
43 ,public MEikMenuObserver |
|
44 { |
|
45 |
|
46 public: |
|
47 |
|
48 /** |
|
49 * Symbian 2nd static constructor |
|
50 */ |
|
51 static CBCTestDomAknNoCtrlCase* NewL( |
|
52 CBCTestDomAiwAknContainer* aContainer ); |
|
53 |
|
54 /** |
|
55 * Destructor |
|
56 */ |
|
57 virtual ~CBCTestDomAknNoCtrlCase(); |
|
58 |
|
59 public: |
|
60 |
|
61 // from base class CBCTestCase |
|
62 |
|
63 /** |
|
64 * From CBCTestCase. |
|
65 * Execute corresponding test functions for UI command. |
|
66 * |
|
67 * @since S60 v5.0 |
|
68 * @param aCmd, UI command |
|
69 */ |
|
70 void RunL( TInt aCmd ); |
|
71 |
|
72 |
|
73 // from base class MEikMenuObserver |
|
74 |
|
75 /** |
|
76 * From MEikMenuObserver. |
|
77 * Processes user commands. |
|
78 * |
|
79 * Derived classes must provide an implementation of this function which |
|
80 * responds to user commands appropriately based on a user-defined ID for |
|
81 * the command. |
|
82 * |
|
83 * @since S60 v5.0 |
|
84 * @param aCommandId ID of the command to respond to. |
|
85 */ |
|
86 virtual void ProcessCommandL(TInt aCommandId) ; |
|
87 |
|
88 /** |
|
89 * From MEikMenuObserver. |
|
90 * Called by the Uikon framework to handle the emphasising or |
|
91 * de-emphasising of a menu window. |
|
92 * |
|
93 * CEikMenuBar objects call this on their observer to emphasise |
|
94 * themselves when they are displayed, and de-emphasise themselves |
|
95 * when they stop displaying. |
|
96 * |
|
97 * @since S60 v5.0 |
|
98 * @param aMenuControl The menu control. |
|
99 * @param aEmphasis ETrue to emphasize the menu, EFalse otherwise. |
|
100 */ |
|
101 virtual void SetEmphasis(CCoeControl* aMenuControl,TBool aEmphasis); |
|
102 |
|
103 |
|
104 protected: |
|
105 |
|
106 |
|
107 /** |
|
108 * Build autotest script |
|
109 * |
|
110 * @since S60 v5.0 |
|
111 */ |
|
112 void BuildScriptL(); |
|
113 |
|
114 /** |
|
115 * Test functions |
|
116 * |
|
117 * @since S60 v5.0 |
|
118 */ |
|
119 void TestAknDateFormatUtils(); //Not Ctrl |
|
120 |
|
121 /** |
|
122 * Test functions |
|
123 * |
|
124 * @since S60 v5.0 |
|
125 */ |
|
126 void TestAknEcsDetector(); //Not Ctrl |
|
127 |
|
128 /** |
|
129 * Test functions |
|
130 * |
|
131 * @since S60 v5.0 |
|
132 */ |
|
133 void TestAknEdwinFormAccessor(); //Not Ctrl |
|
134 |
|
135 /** |
|
136 * Test functions |
|
137 * |
|
138 * @since S60 v5.0 |
|
139 */ |
|
140 void TestAknExtendedInputCapabilities(); //Not Ctrl |
|
141 |
|
142 /** |
|
143 * Test functions |
|
144 * |
|
145 * @since S60 v5.0 |
|
146 */ |
|
147 void TestAknFontIdLayoutFont(); //Not Ctrl |
|
148 |
|
149 /** |
|
150 * Test functions |
|
151 * |
|
152 * @since S60 v5.0 |
|
153 */ |
|
154 void TestAknJapaneseReading();//Not Ctrl |
|
155 |
|
156 /** |
|
157 * Test functions |
|
158 * |
|
159 * @since S60 v5.0 |
|
160 */ |
|
161 void TestAknKeyRotator(); //Not Ctrl |
|
162 |
|
163 /** |
|
164 * Test functions |
|
165 * |
|
166 * @since S60 v5.0 |
|
167 */ |
|
168 void TestAknLaunchAppService();//Not Ctrl |
|
169 |
|
170 /** |
|
171 * Test functions |
|
172 * |
|
173 * @since S60 v5.0 |
|
174 */ |
|
175 void TestAknLayoutConfig(); //Not Ctrl |
|
176 |
|
177 /** |
|
178 * Test functions |
|
179 * |
|
180 * @since S60 v5.0 |
|
181 */ |
|
182 void TestCAknLibrary(); //Not Ctrl |
|
183 |
|
184 /** |
|
185 * Test functions |
|
186 * |
|
187 * @since S60 v5.0 |
|
188 */ |
|
189 void TestTAknLineBreaker();//Not Ctrl |
|
190 |
|
191 |
|
192 private: // constructor |
|
193 |
|
194 /** |
|
195 * C++ default constructor |
|
196 */ |
|
197 CBCTestDomAknNoCtrlCase( CBCTestDomAiwAknContainer* aContainer ); |
|
198 |
|
199 /** |
|
200 * Symbian 2nd constructor |
|
201 */ |
|
202 void ConstructL(); |
|
203 |
|
204 private: // data |
|
205 |
|
206 /** |
|
207 * Pointer to container. |
|
208 * not own |
|
209 */ |
|
210 CBCTestDomAiwAknContainer* iContainer; |
|
211 |
|
212 }; |
|
213 |
|
214 #endif // C_CBCTESTDOMAKNNOCTRLCASE_H |