os/graphics/fbs/fontandbitmapserver/tfbs/tipctest.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 // Copyright (c) 1996-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 //
    15 
    16 #ifndef __TIPCTest_H__
    17 #define __TIPCTest_H__
    18 
    19 #include <fbs.h>
    20 #include "test/TGraphicsHarness.h"
    21 
    22 class RIPCTestFbservClient : public RSessionBase
    23 	{
    24 public:
    25 	RIPCTestFbservClient();
    26 	~RIPCTestFbservClient();
    27 	TInt Connect();
    28 	
    29 	void SendInvalidSize(TInt aFunctionNumber);
    30 	void SendInvalidDisplayMode(TInt aFunctionNumber);
    31 	void SendInvalidNameLength(TInt aFunctionNumber);
    32 private:
    33 	};
    34 
    35 class CTIPCTest : public CTGraphicsBase
    36 	{
    37 public:
    38 	CTIPCTest(CTestStep* aStep);
    39 	~CTIPCTest();
    40 protected:
    41 //from 	CTGraphicsStep
    42 	virtual void RunTestCaseL(TInt aCurTestCase);
    43 	
    44 	void ConstructL();
    45 
    46 private:
    47 	RFbsSession* iFbs;
    48 	CFontStore* iFs;
    49 	RHeap* iHeap;
    50 	TBool iShutdownFbs;
    51 	RIPCTestFbservClient iClient;
    52 	};	
    53 
    54 class CTIPCTestStep : public CTGraphicsStep
    55 	{
    56 public:
    57 	CTIPCTestStep();
    58 protected:	
    59 	//from CTGraphicsStep
    60 	virtual CTGraphicsBase* CreateTestL();
    61 	};
    62 
    63 
    64 
    65 
    66 _LIT(KTIPCTestStep,"TIPCTest");
    67 
    68 #endif