|
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // Definition of all test objects required to verify capability check on |
|
15 // ETel3rdParty notifiers. |
|
16 // |
|
17 // |
|
18 |
|
19 /** |
|
20 @file |
|
21 @internalTechnology |
|
22 */ |
|
23 #ifndef __NOTIFYFUNCTSTEPS_H__ |
|
24 #define __NOTIFYFUNCTSTEPS_H__ |
|
25 |
|
26 #include <test/testexecutestepbase.h> |
|
27 #include "te_etelisvcapsstepbase.h" |
|
28 |
|
29 // |
|
30 |
|
31 class CNotifyFlightModeTestStep : public CTe_CapsTestSuiteStepBase |
|
32 { |
|
33 public: |
|
34 CNotifyFlightModeTestStep(); |
|
35 |
|
36 private: |
|
37 virtual TInt IssueRequestL(TRequestStatus& aStatus); |
|
38 virtual TInt CancelRequestL(); |
|
39 |
|
40 private: |
|
41 CTelephony::TFlightModeV1 iFlightMode; |
|
42 CTelephony::TFlightModeV1Pckg iFlightModePckg; |
|
43 }; |
|
44 |
|
45 _LIT(KCapsTestFlightModeChangeStr, "NotifyFlightModeChange"); |
|
46 |
|
47 // |
|
48 |
|
49 class CNotifyIndicatorTestStep : public CTe_CapsTestSuiteStepBase |
|
50 { |
|
51 public: |
|
52 CNotifyIndicatorTestStep(); |
|
53 |
|
54 private: |
|
55 virtual TInt IssueRequestL(TRequestStatus& aStatus); |
|
56 virtual TInt CancelRequestL(); |
|
57 |
|
58 private: |
|
59 CTelephony::TIndicatorV1 iIndicator; |
|
60 CTelephony::TIndicatorV1Pckg iIndicatorPckg; |
|
61 }; |
|
62 |
|
63 _LIT(KCapsTestIndicatorChangeStr, "NotifyIndicatorChange"); |
|
64 |
|
65 |
|
66 // |
|
67 class CNotifyBatteryInfoTestStep : public CTe_CapsTestSuiteStepBase |
|
68 { |
|
69 public: |
|
70 CNotifyBatteryInfoTestStep(); |
|
71 |
|
72 private: |
|
73 virtual TInt IssueRequestL(TRequestStatus& aStatus); |
|
74 virtual TInt CancelRequestL(); |
|
75 |
|
76 private: |
|
77 CTelephony::TBatteryInfoV1 iBatteryInfo; |
|
78 CTelephony::TBatteryInfoV1Pckg iBatteryInfoPckg; |
|
79 }; |
|
80 |
|
81 _LIT(KCapsTestBatteryInfoChange, "NotifyBatteryInfoChange"); |
|
82 |
|
83 // |
|
84 |
|
85 class CNotifySignalStrengthTestStep : public CTe_CapsTestSuiteStepBase |
|
86 { |
|
87 public: |
|
88 CNotifySignalStrengthTestStep(); |
|
89 |
|
90 private: |
|
91 virtual TInt IssueRequestL(TRequestStatus& aStatus); |
|
92 virtual TInt CancelRequestL(); |
|
93 |
|
94 private: |
|
95 CTelephony::TSignalStrengthV1 iSignalStrength; |
|
96 CTelephony::TSignalStrengthV1Pckg iSignalStrengthPckg; |
|
97 }; |
|
98 |
|
99 _LIT(KCapsTestSignalStrengthChange, "NotifySignalStrengthChange"); |
|
100 |
|
101 // |
|
102 class CNotifyPin1LockInfoTestStep : public CTe_CapsTestSuiteStepBase |
|
103 { |
|
104 public: |
|
105 CNotifyPin1LockInfoTestStep(); |
|
106 |
|
107 private: |
|
108 virtual TInt IssueRequestL(TRequestStatus& aStatus); |
|
109 virtual TInt CancelRequestL(); |
|
110 |
|
111 private: |
|
112 CTelephony::TIccLockInfoV1 iLockInfo; |
|
113 CTelephony::TIccLockInfoV1Pckg iLockInfoPckg; |
|
114 }; |
|
115 _LIT(KCapsTestPin1LockInfoChange, "NotifyPin1LockInfoChange"); |
|
116 |
|
117 // |
|
118 |
|
119 class CNotifyPin2LockInfoTestStep : public CTe_CapsTestSuiteStepBase |
|
120 { |
|
121 public: |
|
122 CNotifyPin2LockInfoTestStep(); |
|
123 |
|
124 private: |
|
125 virtual TInt IssueRequestL(TRequestStatus& aStatus); |
|
126 virtual TInt CancelRequestL(); |
|
127 |
|
128 private: |
|
129 CTelephony::TIccLockInfoV1 iLockInfo; |
|
130 CTelephony::TIccLockInfoV1Pckg iLockInfoPckg; |
|
131 }; |
|
132 _LIT(KCapsTestPin2LockInfoChange, "NotifyPin2LockInfoChange"); |
|
133 |
|
134 // |
|
135 |
|
136 class CNotifyVoiceLineStatusTestStep : public CTe_CapsTestSuiteStepBase |
|
137 { |
|
138 public: |
|
139 CNotifyVoiceLineStatusTestStep(); |
|
140 |
|
141 private: |
|
142 virtual TInt IssueRequestL(TRequestStatus& aStatus); |
|
143 virtual TInt CancelRequestL(); |
|
144 |
|
145 private: |
|
146 CTelephony::TCallStatusV1 iCallStatus; |
|
147 CTelephony::TCallStatusV1Pckg iCallStatusPckg; |
|
148 }; |
|
149 _LIT(KCapsTestVoiceLineStatusChange, "NotifyVoiceLineStatusChange"); |
|
150 |
|
151 // |
|
152 |
|
153 class CNotifyOwnedCall1StatusTestStep : public CTe_CapsTestSuiteStepBase |
|
154 { |
|
155 public: |
|
156 CNotifyOwnedCall1StatusTestStep(); |
|
157 |
|
158 private: |
|
159 virtual TInt IssueRequestL(TRequestStatus& aStatus); |
|
160 virtual TInt CancelRequestL(); |
|
161 |
|
162 private: |
|
163 CTelephony::TCallStatusV1 iCallStatus; |
|
164 CTelephony::TCallStatusV1Pckg iCallStatusPckg; |
|
165 }; |
|
166 _LIT(KCapsTestOwnedCall1StatusChange, "NotifyOwnedCall1StatusChange"); |
|
167 |
|
168 // |
|
169 |
|
170 class CNotifyOwnedCall2StatusTestStep : public CTe_CapsTestSuiteStepBase |
|
171 { |
|
172 public: |
|
173 CNotifyOwnedCall2StatusTestStep(); |
|
174 |
|
175 private: |
|
176 virtual TInt IssueRequestL(TRequestStatus& aStatus); |
|
177 virtual TInt CancelRequestL(); |
|
178 |
|
179 private: |
|
180 CTelephony::TCallStatusV1 iCallStatus; |
|
181 CTelephony::TCallStatusV1Pckg iCallStatusPckg; |
|
182 }; |
|
183 _LIT(KCapsTestOwnedCall2StatusChange, "NotifyOwnedCall2StatusChange"); |
|
184 |
|
185 // |
|
186 |
|
187 class CNotifyOwnedCall1RemotePartyInfoTestStep : public CTe_CapsTestSuiteStepBase |
|
188 { |
|
189 public: |
|
190 CNotifyOwnedCall1RemotePartyInfoTestStep(); |
|
191 |
|
192 private: |
|
193 virtual TInt IssueRequestL(TRequestStatus& aStatus); |
|
194 virtual TInt CancelRequestL(); |
|
195 |
|
196 private: |
|
197 CTelephony::TRemotePartyInfoV1 iRemoteInfo; |
|
198 CTelephony::TRemotePartyInfoV1Pckg iRemoteInfoPckg; |
|
199 }; |
|
200 _LIT(KCapsTestOwnedCall1RemotePartyInfoChange, "NotifyOwnedCall1RemotePartyInfoChange"); |
|
201 |
|
202 // |
|
203 |
|
204 class CNotifyOwnedCall2RemotePartyInfoTestStep : public CTe_CapsTestSuiteStepBase |
|
205 { |
|
206 public: |
|
207 CNotifyOwnedCall2RemotePartyInfoTestStep(); |
|
208 |
|
209 private: |
|
210 virtual TInt IssueRequestL(TRequestStatus& aStatus); |
|
211 virtual TInt CancelRequestL(); |
|
212 |
|
213 private: |
|
214 CTelephony::TRemotePartyInfoV1 iRemoteInfo; |
|
215 CTelephony::TRemotePartyInfoV1Pckg iRemoteInfoPckg; |
|
216 }; |
|
217 |
|
218 _LIT(KCapsTestOwnedCall2RemotePartyInfoChange, "NotifyOwnedCall2RemotePartyInfoChange"); |
|
219 // |
|
220 |
|
221 class CNotifyNetworkRegistrationStatusTestStep : public CTe_CapsTestSuiteStepBase |
|
222 { |
|
223 public: |
|
224 CNotifyNetworkRegistrationStatusTestStep(); |
|
225 |
|
226 private: |
|
227 virtual TInt IssueRequestL(TRequestStatus& aStatus); |
|
228 virtual TInt CancelRequestL(); |
|
229 |
|
230 private: |
|
231 CTelephony::TNetworkRegistrationV1 iRegistrationInfo; |
|
232 CTelephony::TNetworkRegistrationV1Pckg iRegistrationInfoPckg; |
|
233 }; |
|
234 |
|
235 |
|
236 _LIT(KCapsTestNetworkRegistrationStatusChange, "NotifyNetworkRegistrationStatusChange"); |
|
237 // |
|
238 |
|
239 class CNotifyCurrentNetworkInfoTestStep : public CTe_CapsTestSuiteStepBase |
|
240 { |
|
241 public: |
|
242 CNotifyCurrentNetworkInfoTestStep(); |
|
243 |
|
244 private: |
|
245 virtual TInt IssueRequestL(TRequestStatus& aStatus); |
|
246 virtual TInt CancelRequestL(); |
|
247 |
|
248 private: |
|
249 CTelephony::TNetworkInfoV2 iNetworkInfo; |
|
250 CTelephony::TNetworkInfoV2Pckg iNetworkInfoPckg; |
|
251 }; |
|
252 |
|
253 _LIT(KCapsTestCurrentNetworkInfoChange, "NotifyCurrentNetworkInfoChange"); |
|
254 // |
|
255 |
|
256 |
|
257 #endif // __NOTIFYFUNCTSTEPS_H__ |