equal
deleted
inserted
replaced
|
1 // Copyright (c) 1996-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // Generate a list of rectangles to be used as parameters for graphics tests |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @file |
|
20 @test |
|
21 @internalComponent - Internal Symbian test code |
|
22 */ |
|
23 |
|
24 #ifndef __TRECTLIST_H__ |
|
25 #define __TRECTLIST_H__ |
|
26 |
|
27 #include <e32std.h> |
|
28 #include <w32std.h> |
|
29 #include "../tlib/testbase.h" |
|
30 #include "AUTO.H" |
|
31 #include "TGraphicsHarness.h" |
|
32 |
|
33 class CTRectList : public CTWsGraphicsBase |
|
34 { |
|
35 public: |
|
36 CTRectList(CTestStep* aStep); |
|
37 ~CTRectList(); |
|
38 void ConstructL(); |
|
39 protected: |
|
40 //from CTGraphicsStep |
|
41 virtual void RunTestCaseL(TInt aCurTestCase); |
|
42 private: |
|
43 TPoint iOffset1; |
|
44 TPoint iOffset2; |
|
45 TSize iWinSize; |
|
46 }; |
|
47 |
|
48 class CTRectListStep : public CTGraphicsStep |
|
49 { |
|
50 public: |
|
51 CTRectListStep(); |
|
52 protected: |
|
53 //from CTGraphicsStep |
|
54 virtual CTGraphicsBase* CreateTestL(); |
|
55 }; |
|
56 |
|
57 _LIT(KTRectListStep,"TRectList"); |
|
58 |
|
59 |
|
60 #endif |