equal
deleted
inserted
replaced
|
1 // Copyright (c) 2006-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 /** |
|
17 @file |
|
18 @test |
|
19 @internalComponent - Internal Symbian test code |
|
20 */ |
|
21 |
|
22 #ifndef TDIRECTGDIPERF_H_ |
|
23 #define TDIRECTGDIPERF_H_ |
|
24 |
|
25 #include "tdirectgditestbase.h" |
|
26 |
|
27 /** |
|
28 Test case derived from CTDirectGdiTestBase to perform the |
|
29 non-drawing performance of DirectGDI. |
|
30 */ |
|
31 class CTDirectGdiPerf : public CTDirectGdiTestBase |
|
32 { |
|
33 public: |
|
34 CTDirectGdiPerf(); |
|
35 ~CTDirectGdiPerf(); |
|
36 |
|
37 private: |
|
38 // From CTestStep |
|
39 virtual TVerdict doTestStepL(); |
|
40 |
|
41 void CreatingTargetsL(); |
|
42 void MakeCurrentOnDifferentFormatTargetL(); |
|
43 void MakeCurrentOnSameFormatTargetL(); |
|
44 |
|
45 // Helpers |
|
46 void DoMakeCurrentTestL(TPtrC aTestName, TBool aMatchingFormats); |
|
47 |
|
48 private: |
|
49 TDisplayMode iDisplayMode; |
|
50 }; |
|
51 |
|
52 _LIT(KTDirectGdiPerfTest,"TDirectGdiPerfTest"); |
|
53 |
|
54 #endif /*TDIRECTGDIPERF_H_*/ |