1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/textandloc/textrendering/texthandling/tfields/T_STREAM.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,55 @@
1.4 +/*
1.5 +* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
1.6 +* All rights reserved.
1.7 +* This component and the accompanying materials are made available
1.8 +* under the terms of "Eclipse Public License v1.0"
1.9 +* which accompanies this distribution, and is available
1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.11 +*
1.12 +* Initial Contributors:
1.13 +* Nokia Corporation - initial contribution.
1.14 +*
1.15 +* Contributors:
1.16 +*
1.17 +* Description:
1.18 +*
1.19 +*/
1.20 +
1.21 +#ifndef __T_STREAM_H__
1.22 +#define __T_STREAM_H__
1.23 +
1.24 +#include <test/testexecutestepbase.h>
1.25 +#include <s32file.h>
1.26 +#include <flddef.h>
1.27 +#include <fldbase.h>
1.28 +#include <fldset.h>
1.29 +
1.30 +class CT_STREAM : public CTestStep
1.31 + {
1.32 +public:
1.33 + CT_STREAM();
1.34 +protected:
1.35 + TVerdict doTestStepL();
1.36 +private:
1.37 + void testStoreRestore(CTextFieldSet* aCopy,const CTextFieldSet* aOriginal);
1.38 + template <class T>
1.39 + void testCopyPaste(T* aCopy, T* aOriginal,TInt aCopyPos,TInt aLen,TInt aPastePos,TInt aPasteLen=-1);
1.40 + TBool IsEqual(const CTextFieldSet* aCopy,const CTextFieldSet* anOriginal);
1.41 + TBool UpdateField(TInt aPos,CTextFieldSet* aSet);
1.42 + void test2();
1.43 + void test3();
1.44 + void test4();
1.45 + void test5();
1.46 + void test6();
1.47 + void test7();
1.48 + void test8();
1.49 + void test9();
1.50 + void test10();
1.51 + void TestStreamingL();
1.52 + void setupCleanup();
1.53 + void DeleteDataFile(const TDesC& aFullName);
1.54 + };
1.55 +
1.56 +_LIT(KTestStep_T_STREAM, "T_STREAM");
1.57 +
1.58 +#endif