equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2004 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 * ?description_line |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef CPOSTP46_H |
|
21 #define CPOSTP46_H |
|
22 |
|
23 // INCLUDES |
|
24 #include "FT_CLandmarkTestProcedureBase.h" |
|
25 |
|
26 #include <e32base.h> |
|
27 |
|
28 // CLASS DECLARATION |
|
29 |
|
30 /** |
|
31 * Test procedure 46 |
|
32 */ |
|
33 class CPosTp46 : public CLandmarkTestProcedureBase |
|
34 { |
|
35 public: // Constructors and destructor |
|
36 |
|
37 /** |
|
38 * C++ default constructor. |
|
39 */ |
|
40 CPosTp46() : CLandmarkTestProcedureBase(46) {}; |
|
41 |
|
42 /** |
|
43 * Destructor. |
|
44 */ |
|
45 ~CPosTp46() {}; |
|
46 |
|
47 public: // Functions from base classes |
|
48 |
|
49 /** |
|
50 * From CUtfwTestBase |
|
51 * Retrieves the test module name |
|
52 * @param aName The name of the test module. |
|
53 */ |
|
54 void GetName( |
|
55 TDes& aName |
|
56 ) const; |
|
57 |
|
58 /** |
|
59 * From CLandmarkTestProcedureBase |
|
60 * Runs the test in the module |
|
61 */ |
|
62 void StartL(); |
|
63 |
|
64 /** |
|
65 * From CLandmarkTestProcedureBase |
|
66 * Always called, even if the test leaves |
|
67 */ |
|
68 void CloseTest(); |
|
69 |
|
70 static void RunTestL(TAny* aData); |
|
71 |
|
72 private: // Functions |
|
73 |
|
74 void RemoveFilesL(); |
|
75 |
|
76 void StartMultipleClientsL(TUint aNoClients); |
|
77 |
|
78 void CreateThreadsL(const TUint aNoThreads); |
|
79 |
|
80 private: // data |
|
81 |
|
82 enum TTestStep |
|
83 { |
|
84 ESync =0, |
|
85 EInc =1, |
|
86 EImportStarted =2, |
|
87 EImportCancelled =3 |
|
88 }; |
|
89 |
|
90 TInt iTestStep; |
|
91 |
|
92 RArray<RThread> iThreads; |
|
93 TInt iThreadIndex; |
|
94 |
|
95 }; |
|
96 |
|
97 |
|
98 |
|
99 #endif // CPOSTP46_H |
|
100 |
|
101 // End of File |