Update contrib.
2 * Copyright (c) 2008-2009 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.
19 #ifndef T_LINKEDFONTS2_H_
20 #define T_LINKEDFONTS2_H_
22 #include "TGraphicsHarness.h"
24 class COpenFontLinkedTypefaceElementSpec;
25 class CLinkedTypefaceElementSpec;
26 class CLinkedTypefaceGroup;
28 class CTLinkedFonts2Step : public CTGraphicsStep
33 // From CTGraphicsStep
34 virtual CTGraphicsBase* CreateTestL();
37 _LIT(KTLinkedFonts2Step, "TLinkedFonts2");
39 class CTLinkedFonts2 : public CTGraphicsBase
42 CTLinkedFonts2(CTestStep* aStep);
44 static void TestPanic(TInt aPanic);
46 // From CTGraphicsStep
47 virtual void RunTestCaseL(TInt aCurTestCase);
50 void InitializeTestHarnessL();
51 void CloseTestHarnessL();
52 void TestLinkedClientGettersAndSettersL();
53 void TestLinkedClientAddAndRemoveL();
54 void TestOpenClientGettersAndSettersL();
55 void TestOpenClientAddAndRemoveL();
56 void TestLinkedRegistrationAndFetchL();
57 TBool ComplexFontAvailable();
58 void TestComplexLinkedFontsBasicL();
59 void TestBitmapFontsL();
60 void TestTOpenFontMetrics();
62 void TestFontNameUsage();
64 TBool CompareElementSpecs(CLinkedTypefaceElementSpec* aSpec1, CLinkedTypefaceElementSpec* aSpec2);
65 TBool CompareElementSpecs(COpenFontLinkedTypefaceElementSpec* aSpec1, COpenFontLinkedTypefaceElementSpec* aSpec2);
66 TBool CompareGroups(CLinkedTypefaceGroup* aGroup1, CLinkedTypefaceGroup* aGroup2);
69 CFbsScreenDevice* iDev;
73 #endif /*T_LINKEDFONTS2_H_*/