os/graphics/fbs/fontandbitmapserver/tfbs/TSecureFBS.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) 2004-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 __TSECUREFBS_H__
    17 #define __TSECUREFBS_H__
    18 
    19 #include <fbs.h>
    20 #include "test/TGraphicsHarness.h"
    21 
    22 class CTFbsSecure : public CTGraphicsBase
    23 	{
    24 public:
    25 	CTFbsSecure(CTestStep* aStep);
    26 protected:
    27 //from 	CTGraphicsStep
    28 	virtual void RunTestCaseL(TInt aCurTestCase);
    29 
    30 	TInt FileSizeL(const TDesC& aFileName);
    31 	void TestCase1();
    32 	void TestCase2();
    33 	void TestCase3();
    34 	void TestSecureBitmapL();
    35 	};
    36 
    37 
    38 class CTFbsSecureStep : public CTGraphicsStep
    39 	{
    40 public:
    41 	CTFbsSecureStep();
    42 protected:	
    43 	//from CTGraphicsStep
    44 	virtual CTGraphicsBase* CreateTestL();
    45 	virtual void TestSetupL();
    46 	virtual void TestClose();
    47 private:
    48 //This function is here to delete the bitmaps in C after finished with it
    49 	void DeleteDataFile(const TDesC& aFullName);
    50 	};
    51 
    52 _LIT(KTFbsSecureStep,"TFbsSecure");
    53 
    54 
    55 
    56 #endif