equal
deleted
inserted
replaced
|
1 // Copyright (c) 2008-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 #ifndef __TWDP_H__ |
|
17 #define __TWDP_H__ |
|
18 |
|
19 #include <fbs.h> |
|
20 #include "TGraphicsHarness.h" |
|
21 |
|
22 class CTWDP : public CTGraphicsBase |
|
23 { |
|
24 public: |
|
25 CTWDP(CTestStep* aStep); |
|
26 ~CTWDP(); |
|
27 protected: |
|
28 //from CTGraphicsStep |
|
29 virtual void RunTestCaseL(TInt aCurTestCase); |
|
30 virtual void ConstructL(); |
|
31 |
|
32 private: |
|
33 void TestFbservPaged(); |
|
34 void TestFbservUnPaged(); |
|
35 void TestBitmapDataPagedL(); |
|
36 void TestBitmapDataAndSharedHeapPagedL(); |
|
37 TBool DefaultDataPaged(); |
|
38 TBool BitmapDataPagedL(); |
|
39 |
|
40 private: |
|
41 RFbsSession* iFbs; |
|
42 RChunk iBitmapChunk; |
|
43 RChunk iSharedHeapChunk; |
|
44 }; |
|
45 |
|
46 |
|
47 class CTWDPStep : public CTGraphicsStep |
|
48 { |
|
49 public: |
|
50 CTWDPStep(); |
|
51 protected: |
|
52 //from CTGraphicsStep |
|
53 virtual CTGraphicsBase* CreateTestL(); |
|
54 }; |
|
55 |
|
56 _LIT(KTWDPStep,"TWDP"); |
|
57 |
|
58 #endif |