fontservices/fontstore/tfs/T_FNT.H
changeset 0 1fb32624e06b
equal deleted inserted replaced
-1:000000000000 0:1fb32624e06b
       
     1 /*
       
     2 * Copyright (c) 2006-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".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 /**
       
    20  @file
       
    21  @test
       
    22  @internalComponent Internal Symbian test code
       
    23 */
       
    24 
       
    25 
       
    26 #ifndef __T_FNT_H__
       
    27 #define __T_FNT_H__
       
    28 
       
    29 #include <fntstore.h>
       
    30 #include "TGraphicsHarness.h"
       
    31 
       
    32 class CTFnt : public CTGraphicsBase
       
    33 	{
       
    34 public:
       
    35 	CTFnt(CTestStep* aStep);
       
    36 protected:
       
    37 //from 	CTGraphicsStep
       
    38 	virtual void RunTestCaseL(TInt aCurTestCase);
       
    39 private:
       
    40 	void TestReadFileL(const TDesC& aFontFile);
       
    41 	void TestEclipseFallbackWithInvalidFontL();
       
    42 	};
       
    43 
       
    44 
       
    45 class CTFntStep : public CTGraphicsStep
       
    46 	{
       
    47 public:
       
    48 	CTFntStep();
       
    49 protected:	
       
    50 	//from CTGraphicsStep
       
    51 	virtual CTGraphicsBase* CreateTestL();
       
    52 	};
       
    53 
       
    54 _LIT(KTFntStep,"TFnt");
       
    55 
       
    56 
       
    57 
       
    58 #endif