|
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: Test Class which has the list of test cases for CLcLocationAppInfo |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CTESTLOCATIONAPPINFO_H |
|
20 #define CTESTLOCATIONAPPINFO_H |
|
21 |
|
22 // System Includes |
|
23 #include <StifLogger.h> |
|
24 #include <StifParser.h> |
|
25 #include <StifTestModule.h> |
|
26 #include <e32base.h> |
|
27 #include <e32std.h> |
|
28 #include <bautils.h> |
|
29 #include <f32file.h> |
|
30 |
|
31 //Forward Declarations |
|
32 class CLcLocationAppInfo; |
|
33 |
|
34 // Constants |
|
35 |
|
36 // CLASS DECLARATION |
|
37 /** |
|
38 * Test Class For CLcLocationAppInfo |
|
39 * |
|
40 * This has CLcLocationAppInfo object which invokes CLcLocationAppInfo methods |
|
41 * |
|
42 * @lib testlc.lib |
|
43 * @since S60 v5.0 |
|
44 */ |
|
45 |
|
46 class CTestLocationAppInfo : public CBase |
|
47 { |
|
48 public: |
|
49 |
|
50 // Constructors and destructor |
|
51 /** |
|
52 * C++ default constructor. |
|
53 */ |
|
54 CTestLocationAppInfo(CStifLogger* aLog); |
|
55 |
|
56 /** |
|
57 * Destructor. |
|
58 */ |
|
59 ~CTestLocationAppInfo(); |
|
60 |
|
61 public: |
|
62 |
|
63 // New functions |
|
64 /** |
|
65 * Method to Check the LocationApp Info NewL |
|
66 * @since S60 5.0 |
|
67 * Returns KErrNone if successful. |
|
68 * |
|
69 */ |
|
70 TInt CheckNewL( ); |
|
71 |
|
72 /** |
|
73 * Method to Check the LocationApp Info NewLC |
|
74 * @since S60 5.0 |
|
75 * Returns KErrNone if successful. |
|
76 * |
|
77 */ |
|
78 TInt CheckNewLC( ); |
|
79 |
|
80 /** |
|
81 * Method to Check the LocationApp Info NewLC |
|
82 * Copy Constructor |
|
83 * @since S60 5.0 |
|
84 * Returns KErrNone if successful. |
|
85 * |
|
86 */ |
|
87 TInt CheckCopyNewL( ); |
|
88 |
|
89 /** |
|
90 * Method to Check the LocationApp Info NewLC |
|
91 * Copy Constructor |
|
92 * @since S60 5.0 |
|
93 * Returns KErrNone if successful. |
|
94 * |
|
95 */ |
|
96 TInt CheckCopyNewLC( ); |
|
97 |
|
98 /** |
|
99 * Method to Check Id |
|
100 * @since S60 5.0 |
|
101 * Returns KErrNone if successful. |
|
102 * |
|
103 */ |
|
104 TInt CheckId( ); |
|
105 |
|
106 /** |
|
107 * Method to Check Name |
|
108 * @since S60 5.0 |
|
109 * Returns KErrNone if successful. |
|
110 * |
|
111 */ |
|
112 TInt CheckName( ); |
|
113 |
|
114 /** |
|
115 * Method to Check Launch Mode |
|
116 * @since S60 5.0 |
|
117 * Returns KErrNone if successful. |
|
118 * |
|
119 */ |
|
120 TInt CheckLaunchMode( ); |
|
121 |
|
122 /** |
|
123 * Method to Check System Characteristics |
|
124 * @since S60 5.0 |
|
125 * Returns KErrNone if successful. |
|
126 * |
|
127 */ |
|
128 TInt CheckSystemCharacteristics( ); |
|
129 |
|
130 /** |
|
131 * Method to Check Application Characteristics |
|
132 * @since S60 5.0 |
|
133 * Returns KErrNone if successful. |
|
134 * |
|
135 */ |
|
136 TInt CheckApplicationCharacteristics( ); |
|
137 |
|
138 private: //data |
|
139 /** |
|
140 * CLcLocationAppInfo Instance |
|
141 */ |
|
142 CLcLocationAppInfo* iLcLocationAppInfo; |
|
143 |
|
144 /** |
|
145 * Pointer to Stif Logger - Does not Own |
|
146 */ |
|
147 CStifLogger* iLog; |
|
148 |
|
149 }; |
|
150 |
|
151 #endif // CTESTLOCATIONAPPINFO_H |
|
152 |
|
153 // End of File |