1 /* |
|
2 * Copyright (c) 2007 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: Helper class for TMnMapImageParams class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CTESTMNMAPIMAGEPARAMS_H |
|
20 #define CTESTMNMAPIMAGEPARAMS_H |
|
21 |
|
22 // System Includes |
|
23 #include <StifLogger.h> |
|
24 #include <StifParser.h> |
|
25 #include <StifParser.h> |
|
26 #include <mnmapimageparams.h> |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 // CLASS DECLARATION |
|
32 /** |
|
33 * |
|
34 * |
|
35 * This class is a helper class used to handle the functions of TMnMapImageParams |
|
36 * class. |
|
37 * |
|
38 * @lib testmapimage.lib |
|
39 * @since S60 v5.0 |
|
40 */ |
|
41 |
|
42 class CTestMapImageParams |
|
43 { |
|
44 public: // Constructors and destructor |
|
45 |
|
46 /** |
|
47 * C++ default constructor. |
|
48 */ |
|
49 CTestMapImageParams(CStifLogger* aLog); |
|
50 |
|
51 /** |
|
52 * Destructor. |
|
53 */ |
|
54 ~CTestMapImageParams(); |
|
55 |
|
56 public: |
|
57 |
|
58 |
|
59 |
|
60 // New functions |
|
61 /** |
|
62 * Test case for constructor of TMnMapImageParams |
|
63 */ |
|
64 TInt CheckTMnMapImageParams(); |
|
65 /** |
|
66 * Test case for TMnMapImageParams::SetCenterPoint & |
|
67 * TMnMapImageParams::GetCenterPoint |
|
68 */ |
|
69 TInt CheckSetGetCenterPoint(); |
|
70 /** |
|
71 * Test case for TMnMapImageParams::SetVisibleArea & |
|
72 * TMnMapImageParams::GetVisibleArea |
|
73 */ |
|
74 TInt CheckSetGetVisibleArea(); |
|
75 /** |
|
76 * Test case for TMnMapImageParams::SetSize & |
|
77 * TMnMapImageParams::Size |
|
78 */ |
|
79 TInt CheckSetGetSize(); |
|
80 /** |
|
81 * Test case for TMnMapImageParams::SetDirection & |
|
82 * TMnMapImageParams::Direction |
|
83 */ |
|
84 TInt CheckSetGetDirection(); |
|
85 /** |
|
86 * Test case for TMnMapImageParams::SetImageType & |
|
87 * TMnMapImageParams::ImageType |
|
88 */ |
|
89 TInt CheckSetGetImageType(); |
|
90 /** |
|
91 * Test case for TMnMapImageParams::SetProjectionId & |
|
92 * TMnMapImageParams::ProjectionId |
|
93 */ |
|
94 TInt CheckSetGetProjectionId(); |
|
95 |
|
96 |
|
97 |
|
98 |
|
99 |
|
100 private: |
|
101 |
|
102 |
|
103 |
|
104 |
|
105 private: //data |
|
106 |
|
107 /** |
|
108 * Pointer to Stif Logger - Does not Own |
|
109 */ |
|
110 CStifLogger* iLog; |
|
111 |
|
112 }; |
|
113 |
|
114 #endif // CTESTMNMAPIMAGEPARAMS_H |
|
115 |
|
116 // End of File |
|