equal
deleted
inserted
replaced
|
1 // Copyright (c) 2005-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 __TSHADOWPERF_H__ |
|
23 #define __TSHADOWPERF_H__ |
|
24 |
|
25 #include "te_graphicsperformanceSuiteStepBase.h" |
|
26 #include <bitdraw.h> |
|
27 #include <test/ttmsgraphicsstep.h> |
|
28 |
|
29 class CTShadowPerf : public CTe_graphicsperformanceSuiteStepBase |
|
30 { |
|
31 public: |
|
32 CTShadowPerf(); |
|
33 ~CTShadowPerf(); |
|
34 |
|
35 private: |
|
36 enum TShadowTest |
|
37 { |
|
38 EShadow, |
|
39 EFade, |
|
40 }; |
|
41 |
|
42 void ShadowAreaL(); |
|
43 void FadeAreaL(); |
|
44 void FadedShadowTestL(); |
|
45 void AntialiasedTextTestL(); |
|
46 void AreaTestL(TShadowTest aShadowTest, const TDesC& aTestName, TInt aDisplayModeIndex); |
|
47 |
|
48 // From CTestStep |
|
49 virtual TVerdict doTestStepPreambleL(); |
|
50 virtual TVerdict doTestStepL(); |
|
51 }; |
|
52 |
|
53 _LIT(KTShadowPerfName,"tshadowperf"); |
|
54 |
|
55 #endif |