Update contrib.
1 // Copyright (c) 2007-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.
19 @internalComponent - Internal Symbian test code
22 #ifndef __TGIFONTRENDERINGPERF_H__
23 #define __TGIFONTRENDERINGPERF_H__
25 #include "te_graphicsperformanceSuiteStepBase.h"
27 #include <shapeinfo.h>
30 #include <test/ttmsgraphicsstep.h>
31 #include <graphics/openfontrasterizer.h>
32 #include <graphics/openfontconstants.h>
35 //#include <e32base.h>
37 class CTGDIFontRenderingPerf : public CTe_graphicsperformanceSuiteStepBase
40 CTGDIFontRenderingPerf();
41 ~CTGDIFontRenderingPerf();
45 virtual TVerdict doTestStepPreambleL();
46 virtual TVerdict doTestStepL();
47 virtual TVerdict doTestStepPostambleL();
49 // GCP2 is an abbreviation used for GetCharacterPosition2()
50 void GCP2IndicPerformanceTestL();
51 void GCP2ReadingTextPerfL(TPtrC aPtr,const TDesC& aTestCaseName);
52 void GCP2TypingTextPerfL(TPtrC aPtr,const TDesC& aTestCaseName);
55 TVerdict ConfigSectionFailure(const TDesC16 &aErrorText);
60 CFont::TPositionParam iParam;
62 //Values Read in from the ini file.
64 TBuf<30> iTestText; //Unicode characters being read in.
67 _LIT(KTGDIFontRenderingPerfName,"tgdifontrenderingperf");