equal
deleted
inserted
replaced
1 // Copyright (c) 1996-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 1996-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
31 |
31 |
32 typedef TBuf<0x40> TOomTestName; |
32 typedef TBuf<0x40> TOomTestName; |
33 |
33 |
34 class CTOom; |
34 class CTOom; |
35 |
35 |
|
36 const TInt KNumCapKeyRequest = 20; |
|
37 |
36 |
38 |
37 class COomFailBase : public CBase |
39 class COomFailBase : public CBase |
38 { |
40 { |
39 public: |
41 public: |
40 COomFailBase(CTOom *aTest); |
42 COomFailBase(CTOom *aTest); |
190 void ClearUpL(); |
192 void ClearUpL(); |
191 TInt Fail(); |
193 TInt Fail(); |
192 TOomTestName TestName(); |
194 TOomTestName TestName(); |
193 }; |
195 }; |
194 |
196 |
195 class COomCaptureKey : public COomSetup |
197 class COomCaptureKeyBase : public COomSetup |
|
198 { |
|
199 public: |
|
200 COomCaptureKeyBase(CTOom *aTest); |
|
201 ~COomCaptureKeyBase(); |
|
202 void ConstructL(); |
|
203 protected: |
|
204 TInt32 iCapKey[KNumCapKeyRequest]; |
|
205 TInt iIndex; |
|
206 }; |
|
207 |
|
208 class COomCaptureKey : public COomCaptureKeyBase |
196 { |
209 { |
197 public: |
210 public: |
198 COomCaptureKey(CTOom *aTest); |
211 COomCaptureKey(CTOom *aTest); |
199 ~COomCaptureKey(); |
212 ~COomCaptureKey(); |
200 void ConstructL(); |
213 void ClearUpL(); |
201 void ClearUpL(); |
214 TInt Fail(); |
202 TInt Fail(); |
215 TOomTestName TestName(); |
203 TOomTestName TestName(); |
216 }; |
204 private: |
217 |
205 TInt32 iCapKey[20]; |
218 class COomCaptureKeyUpDown : public COomCaptureKeyBase |
206 TInt iIndex; |
|
207 }; |
|
208 |
|
209 class COomCaptureKeyUpDown : public COomSetup |
|
210 { |
219 { |
211 public: |
220 public: |
212 COomCaptureKeyUpDown(CTOom *aTest); |
221 COomCaptureKeyUpDown(CTOom *aTest); |
213 ~COomCaptureKeyUpDown(); |
222 ~COomCaptureKeyUpDown(); |
214 void ConstructL(); |
223 void ClearUpL(); |
215 void ClearUpL(); |
224 TInt Fail(); |
216 TInt Fail(); |
225 TOomTestName TestName(); |
217 TOomTestName TestName(); |
226 }; |
218 private: |
227 |
219 TInt32 iCapKey[20]; |
228 class COomLongKeyCapture : public COomCaptureKeyBase |
220 TInt iIndex; |
229 { |
|
230 public: |
|
231 COomLongKeyCapture(CTOom *aTest); |
|
232 ~COomLongKeyCapture(); |
|
233 void ClearUpL(); |
|
234 TInt Fail(); |
|
235 TOomTestName TestName(); |
221 }; |
236 }; |
222 |
237 |
223 class COomHotKey : public COomSetup |
238 class COomHotKey : public COomSetup |
224 { |
239 { |
225 public: |
240 public: |