fbs/fontandbitmapserver/tfbs/tipctest.h
author Shabe Razvi <shaber@symbian.org>
Fri, 30 Apr 2010 17:15:32 +0100
changeset 43 7579f232bae7
parent 36 01a6848ebfd7
child 116 171fae344dd4
permissions -rw-r--r--
Transplant KhronosRI changeset 22d01ad3515c - Bug 1394 - KhronosRI - ARMv5 def files missing Bug 1395 - KhronosRI - RVCT doesn't like 'OpenVGRI' qualified helper function names Bug 31 - OpenVG implementation is a stub, so no icons or window decorations are displayed

// Copyright (c) 1996-2010 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
//

#ifndef __TIPCTest_H__
#define __TIPCTest_H__

#include <fbs.h>
#include "TGraphicsHarness.h"

class RIPCTestFbservClient : public RSessionBase
	{
public:
	RIPCTestFbservClient();
	~RIPCTestFbservClient();
	TInt Connect();
	
	void SendInvalidSize(TInt aFunctionNumber);
	void SendInvalidDisplayMode(TInt aFunctionNumber);
	void SendInvalidNameLength(TInt aFunctionNumber);
private:
	};

class CTIPCTest : public CTGraphicsBase
	{
public:
	CTIPCTest(CTestStep* aStep);
	~CTIPCTest();
protected:
//from 	CTGraphicsStep
	virtual void RunTestCaseL(TInt aCurTestCase);
	
	void ConstructL();

private:
	RFbsSession* iFbs;
	CFontStore* iFs;
	RHeap* iHeap;
	TBool iShutdownFbs;
	RIPCTestFbservClient iClient;
	};	

class CTIPCTestStep : public CTGraphicsStep
	{
public:
	CTIPCTestStep();
protected:	
	//from CTGraphicsStep
	virtual CTGraphicsBase* CreateTestL();
	};




_LIT(KTIPCTestStep,"TIPCTest");

#endif