equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __T_STREAM_H__ |
|
19 #define __T_STREAM_H__ |
|
20 |
|
21 #include <test/testexecutestepbase.h> |
|
22 #include <s32file.h> |
|
23 #include <flddef.h> |
|
24 #include <fldbase.h> |
|
25 #include <fldset.h> |
|
26 |
|
27 class CT_STREAM : public CTestStep |
|
28 { |
|
29 public: |
|
30 CT_STREAM(); |
|
31 protected: |
|
32 TVerdict doTestStepL(); |
|
33 private: |
|
34 void testStoreRestore(CTextFieldSet* aCopy,const CTextFieldSet* aOriginal); |
|
35 template <class T> |
|
36 void testCopyPaste(T* aCopy, T* aOriginal,TInt aCopyPos,TInt aLen,TInt aPastePos,TInt aPasteLen=-1); |
|
37 TBool IsEqual(const CTextFieldSet* aCopy,const CTextFieldSet* anOriginal); |
|
38 TBool UpdateField(TInt aPos,CTextFieldSet* aSet); |
|
39 void test2(); |
|
40 void test3(); |
|
41 void test4(); |
|
42 void test5(); |
|
43 void test6(); |
|
44 void test7(); |
|
45 void test8(); |
|
46 void test9(); |
|
47 void test10(); |
|
48 void TestStreamingL(); |
|
49 void setupCleanup(); |
|
50 void DeleteDataFile(const TDesC& aFullName); |
|
51 }; |
|
52 |
|
53 _LIT(KTestStep_T_STREAM, "T_STREAM"); |
|
54 |
|
55 #endif |