|
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 CPOSTP111_H |
|
21 #define CPOSTP111_H |
|
22 |
|
23 // INCLUDES |
|
24 #include "FT_CLandmarkTestProcedureBase.h" |
|
25 |
|
26 // CLASS DECLARATION |
|
27 class CPosLmDatabaseManager; |
|
28 class CRepository; |
|
29 |
|
30 /** |
|
31 * Test procedure 111 |
|
32 */ |
|
33 class CPosTp111 : public CLandmarkTestProcedureBase |
|
34 { |
|
35 public: // Constructors and destructor |
|
36 |
|
37 /** |
|
38 * C++ default constructor. |
|
39 */ |
|
40 CPosTp111() : CLandmarkTestProcedureBase(111) {}; |
|
41 |
|
42 /** |
|
43 * Destructor. |
|
44 */ |
|
45 ~CPosTp111() {}; |
|
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 private: |
|
65 |
|
66 TBool FindResourceFilesL(); |
|
67 |
|
68 TBool FindServerResourceFilesL(); |
|
69 |
|
70 TBool FindEcomPluginsL(); |
|
71 |
|
72 TBool FindLibrariesL(); |
|
73 |
|
74 void TestCentralRepositoryL(); |
|
75 |
|
76 void FindFileL(const TDesC& aFile, TInt& aNrOfMatches, TDes& aPath); |
|
77 |
|
78 TBool FindFilesAndVerifyPathL( |
|
79 const CDesCArray& aFileNames, |
|
80 const TDesC& aExpectedPath); |
|
81 |
|
82 void VerifyDefaultDbUriL( |
|
83 const TDesC& aExpectedUri, |
|
84 CPosLmDatabaseManager* aDbMan); |
|
85 |
|
86 void VerifyDefaultDbUriL( |
|
87 const TDesC& aExpectedUri, |
|
88 CRepository* aRepository); |
|
89 |
|
90 }; |
|
91 |
|
92 #endif // CPOSTP111_H |
|
93 |
|
94 // End of File |