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
23 #ifndef __TGETPIXEL_H__
24 #define __TGETPIXEL_H__
28 #include "../tlib/testbase.h"
30 #include "TGraphicsHarness.h"
32 class CTGetPixel : public CTWsGraphicsBase
35 CTGetPixel(CTestStep* aStep);
37 void DrawAndCheckLine(const TPoint &aPos,TInt aLen,TRgb aColor);
45 virtual void RunTestCaseL(TInt aCurTestCase);
48 void TestColors(CPalette* aPalette);
49 void CheckPaletteL(CPalette*& aPalette);
50 void ClearOutRedraws();
57 class CTGetPixelStep : public CTGraphicsStep
63 virtual CTGraphicsBase* CreateTestL();
66 _LIT(KTGetPixelStep,"TGetPixel");