First public contribution.
1 // Copyright (c) 1998-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.
20 #include "TGraphicsHarness.h"
23 class CTRgb : public CTGraphicsBase
26 CTRgb(CTestStep* aStep);
30 virtual void RunTestCaseL(TInt aCurTestCase);
43 void TestColor256Util();
44 void TestColor16MAP();
45 void ValidatePMAndNPM(TInt aAlpha, TInt aValue, TInt aPreMulVal, TInt aNonPreMulValue);
48 class CTRgbStep : public CTGraphicsStep
54 virtual CTGraphicsBase* CreateTestL();
57 _LIT(KTRgbStep,"TRgb");