First public contribution.
2 // Copyright (c) 1996-2009 Nokia Corporation and/or its subsidiary(-ies).
3 // All rights reserved.
4 // This component and the accompanying materials are made available
5 // under the terms of "Eclipse Public License v1.0"
6 // which accompanies this distribution, and is available
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 // Initial Contributors:
10 // Nokia Corporation - initial contribution.
20 @internalComponent - Internal Symbian test code
28 #include "../tlib/testbase.h"
30 #include "TGraphicsHarness.h"
32 #define SAVE_BITMAP_NAME _L("C:\\WSTEST\\SAVE.PBM")
34 class CTBitmap : public CTWsGraphicsBase
37 CTBitmap(CTestStep* aStep);
41 void TestFixForPDEF098889L();
46 void (*iFunction)(RWsSession& aSession, CWsScreenDevice& aDevice);
48 static TInt ThreadFunction(TAny* aParams);
49 static void Function1PDEF098889L(RWsSession& aSession, CWsScreenDevice& aDevice);
50 static void Function2PDEF098889L(RWsSession& aSession, CWsScreenDevice& aDevice);
53 virtual void RunTestCaseL(TInt aCurTestCase);
59 class CTBitmapStep : public CTGraphicsStep
65 virtual CTGraphicsBase* CreateTestL();
68 _LIT(KTBitmapStep,"TBitmap");