Update contrib.
2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
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.
18 #ifndef T_SHAPETESTSTEP_H_
19 #define T_SHAPETESTSTEP_H_
22 #include <test/testexecutestepbase.h>
28 class CShapeTestStep : public CTestStep
31 static CTestStep * CreateShapeTestStep(const TDesC& aStepName);
34 TVerdict doTestStepL();
37 CShapeTestStep(TInt aTestDataIndex, TInt aNumberOfTestDataFiles, TUint32 aScript, TUint32 aLang, const TDesC& aScriptName, const TDesC& aTestID);
39 void SetupTestDataL();
41 void doShapeText(CBitmapFont* font, CTestData& aTestData, TBool aCheckOutput = EFalse);
42 void shapeText(CBitmapFont* font, CTestData& aTestData, TBool aCheckOutput = EFalse);
44 void doOomShapeText(CBitmapFont* font, CTestData& aTestData);
45 void oomShapeText(CBitmapFont* font, CTestData& aTestData);
47 void doRepeatShapeText(CBitmapFont* font, CTestData& aTestData);
48 void repeatShapeText(CBitmapFont* aFont, CTestData& aTestData);
50 void doRepeatShapeUsingVariousFontSizesTest(CFontStore* aFontStore, const TDesC aTypefaceName, const TDesC &aText1,
51 const TDesC &aText2, const TDesC &aText3);
54 static const TDesC& getText1();
55 static const TDesC& getText2();
56 static const TDesC& getText3();
59 const TInt iTestDataIndex;
60 const TInt iNumberOfTestDataFiles;
61 const TUint32 iScript;
63 const TBuf<32> iScriptName;
64 const TBuf<64> iTestID;
65 RPointerArray<CTestData> iTestDataArr;
68 #endif /* T_SHAPETESTSTEP_H_ */