diff -r 000000000000 -r bde4ae8d615e os/textandloc/textrendering/texthandling/ttext/T_CONVRT.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/os/textandloc/textrendering/texthandling/ttext/T_CONVRT.h Fri Jun 15 03:10:57 2012 +0200 @@ -0,0 +1,44 @@ +/* +* Copyright (c) 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 __T_CONVRT_H__ +#define __T_CONVRT_H__ + +#include + +class CT_CONVRT : public CTestStep + { +public: + CT_CONVRT(); +protected: + TVerdict doTestStepL(); +private: + template void testStoreRestoreL(T& aCopy,const T& aOriginal); + TInt IsEqual(const CEditableText* aCopy,const CEditableText* aOriginal); + void DoTestRichTextL(); + void LoadIntoText(TFileName& aFileName); + void KillText(); + void KillLayers(); + void Reset(); + void GoL(); + void setupCleanup(); + void DeleteDataFile(const TDesC& aFullName); + }; + +_LIT(KTestStep_T_CONVRT, "T_CONVRT"); + +#endif