equal
deleted
inserted
replaced
|
1 // Copyright (c) 1997-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 // |
|
15 |
|
16 #if !defined(__TPARAM_H__) |
|
17 #define __TPARAM_H__ |
|
18 |
|
19 #include "TGraphicsHarness.h" |
|
20 |
|
21 //Some dispalay modes are scaled in the test. |
|
22 //Check the implementation of void CTParam::DoTestL(TDisplayMode aDispMode), |
|
23 //SetScalingFactor() call. |
|
24 |
|
25 class CTParam : public CTGraphicsBase |
|
26 { |
|
27 public: |
|
28 CTParam(CTestStep* aStep); |
|
29 protected: |
|
30 //from CTGraphicsStep |
|
31 virtual void RunTestCaseL(TInt aCurTestCase); |
|
32 private: |
|
33 void DoTestL(TDisplayMode aDispMode); |
|
34 void DoAnotherTestL(); |
|
35 private: |
|
36 CFbsScreenDevice* iDevice; |
|
37 CFbsBitGc* iContext; |
|
38 CFbsBitmap iBitmap; |
|
39 }; |
|
40 |
|
41 class CTParamStep : public CTGraphicsStep |
|
42 { |
|
43 public: |
|
44 CTParamStep(); |
|
45 protected: |
|
46 //from CTGraphicsStep |
|
47 virtual CTGraphicsBase* CreateTestL(); |
|
48 virtual void TestSetupL(); |
|
49 virtual void TestClose(); |
|
50 }; |
|
51 |
|
52 _LIT(KTParamStep,"TParam"); |
|
53 |
|
54 #endif |