|
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 the License "Symbian Foundation License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.symbianfoundation.org/legal/sfl-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 CPOSTp37_H |
|
21 #define CPOSTp37_H |
|
22 |
|
23 // INCLUDES |
|
24 #include "FT_CLandmarkTestProcedureBase.h" |
|
25 |
|
26 // CLASS DECLARATION |
|
27 |
|
28 /** |
|
29 * Test procedure 1 |
|
30 */ |
|
31 class CPosTp37 :public CLandmarkTestProcedureBase |
|
32 { |
|
33 public: // Constructors and destructor |
|
34 |
|
35 /** |
|
36 * C++ default constructor. |
|
37 */ |
|
38 |
|
39 CPosTp37(TInt tpno, CStifLogger* aLog) : CLandmarkTestProcedureBase(tpno, aLog) {iErrorsFound = KErrNone;}; |
|
40 /** |
|
41 * Destructor. |
|
42 */ |
|
43 ~CPosTp37() {}; |
|
44 |
|
45 public: // Functions from base classes |
|
46 |
|
47 |
|
48 |
|
49 /** |
|
50 * From CUtfwTestBase. Always called even if test leaves, |
|
51 * after test completion |
|
52 */ |
|
53 void CloseTest(); |
|
54 |
|
55 |
|
56 /** |
|
57 * From CLandmarkTestProcedureBase |
|
58 * Runs the test in the module |
|
59 */ |
|
60 void StartL(); |
|
61 |
|
62 private: |
|
63 |
|
64 /** |
|
65 * Test to mix CPosLmCatNameCriteria and CPosLmIdListCriteria |
|
66 * in a StartCategorySearchL search, should leave |
|
67 * Test to mix CPosLmCatNameCriteria and CPosLmIdListCriteria |
|
68 * in a StartLandmarkSearchL search, should leave |
|
69 */ |
|
70 void TestCompositeAndCategoryL(TInt aTestNr); |
|
71 |
|
72 /** |
|
73 * Test that it is not possible to mix landmark search and a landmark category search |
|
74 * in a composite object. |
|
75 * |
|
76 * Test that it is not possible perform a search if the composite object |
|
77 * does not have any arguments |
|
78 */ |
|
79 void DoErrorTestL(TInt aTestNr); |
|
80 |
|
81 /** |
|
82 * Test that it is not possible to use only one ID List |
|
83 * without any other search arguments |
|
84 */ |
|
85 void DoErrorTest3L(TInt aTestNr); |
|
86 |
|
87 /** |
|
88 * Test that it is not possible to use several ID Lists |
|
89 * in a composite search |
|
90 */ |
|
91 void DoErrorTest4L(TInt aTestNr); |
|
92 |
|
93 private: |
|
94 TInt iErrorsFound; |
|
95 |
|
96 }; |
|
97 |
|
98 #endif // CPOSTp37_H |
|
99 |
|
100 // End of File |