os/textandloc/fontservices/fontstore/tfs/T_GlyphTreeDel.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 /*
     2 * Copyright (c) 2003-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 #include <e32test.h>
    20 #include <bitdev.h>
    21 #include <fntstore.h>
    22 #include <fbs.h>
    23 #include <test/ttmsgraphicsstep.h>
    24 
    25 // This test is based on code from the TTAGMA test in form
    26 
    27 #ifndef __T_GLYPHTREEDEL_H__
    28 #define __T_GLYPHTREEDEL_H__
    29 
    30 #include "TGraphicsHarness.h"
    31 
    32 class CTGlyphTreeDel : public CBase
    33 	{
    34 public:
    35 	static CTGlyphTreeDel* NewL(CTestStep* aStep);
    36 	~CTGlyphTreeDel();
    37 	
    38 	void TestGlyphTreeDeleteL();
    39 
    40 private:
    41 	CTGlyphTreeDel(CTestStep* aStep);
    42 	void ConstructL();
    43 	TInt CreateScreenDevice();
    44 
    45 	void CheckRam( TInt);
    46 	TInt GetRam();
    47 	RFbsSession* iFbs;
    48 	CFbsBitGc* iGc;
    49 	CFbsScreenDevice* iDev;
    50 	CTestStep* iStep;
    51 	};
    52 
    53 
    54 class CTGlyphTreeDelStep : public CTTMSGraphicsStep
    55 	{
    56 public:
    57 	CTGlyphTreeDelStep();
    58 protected:	
    59 	TVerdict doTestStepL();
    60 	};
    61 
    62 _LIT(KTGlyphTreeDelStep,"TGlyphTreeDel");
    63 
    64 
    65 
    66 #endif