filehandling/fileconverterfw/Tef/TB64CnvStep.h
changeset 0 2e3d3ce01487
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     1 // Copyright (c) 2005-2009 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 /**
       
    17  @file
       
    18  @internalComponent - Internal Symbian test code  
       
    19 */
       
    20 
       
    21 #if (!defined __TB64CNV_STEP_H__)
       
    22 #define __TB64CNV_STEP_H__
       
    23 #include "TConArcTestServer.h"
       
    24 #include <concnf.h>
       
    25 #include <conlist.h>
       
    26 
       
    27 class CTB64CnvStep : public CTestStep
       
    28 	{
       
    29 public:
       
    30 	CTB64CnvStep();
       
    31 	~CTB64CnvStep();
       
    32 //	virtual TVerdict doTestStepPreambleL();
       
    33 //	virtual TVerdict doTestStepPostambleL();
       
    34 	virtual TVerdict doTestStepL();
       
    35 private:
       
    36 	void DoTestL();
       
    37 	void DoSpecificL(CCnaConverterList* aList);
       
    38 	void DoTestQPL(CCnaConverterList* aList);
       
    39 	void DoTestBase64L(CCnaConverterList* aList);
       
    40 	void DoTextEtextL(CCnaConverterList* aList);
       
    41 	void DoTextEtextWithControlCharsL(CCnaConverterList* aList);
       
    42 	void ConvertFileL(CCnaConverterList& aList, TUint aConverterUid, const TDesC& aInputFile, const TDesC& aOutputFile);
       
    43 	static TBool FilesAreIdenticalL(RFs& aFs, const TDesC& aFile1, const TDesC& aFile2);
       
    44  
       
    45 private:
       
    46 	RFs iFs;
       
    47 	};
       
    48 
       
    49 _LIT(KTB64CnvStep,"TB64Cnv");
       
    50 #endif
       
    51