24
|
1 |
// Copyright (c) 2005-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 |
// Header file: Basic MMTSY Voice and Echo server tests.
|
|
15 |
//
|
|
16 |
//
|
|
17 |
|
|
18 |
/**
|
|
19 |
@file
|
|
20 |
*/
|
|
21 |
|
|
22 |
#ifndef TE_Voice_H__
|
|
23 |
#define TE_Voice_H__
|
|
24 |
|
|
25 |
#include <e32base.h>
|
|
26 |
#include <e32test.h>
|
|
27 |
#include <e32keys.h>
|
|
28 |
#include <c32comm.h>
|
|
29 |
#include <f32file.h>
|
|
30 |
#include <etel.h>
|
|
31 |
#include <etelmm.h>
|
|
32 |
|
|
33 |
#include "TE_VoiceTestStepBase.h"
|
|
34 |
|
|
35 |
//------------------------------------------------------------------
|
|
36 |
|
|
37 |
/**
|
|
38 |
* This class substitutes function TestLineInfoLL() from T_Voce
|
|
39 |
*
|
|
40 |
*/
|
|
41 |
class CTestLineInfo : public CTestVoiceStep
|
|
42 |
{
|
|
43 |
public:
|
|
44 |
CTestLineInfo() ;
|
|
45 |
~CTestLineInfo(){} ;
|
|
46 |
virtual enum TVerdict doTestStepL();
|
|
47 |
|
|
48 |
} ;
|
|
49 |
//------------------------------------------------------------------
|
|
50 |
|
|
51 |
/**
|
|
52 |
* This class substitutes function TestPhoneInfoL() from T_Voce
|
|
53 |
*
|
|
54 |
*/
|
|
55 |
class CTestPhoneInfo : public CTestVoiceStep
|
|
56 |
{
|
|
57 |
public:
|
|
58 |
CTestPhoneInfo() ;
|
|
59 |
~CTestPhoneInfo(){} ;
|
|
60 |
virtual enum TVerdict doTestStepL();
|
|
61 |
|
|
62 |
} ;
|
|
63 |
|
|
64 |
//------------------------------------------------------------------
|
|
65 |
|
|
66 |
/**
|
|
67 |
* This class substitutes function TestLineStatusIncomingCallL() from T_Voce
|
|
68 |
*
|
|
69 |
*/
|
|
70 |
class CTestLineStatusIncomingCall : public CTestVoiceStep
|
|
71 |
{
|
|
72 |
public:
|
|
73 |
CTestLineStatusIncomingCall() ;
|
|
74 |
~CTestLineStatusIncomingCall(){} ;
|
|
75 |
virtual enum TVerdict doTestStepL();
|
|
76 |
|
|
77 |
} ;
|
|
78 |
|
|
79 |
//------------------------------------------------------------------
|
|
80 |
|
|
81 |
/**
|
|
82 |
* This class substitutes function TestLineStatusOutgoingCallL() from T_Voce
|
|
83 |
*
|
|
84 |
*/
|
|
85 |
class CTestLineStatusOutgoingCall : public CTestVoiceStep
|
|
86 |
{
|
|
87 |
public:
|
|
88 |
CTestLineStatusOutgoingCall() ;
|
|
89 |
~CTestLineStatusOutgoingCall(){} ;
|
|
90 |
virtual enum TVerdict doTestStepL();
|
|
91 |
|
|
92 |
} ;
|
|
93 |
|
|
94 |
|
|
95 |
|
|
96 |
//------------------------------------------------------------------
|
|
97 |
|
|
98 |
/**
|
|
99 |
* This class substitutes function TestLineNotificationsIncomingCallL() from T_Voce
|
|
100 |
*
|
|
101 |
*/
|
|
102 |
class CTestLineNotificationsIncomingCall : public CTestVoiceStep
|
|
103 |
{
|
|
104 |
public:
|
|
105 |
CTestLineNotificationsIncomingCall() ;
|
|
106 |
~CTestLineNotificationsIncomingCall(){} ;
|
|
107 |
virtual enum TVerdict doTestStepL();
|
|
108 |
|
|
109 |
} ;
|
|
110 |
|
|
111 |
//------------------------------------------------------------------
|
|
112 |
|
|
113 |
/**
|
|
114 |
* This class substitutes function TestLineNotificationsOutgoingCallL() from T_Voce
|
|
115 |
*
|
|
116 |
*/
|
|
117 |
class CTestLineNotificationsOutgoingCall : public CTestVoiceStep
|
|
118 |
{
|
|
119 |
public:
|
|
120 |
CTestLineNotificationsOutgoingCall() ;
|
|
121 |
~CTestLineNotificationsOutgoingCall(){} ;
|
|
122 |
virtual enum TVerdict doTestStepL();
|
|
123 |
|
|
124 |
} ;
|
|
125 |
|
|
126 |
//------------------------------------------------------------------
|
|
127 |
|
|
128 |
/**
|
|
129 |
* This class substitutes function TestLineCancelsL() from T_Voce
|
|
130 |
*
|
|
131 |
*/
|
|
132 |
class CTestLineCancels : public CTestVoiceStep
|
|
133 |
{
|
|
134 |
public:
|
|
135 |
CTestLineCancels() ;
|
|
136 |
~CTestLineCancels(){} ;
|
|
137 |
virtual enum TVerdict doTestStepL();
|
|
138 |
|
|
139 |
} ;
|
|
140 |
|
|
141 |
//------------------------------------------------------------------
|
|
142 |
|
|
143 |
/**
|
|
144 |
* This class substitutes function TestCallInfoL() from T_Voce
|
|
145 |
*
|
|
146 |
*/
|
|
147 |
class CTestCallInfo : public CTestVoiceStep
|
|
148 |
{
|
|
149 |
public:
|
|
150 |
CTestCallInfo() ;
|
|
151 |
~CTestCallInfo(){} ;
|
|
152 |
virtual enum TVerdict doTestStepL();
|
|
153 |
|
|
154 |
} ;
|
|
155 |
|
|
156 |
//------------------------------------------------------------------
|
|
157 |
|
|
158 |
/**
|
|
159 |
* This class substitutes function TestCallNotificationsIncomingCallL() from T_Voce
|
|
160 |
*
|
|
161 |
*/
|
|
162 |
class CTestCallNotificationsIncomingCall : public CTestVoiceStep
|
|
163 |
{
|
|
164 |
public:
|
|
165 |
CTestCallNotificationsIncomingCall() ;
|
|
166 |
~CTestCallNotificationsIncomingCall(){} ;
|
|
167 |
virtual enum TVerdict doTestStepL();
|
|
168 |
|
|
169 |
} ;
|
|
170 |
|
|
171 |
//------------------------------------------------------------------
|
|
172 |
|
|
173 |
/**
|
|
174 |
* This class substitutes function TestCallNotificationsOutgoingCallL() from T_Voce
|
|
175 |
*
|
|
176 |
*/
|
|
177 |
class CTestCallNotificationsOutgoingCall : public CTestVoiceStep
|
|
178 |
{
|
|
179 |
public:
|
|
180 |
CTestCallNotificationsOutgoingCall() ;
|
|
181 |
~CTestCallNotificationsOutgoingCall(){} ;
|
|
182 |
virtual enum TVerdict doTestStepL();
|
|
183 |
|
|
184 |
} ;
|
|
185 |
|
|
186 |
//------------------------------------------------------------------
|
|
187 |
|
|
188 |
/**
|
|
189 |
* This class substitutes function TestCallStatusIncomingCallL() from T_Voce
|
|
190 |
*
|
|
191 |
*/
|
|
192 |
class CTestCallStatusIncomingCall : public CTestVoiceStep
|
|
193 |
{
|
|
194 |
public:
|
|
195 |
CTestCallStatusIncomingCall() ;
|
|
196 |
~CTestCallStatusIncomingCall(){} ;
|
|
197 |
virtual enum TVerdict doTestStepL();
|
|
198 |
|
|
199 |
} ;
|
|
200 |
|
|
201 |
//------------------------------------------------------------------
|
|
202 |
|
|
203 |
/**
|
|
204 |
* This class substitutes function TestCallStatusOutgoingCallL() from T_Voce
|
|
205 |
*
|
|
206 |
*/
|
|
207 |
class CTestCallStatusOutgoingCall : public CTestVoiceStep
|
|
208 |
{
|
|
209 |
public:
|
|
210 |
CTestCallStatusOutgoingCall() ;
|
|
211 |
~CTestCallStatusOutgoingCall(){} ;
|
|
212 |
virtual enum TVerdict doTestStepL();
|
|
213 |
|
|
214 |
} ;
|
|
215 |
|
|
216 |
//------------------------------------------------------------------
|
|
217 |
|
|
218 |
/**
|
|
219 |
* This class substitutes function TestCallCancelsL() from T_Voce
|
|
220 |
*
|
|
221 |
*/
|
|
222 |
class CTestCallCancels : public CTestVoiceStep
|
|
223 |
{
|
|
224 |
public:
|
|
225 |
CTestCallCancels() ;
|
|
226 |
~CTestCallCancels(){} ;
|
|
227 |
virtual enum TVerdict doTestStepL();
|
|
228 |
|
|
229 |
} ;
|
|
230 |
|
|
231 |
//------------------------------------------------------------------
|
|
232 |
|
|
233 |
/**
|
|
234 |
* This class substitutes function TestMoreCallInfoL() from T_Voce
|
|
235 |
*
|
|
236 |
*/
|
|
237 |
class CTestMoreCallInfo : public CTestVoiceStep
|
|
238 |
{
|
|
239 |
public:
|
|
240 |
CTestMoreCallInfo() ;
|
|
241 |
~CTestMoreCallInfo(){} ;
|
|
242 |
virtual enum TVerdict doTestStepL();
|
|
243 |
|
|
244 |
} ;
|
|
245 |
|
|
246 |
//------------------------------------------------------------------
|
|
247 |
|
|
248 |
/**
|
|
249 |
* This class substitutes function TestCloseCallWhenActiveL() from T_Voce
|
|
250 |
*
|
|
251 |
*/
|
|
252 |
class CTestCloseCallWhenActive : public CTestVoiceStep
|
|
253 |
{
|
|
254 |
public:
|
|
255 |
CTestCloseCallWhenActive() ;
|
|
256 |
~CTestCloseCallWhenActive(){} ;
|
|
257 |
virtual enum TVerdict doTestStepL();
|
|
258 |
|
|
259 |
} ;
|
|
260 |
|
|
261 |
//------------------------------------------------------------------
|
|
262 |
//------------------------------------------------------------------
|
|
263 |
|
|
264 |
//SUBSTITUTE CLASS REPLACEMENT FOR DEFECT FIX DEF010965
|
|
265 |
//Class was missing when ported from T_Voice
|
|
266 |
/**
|
|
267 |
* This class substitutes function TestLineCapabilitiesL() from T_Voce
|
|
268 |
*
|
|
269 |
*/
|
|
270 |
class CTestLineCapabilities : public CTestVoiceStep
|
|
271 |
{
|
|
272 |
public:
|
|
273 |
CTestLineCapabilities() ;
|
|
274 |
~CTestLineCapabilities(){} ;
|
|
275 |
virtual enum TVerdict doTestStepL();
|
|
276 |
|
|
277 |
} ;
|
|
278 |
|
|
279 |
//------------------------------------------------------------------
|
|
280 |
//------------------------------------------------------------------
|
|
281 |
|
|
282 |
/**
|
|
283 |
* This class substitutes function TestCancelDialRequestL() from T_Voce
|
|
284 |
*
|
|
285 |
*/
|
|
286 |
class CTestCancelDialRequest : public CTestVoiceStep
|
|
287 |
{
|
|
288 |
public:
|
|
289 |
CTestCancelDialRequest() ;
|
|
290 |
~CTestCancelDialRequest(){} ;
|
|
291 |
virtual enum TVerdict doTestStepL();
|
|
292 |
|
|
293 |
} ;
|
|
294 |
|
|
295 |
//------------------------------------------------------------------
|
|
296 |
|
|
297 |
|
|
298 |
#endif// TE_Voice_H__
|