|
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 CPOSTp41_H |
|
21 #define CPOSTp41_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <EPos_CPosLandmark.h> |
|
25 #include "FT_CLandmarkTestProcedureBase.h" |
|
26 |
|
27 // CLASS DECLARATION |
|
28 |
|
29 |
|
30 /** |
|
31 * Test procedure 41 |
|
32 */ |
|
33 class CPosTp41 :public CLandmarkTestProcedureBase |
|
34 { |
|
35 public: // Constructors and destructor |
|
36 |
|
37 /** |
|
38 * C++ default constructor. |
|
39 */ |
|
40 CPosTp41() : CLandmarkTestProcedureBase(41) {}; |
|
41 |
|
42 /** |
|
43 * Destructor. |
|
44 */ |
|
45 ~CPosTp41() {}; |
|
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 * Cleans up after a test. |
|
67 * Always called, even if the test leaves. |
|
68 */ |
|
69 void CloseTest(); |
|
70 |
|
71 private: |
|
72 |
|
73 /** |
|
74 * This part verifies error report "ESLI-5ZDH4N Landmarks - Empty descriptors" |
|
75 */ |
|
76 void VerifyEmptyLandmarksL(); |
|
77 |
|
78 /** |
|
79 * Check that landmark read from db has correct name and desc |
|
80 */ |
|
81 void CheckLandmarkL(TPosLmItemId aId, TDesC& aName, TDesC& aDesc); |
|
82 |
|
83 private: // data |
|
84 |
|
85 }; |
|
86 |
|
87 #endif // CPOSTp41_H |
|
88 |
|
89 // End of File |