Update contrib.
1 // Copyright (c) 2004-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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #if !defined(__TSCDVTEST_H__)
17 #define __TSCDVTEST_H__
19 #include "TGraphicsHarness.h"
21 class CTScdv : public CTGraphicsBase
24 CTScdv(CTestStep* aStep);
27 virtual void RunTestCaseL(TInt aCurTestCase);
29 inline TInt ByteSize(const TSize& aSize, TDisplayMode aDisplayMode);
30 TBool CreateScreenDeviceLC(TInt aScreenNo,
31 TDisplayMode aDisplayMode,
32 CFbsDrawDevice*& aScreenDevice);
33 TAny* InitScreenDeviceLC(CFbsDrawDevice* aScreenDevice,
34 TDisplayMode aDisplayMode);
35 void TestScreenDeviceCreationL();
36 void TestBitmapDeviceCreationL();
39 class CTScdvStep : public CTGraphicsStep
45 virtual CTGraphicsBase* CreateTestL();
46 virtual void TestSetupL();
49 _LIT(KTScdvStep,"TScdv");