equal
deleted
inserted
replaced
|
1 // Copyright (c) 2007-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 __GRAPHICSPERFORMANCENONREDRAWDRAWING_H__ |
|
23 #define __GRAPHICSPERFORMANCENONREDRAWDRAWING_H__ |
|
24 |
|
25 #include "te_graphicsperformanceSuiteStepBase.h" |
|
26 #include <w32std.h> |
|
27 #include <test/ttmsgraphicsstep.h> |
|
28 |
|
29 class CTNonRedrawDrawing : public CTe_graphicsperformanceSuiteStepBase |
|
30 { |
|
31 public: |
|
32 CTNonRedrawDrawing(); |
|
33 ~CTNonRedrawDrawing(); |
|
34 |
|
35 private: |
|
36 enum TTestCase |
|
37 { |
|
38 EUseOpaqueDraw, |
|
39 EUseTransparencyFactor |
|
40 }; |
|
41 void NonRedrawDrawingL(TTestCase aTestCase); |
|
42 |
|
43 // From CTestStep |
|
44 virtual TVerdict doTestStepPreambleL(); |
|
45 virtual TVerdict doTestStepL(); |
|
46 |
|
47 private: |
|
48 RWsSession iWsSession; |
|
49 RWindowGroup iWinGroup; |
|
50 RWindow iBackgroundWindow; |
|
51 CWsScreenDevice* iScreenDevice; |
|
52 CWindowGc* iWindowGc; |
|
53 }; |
|
54 |
|
55 _LIT(KTNonRedrawDrawing,"tnonredrawdrawing"); |
|
56 |
|
57 #endif //__GRAPHICSPERFORMANCENONREDRAWDRAWING_H__ |