|
1 |
|
2 // Copyright (c) 2008-2009 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 "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: |
|
15 // tadvancedpionter.h |
|
16 // |
|
17 // |
|
18 |
|
19 /** |
|
20 @file |
|
21 @test |
|
22 @internalComponent - Internal Symbian test code |
|
23 */ |
|
24 |
|
25 #ifndef tadvancedpointerevent_h |
|
26 #define tadvancedpointerevent_h |
|
27 |
|
28 #include "w32std.h" |
|
29 #include "AUTO.H" |
|
30 #include "../tlib/testbase.h" |
|
31 #include "TGraphicsHarness.h" |
|
32 |
|
33 class CTAdvancedPointerEvent : public CTWsGraphicsBase |
|
34 { |
|
35 public: |
|
36 CTAdvancedPointerEvent(CTestStep* aStep); |
|
37 virtual ~CTAdvancedPointerEvent(); |
|
38 protected: |
|
39 //from CTGraphicsStep |
|
40 virtual void RunTestCaseL(TInt aCurTestCase); |
|
41 private: |
|
42 void TestPointerEventInit(); |
|
43 void TestAdvancedPointerInit(); |
|
44 void TestAdvancedPointerGetPointerId(); |
|
45 void TestAdvancedPointerGetPressureAndProximity(); |
|
46 void TestAdvancedPointerGetPressureAndProximity(const TPoint3D aPoint3D); |
|
47 void TestAdvancedPointerGetPressure(); |
|
48 void TestAdvancedPointerGetPosition(); |
|
49 void TestPointerEventCopying(); |
|
50 }; |
|
51 |
|
52 class CTAdvancedPointerEventStep : public CTGraphicsStep |
|
53 { |
|
54 public: |
|
55 CTAdvancedPointerEventStep(); |
|
56 protected: |
|
57 //from CTGraphicsStep |
|
58 virtual CTGraphicsBase* CreateTestL(); |
|
59 }; |
|
60 |
|
61 _LIT(KTAdvancedPointerEventStep,"TAdvancedPointerEvent"); |
|
62 |
|
63 #endif // tadvancedpointerevent_h |