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 CPOSTP16_H |
|
21 #define CPOSTP16_H |
|
22 |
|
23 // INCLUDES |
|
24 #include "FT_CLandmarkTestProcedureBase.h" |
|
25 |
|
26 // CLASS DECLARATION |
|
27 |
|
28 /** |
|
29 * Test procedure 16 |
|
30 */ |
|
31 class CPosTp16 : public CLandmarkTestProcedureBase |
|
32 { |
|
33 public: // Constructors and destructor |
|
34 |
|
35 /** |
|
36 * C++ default constructor. |
|
37 */ |
|
38 CPosTp16() : CLandmarkTestProcedureBase(16) {}; |
|
39 |
|
40 /** |
|
41 * Destructor. |
|
42 */ |
|
43 ~CPosTp16() {}; |
|
44 |
|
45 public: // Functions from base classes |
|
46 |
|
47 /** |
|
48 * From CUtfwTestBase |
|
49 * Retrieves the test module name |
|
50 * @param aName The name of the test module. |
|
51 */ |
|
52 void GetName( |
|
53 TDes& aName |
|
54 ) const; |
|
55 |
|
56 /** |
|
57 * From CLandmarkTestProcedureBase |
|
58 * Runs the test in the module |
|
59 */ |
|
60 void StartL(); |
|
61 |
|
62 void CloseTest(); |
|
63 |
|
64 private: |
|
65 CPosLandmarkDatabase* UseCorruptDbL(); |
|
66 CPosLandmarkDatabase* UseTextDbL(); |
|
67 CPosLandmarkDatabase* UseContactDbL(); |
|
68 |
|
69 // check that global categories are automatically inserter into lm db |
|
70 // when recovering database |
|
71 void CheckGlobalCategoriesL(); |
|
72 |
|
73 void SetupGlobalCategoriesL(); |
|
74 |
|
75 private: |
|
76 RArray<TPosLmGlobalCategory> iGlobalCategoryIds; |
|
77 RArray<TPtrC> iGlobalCategoryNames; |
|
78 }; |
|
79 |
|
80 #endif // CPOSTP16_H |
|
81 |
|
82 // End of File |