|
1 /* |
|
2 * Copyright (c) 2005 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 CPOSTp25_H |
|
21 #define CPOSTp25_H |
|
22 |
|
23 // INCLUDES |
|
24 #include "FT_CLandmarkTestProcedureBase.h" |
|
25 #include <EPos_CPosLMCategoryManager.h> |
|
26 // CLASS DECLARATION |
|
27 |
|
28 /** |
|
29 * Test procedure 23 |
|
30 */ |
|
31 class CPosTp25 : public CLandmarkTestProcedureBase |
|
32 { |
|
33 public: // Constructors and destructor |
|
34 |
|
35 /** |
|
36 * C++ default constructor. |
|
37 */ |
|
38 |
|
39 CPosTp25(TInt tpno, CStifLogger* aLog) : CLandmarkTestProcedureBase(tpno, aLog) {}; |
|
40 /** |
|
41 * Destructor. |
|
42 */ |
|
43 ~CPosTp25() {}; |
|
44 |
|
45 public: // Functions from base classes |
|
46 |
|
47 void CloseTest(); |
|
48 |
|
49 /** |
|
50 * From CLandmarkTestProcedureBase |
|
51 * Runs the test in the module |
|
52 */ |
|
53 void StartL(); |
|
54 |
|
55 private: |
|
56 |
|
57 void SearchL( |
|
58 const RPointerArray<CCategorySearchResult>& aSearchResults, |
|
59 TExecutionMode aExecutionMode); |
|
60 |
|
61 void SearchWithMaximumL( |
|
62 const RPointerArray<CCategorySearchResult>& aSearchResults, |
|
63 TExecutionMode aExecutionMode); |
|
64 |
|
65 void SearchWithSortOrderL( |
|
66 const RPointerArray<CCategorySearchResult>& aSearchResults, |
|
67 TExecutionMode aExecutionMode); |
|
68 |
|
69 void SearchAfterAddedCategoryL(); |
|
70 |
|
71 void SearchAndCancelL(const TBool& aInCallback=EFalse); |
|
72 |
|
73 void TestSearchPatternLengthL(); |
|
74 |
|
75 /** |
|
76 * Include the global categories when searching |
|
77 */ |
|
78 void SearchGlobalL(const RPointerArray<CCategorySearchResult>& aSearchResults, const TBool& aSync=EFalse); |
|
79 |
|
80 /** |
|
81 * Verify error report "ESLI-62DBXR Landmarks - Sort order is not correctly implemented" |
|
82 */ |
|
83 void VerifySortOrderL(); |
|
84 |
|
85 }; |
|
86 |
|
87 #endif // CPOSTp25_H |
|
88 |
|
89 // End of File |