sl@0: /*
sl@0: * Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
sl@0: * All rights reserved.
sl@0: * This component and the accompanying materials are made available
sl@0: * under the terms of "Eclipse Public License v1.0"
sl@0: * which accompanies this distribution, and is available
sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0: *
sl@0: * Initial Contributors:
sl@0: * Nokia Corporation - initial contribution.
sl@0: *
sl@0: * Contributors:
sl@0: *
sl@0: * Description: 
sl@0: *
sl@0: */
sl@0: 
sl@0: 
sl@0: #include <e32test.h>
sl@0: #include <bitdev.h>
sl@0: #include <fntstore.h>
sl@0: #include <fbs.h>
sl@0: #include <test/ttmsgraphicsstep.h>
sl@0: 
sl@0: // This test is based on code from the TTAGMA test in form
sl@0: 
sl@0: #ifndef __T_GLYPHTREEDEL_H__
sl@0: #define __T_GLYPHTREEDEL_H__
sl@0: 
sl@0: #include "TGraphicsHarness.h"
sl@0: 
sl@0: class CTGlyphTreeDel : public CBase
sl@0: 	{
sl@0: public:
sl@0: 	static CTGlyphTreeDel* NewL(CTestStep* aStep);
sl@0: 	~CTGlyphTreeDel();
sl@0: 	
sl@0: 	void TestGlyphTreeDeleteL();
sl@0: 
sl@0: private:
sl@0: 	CTGlyphTreeDel(CTestStep* aStep);
sl@0: 	void ConstructL();
sl@0: 	TInt CreateScreenDevice();
sl@0: 
sl@0: 	void CheckRam( TInt);
sl@0: 	TInt GetRam();
sl@0: 	RFbsSession* iFbs;
sl@0: 	CFbsBitGc* iGc;
sl@0: 	CFbsScreenDevice* iDev;
sl@0: 	CTestStep* iStep;
sl@0: 	};
sl@0: 
sl@0: 
sl@0: class CTGlyphTreeDelStep : public CTTMSGraphicsStep
sl@0: 	{
sl@0: public:
sl@0: 	CTGlyphTreeDelStep();
sl@0: protected:	
sl@0: 	TVerdict doTestStepL();
sl@0: 	};
sl@0: 
sl@0: _LIT(KTGlyphTreeDelStep,"TGlyphTreeDel");
sl@0: 
sl@0: 
sl@0: 
sl@0: #endif