24
|
1 |
|
|
2 |
// Copyright (c) 2001-2009 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 |
// Header file: Basic tests.
|
|
16 |
//
|
|
17 |
//
|
|
18 |
|
|
19 |
/**
|
|
20 |
@file
|
|
21 |
@internalComponent
|
|
22 |
*/
|
|
23 |
|
|
24 |
#ifndef TE_SimVoice_H__
|
|
25 |
#define TE_SimVoice_H__
|
|
26 |
|
|
27 |
#include "Te_SimVoiceTestStepBase.h"
|
|
28 |
|
|
29 |
#define SIM_TSY
|
|
30 |
|
|
31 |
//------------------------------------------------------------------
|
|
32 |
|
|
33 |
/**
|
|
34 |
* This class substitutes function TestLineStatusIncommingCallL() from T_SimVoice
|
|
35 |
*
|
|
36 |
*/
|
|
37 |
class CTestLineStatusIncommingCall : public CSimVoiceTestStepBase
|
|
38 |
{
|
|
39 |
public:
|
|
40 |
CTestLineStatusIncommingCall() ;
|
|
41 |
~CTestLineStatusIncommingCall(){} ;
|
|
42 |
virtual TVerdict doTestStepL();
|
|
43 |
|
|
44 |
} ;
|
|
45 |
|
|
46 |
//------------------------------------------------------------------
|
|
47 |
|
|
48 |
/**
|
|
49 |
* This class substitutes function TestLineNotificationsIncommingCallL() from T_SimVoice
|
|
50 |
*
|
|
51 |
*/
|
|
52 |
class CTestLineNotificationsIncommingCall : public CSimVoiceTestStepBase
|
|
53 |
{
|
|
54 |
public:
|
|
55 |
CTestLineNotificationsIncommingCall() ;
|
|
56 |
~CTestLineNotificationsIncommingCall(){} ;
|
|
57 |
virtual TVerdict doTestStepL();
|
|
58 |
|
|
59 |
} ;
|
|
60 |
|
|
61 |
//------------------------------------------------------------------
|
|
62 |
|
|
63 |
/**
|
|
64 |
* This class substitutes function TestCallNotificationsIncommingCallL() from T_SimVoice
|
|
65 |
*
|
|
66 |
*/
|
|
67 |
class CTestCallNotificationsIncommingCall : public CSimVoiceTestStepBase
|
|
68 |
{
|
|
69 |
public:
|
|
70 |
CTestCallNotificationsIncommingCall() ;
|
|
71 |
~CTestCallNotificationsIncommingCall(){} ;
|
|
72 |
virtual TVerdict doTestStepL();
|
|
73 |
|
|
74 |
} ;
|
|
75 |
|
|
76 |
//------------------------------------------------------------------
|
|
77 |
|
|
78 |
/**
|
|
79 |
* This class substitutes function TestCallNotificationsOutgoingCallL() from T_SimVoice
|
|
80 |
*
|
|
81 |
*/
|
|
82 |
class CTestCallNotificationsOutgoingCall : public CSimVoiceTestStepBase
|
|
83 |
{
|
|
84 |
public:
|
|
85 |
CTestCallNotificationsOutgoingCall() ;
|
|
86 |
~CTestCallNotificationsOutgoingCall(){} ;
|
|
87 |
virtual TVerdict doTestStepL();
|
|
88 |
|
|
89 |
} ;
|
|
90 |
|
|
91 |
//------------------------------------------------------------------
|
|
92 |
|
|
93 |
/**
|
|
94 |
* This class substitutes function TestLineNotificationsOutgoingCallL() from T_SimVoice
|
|
95 |
*
|
|
96 |
*/
|
|
97 |
class CTestLineNotificationsOutgoingCall : public CSimVoiceTestStepBase
|
|
98 |
{
|
|
99 |
public:
|
|
100 |
CTestLineNotificationsOutgoingCall() ;
|
|
101 |
~CTestLineNotificationsOutgoingCall(){} ;
|
|
102 |
virtual TVerdict doTestStepL();
|
|
103 |
|
|
104 |
} ;
|
|
105 |
|
|
106 |
//------------------------------------------------------------------
|
|
107 |
|
|
108 |
/**
|
|
109 |
* This class substitutes function TestLineStatusOutgoingCallL() from T_SimVoice
|
|
110 |
*
|
|
111 |
*/
|
|
112 |
class CTestLineStatusOutgoingCall : public CSimVoiceTestStepBase
|
|
113 |
{
|
|
114 |
public:
|
|
115 |
CTestLineStatusOutgoingCall() ;
|
|
116 |
~CTestLineStatusOutgoingCall(){} ;
|
|
117 |
virtual TVerdict doTestStepL();
|
|
118 |
|
|
119 |
} ;
|
|
120 |
|
|
121 |
//------------------------------------------------------------------
|
|
122 |
|
|
123 |
/**
|
|
124 |
* This class substitutes function TestCallStatusOutgoingCallL() from T_SimVoice
|
|
125 |
*
|
|
126 |
*/
|
|
127 |
class CTestCallStatusOutgoingCall : public CSimVoiceTestStepBase
|
|
128 |
{
|
|
129 |
public:
|
|
130 |
CTestCallStatusOutgoingCall() ;
|
|
131 |
~CTestCallStatusOutgoingCall(){} ;
|
|
132 |
virtual TVerdict doTestStepL();
|
|
133 |
|
|
134 |
} ;
|
|
135 |
|
|
136 |
//------------------------------------------------------------------
|
|
137 |
|
|
138 |
/**
|
|
139 |
* This class substitutes function TestCallStatusIncommingCallL() from T_SimVoice
|
|
140 |
*
|
|
141 |
*/
|
|
142 |
class CTestCallStatusIncommingCall : public CSimVoiceTestStepBase
|
|
143 |
{
|
|
144 |
public:
|
|
145 |
CTestCallStatusIncommingCall() ;
|
|
146 |
~CTestCallStatusIncommingCall(){} ;
|
|
147 |
virtual TVerdict doTestStepL();
|
|
148 |
|
|
149 |
} ;
|
|
150 |
|
|
151 |
//------------------------------------------------------------------
|
|
152 |
|
|
153 |
/**
|
|
154 |
* This class substitutes function TestLineInfoL() from T_SimVoice
|
|
155 |
*
|
|
156 |
*/
|
|
157 |
class CTestLineInfo : public CSimVoiceTestStepBase
|
|
158 |
{
|
|
159 |
public:
|
|
160 |
CTestLineInfo() ;
|
|
161 |
~CTestLineInfo(){} ;
|
|
162 |
virtual TVerdict doTestStepL();
|
|
163 |
|
|
164 |
} ;
|
|
165 |
|
|
166 |
//------------------------------------------------------------------
|
|
167 |
|
|
168 |
/**
|
|
169 |
* This class substitutes function TestCallCancelsL() from T_SimVoice
|
|
170 |
*
|
|
171 |
*/
|
|
172 |
class CTestCallCancels : public CSimVoiceTestStepBase
|
|
173 |
{
|
|
174 |
public:
|
|
175 |
CTestCallCancels() ;
|
|
176 |
~CTestCallCancels(){} ;
|
|
177 |
virtual TVerdict doTestStepL();
|
|
178 |
|
|
179 |
} ;
|
|
180 |
|
|
181 |
//------------------------------------------------------------------
|
|
182 |
|
|
183 |
/**
|
|
184 |
* This class substitutes function TestLineCancelsL() from T_SimVoice
|
|
185 |
*
|
|
186 |
*/
|
|
187 |
class CTestLineCancels : public CSimVoiceTestStepBase
|
|
188 |
{
|
|
189 |
public:
|
|
190 |
CTestLineCancels() ;
|
|
191 |
~CTestLineCancels(){} ;
|
|
192 |
virtual TVerdict doTestStepL();
|
|
193 |
|
|
194 |
} ;
|
|
195 |
|
|
196 |
//------------------------------------------------------------------
|
|
197 |
|
|
198 |
/**
|
|
199 |
* This class substitutes function TestMoreCallInfoL() from T_SimVoice
|
|
200 |
*
|
|
201 |
*/
|
|
202 |
class CTestMoreCallInfo : public CSimVoiceTestStepBase
|
|
203 |
{
|
|
204 |
public:
|
|
205 |
CTestMoreCallInfo() ;
|
|
206 |
~CTestMoreCallInfo(){} ;
|
|
207 |
virtual TVerdict doTestStepL();
|
|
208 |
|
|
209 |
} ;
|
|
210 |
|
|
211 |
//------------------------------------------------------------------
|
|
212 |
|
|
213 |
/**
|
|
214 |
* This class substitutes function TestCallInfoL() from T_SimVoice
|
|
215 |
*
|
|
216 |
*/
|
|
217 |
class CTestCallInfo : public CSimVoiceTestStepBase
|
|
218 |
{
|
|
219 |
public:
|
|
220 |
CTestCallInfo() ;
|
|
221 |
~CTestCallInfo(){} ;
|
|
222 |
virtual TVerdict doTestStepL();
|
|
223 |
|
|
224 |
} ;
|
|
225 |
|
|
226 |
//------------------------------------------------------------------
|
|
227 |
|
|
228 |
/**
|
|
229 |
* This class substitutes function TestPhoneInfoL() from T_SimVoice
|
|
230 |
*
|
|
231 |
*/
|
|
232 |
class CTestPhoneInfo : public CSimVoiceTestStepBase
|
|
233 |
{
|
|
234 |
public:
|
|
235 |
CTestPhoneInfo() ;
|
|
236 |
~CTestPhoneInfo(){} ;
|
|
237 |
virtual TVerdict doTestStepL();
|
|
238 |
|
|
239 |
} ;
|
|
240 |
|
|
241 |
//------------------------------------------------------------------
|
|
242 |
|
|
243 |
/**
|
|
244 |
* This class substitutes function TestDtmfL() from T_SimVoice
|
|
245 |
*
|
|
246 |
*/
|
|
247 |
class CTestDtmf : public CSimVoiceTestStepBase
|
|
248 |
{
|
|
249 |
public:
|
|
250 |
CTestDtmf() ;
|
|
251 |
~CTestDtmf(){} ;
|
|
252 |
virtual TVerdict doTestStepL();
|
|
253 |
|
|
254 |
} ;
|
|
255 |
|
|
256 |
/**
|
|
257 |
* This class tests call duration
|
|
258 |
*
|
|
259 |
*/
|
|
260 |
|
|
261 |
class CTestCallDuration : public CSimVoiceTestStepBase
|
|
262 |
{
|
|
263 |
public:
|
|
264 |
virtual TVerdict doTestStepL();
|
|
265 |
TVerdict RunTestL(TBool aBRingOut);
|
|
266 |
CTestCallDuration();
|
|
267 |
virtual ~CTestCallDuration();
|
|
268 |
|
|
269 |
private:
|
|
270 |
TBool RingOrDialL(TBool aBRingOut);
|
|
271 |
};
|
|
272 |
|
|
273 |
/**
|
|
274 |
* This class tests remote hangup
|
|
275 |
*
|
|
276 |
*/
|
|
277 |
class CTestRemoteHangup : public CSimVoiceTestStepBase
|
|
278 |
{
|
|
279 |
public:
|
|
280 |
CTestRemoteHangup() ;
|
|
281 |
virtual TVerdict doTestStepL();
|
|
282 |
} ;
|
|
283 |
|
|
284 |
#endif// TE_SimVoice_H__
|
|
285 |
|