|
1 // |
|
2 // Copyright (c) 2005-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 // |
|
16 //! @file |
|
17 //! @SYMTestSuiteName telephony-etelmm-voicecall-validation-outgoingcall |
|
18 //! @SYMScriptTestEnvironment This test script requires a basic ROM. |
|
19 // |
|
20 // Tests all public elements of the RMmCustomAPI; RMobileLine; RMobilePhone; RTelServer; RMobileConferenceCall and RMobileCall |
|
21 // classes as a means of confidence that the APIs work as expected. |
|
22 // |
|
23 // The purpose is to provide a regression test suite of PublishedAll |
|
24 // APIs for: RMmCustomAPI; RMobileLine; RMobilePhone; RTelServer; RMobileConferenceCall and RMobileCall |
|
25 // Voice Call tests are intended for semi-automatic testing because dialing/ answering calls require user interaction. |
|
26 // |
|
27 |
|
28 |
|
29 |
|
30 LOAD_SUITE t_etelmm |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 |
|
36 START_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0001 |
|
37 |
|
38 //!@SYMTestCaseID TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0001 |
|
39 //!@SYMAPI |
|
40 //! RLine::Open(RPhone{ref};const TDesC{ref}); |
|
41 //! RCall::OpenNewCall(RLine{ref};TDes{ref}); |
|
42 //! RCall::GetCaps(TCaps{ref}); |
|
43 //! RCall::Dial(TRequestStatus{ref};const TTelNumberC{ref}); |
|
44 //! TCallInfo::HangUp(TRequestStatus{ref}); |
|
45 //! RCall::Close( ) |
|
46 //! RLine::Close( ) |
|
47 //!@SYMAuthor JPacho |
|
48 //!@SYMCreationDate 19/5/2008 |
|
49 //!@SYMTestCaseDesc Dial a call and hang it up with Sim in GSM mode |
|
50 //!@SYMTestActions |
|
51 //! 1. Open telephony server |
|
52 //! 2. Open mobile phone (RTelServer=telServer; Phone=0) |
|
53 //! 3. Initialise mobile phone |
|
54 //! 4. Initialize custom API (RMobilePhone=mobilePhone) |
|
55 //! 5. Change mode to GSM (ChangeMode = GSM) |
|
56 //! 6. Get the current mode |
|
57 //! 7. Check the mode is GSM (CheckMode = GSM) |
|
58 //! 8. Open line (Line = Voice1;RMobilePhone=mobilePhone) |
|
59 //! 9. Open new call (RMobileLine=mobileLine;Call = 1) |
|
60 //! 10. Get VoiceCall capabilities for the call (Call = 1) |
|
61 //! 11.Check VoiceCall capabilities(Capabilities = VoiceCall) |
|
62 //! 12.Dial (Call = 1;PhoneNumber = {PHONENUMBERS, PhoneNumber1};CallTimeout = 10) |
|
63 //! 13.Cancel dial if timeout is reached (Call = 1) |
|
64 //! 14.Get call duration (Call = 1) |
|
65 //! 15.Hang up (Call = 1) |
|
66 //! 16.Close call (Call = 1) |
|
67 //! 17.Close line |
|
68 //! 18.Close custom API |
|
69 //! 19.Close mobile phone |
|
70 //! 20.Close telephomy server |
|
71 //!@SYMTestStatus Implemented |
|
72 //!@SYMTestPriority High |
|
73 //!@SYMTestExpectedResults |
|
74 //! Function does not leave nor panic. Call is dialed, wait for the other party to answer then hang up |
|
75 //!@SYMTestType CIT |
|
76 |
|
77 START_TEST_BLOCK 600 t_etelmm \telephony\etelmm\telephony-etelmm-voicecall-validation-outgoingcall.ini |
|
78 CREATE_OBJECT RTelServer telServer |
|
79 CREATE_OBJECT RMobilePhone mobilePhone |
|
80 CREATE_OBJECT RMobileLine mobileLine |
|
81 CREATE_OBJECT RMobileCall mobileCall |
|
82 CREATE_OBJECT RMmCustomAPI customApi |
|
83 COMMAND telServer Connect |
|
84 COMMAND mobilePhone Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0001-0001-Open_command02 |
|
85 COMMAND mobilePhone Initialise |
|
86 COMMAND customApi Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0001-0001-Open_command04 |
|
87 COMMAND customApi SetSystemNetworkMode TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0001-0001-SetSystemNetworkMode_command05 |
|
88 OUTSTANDING |
|
89 COMMAND customApi GetCurrentSystemNetworkModes |
|
90 OUTSTANDING |
|
91 COMMAND customApi UtilityModeCheck TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0001-0001-UtilityModeCheck_command07 |
|
92 COMMAND mobileLine Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0001-0001-Open_command08 |
|
93 COMMAND mobileCall OpenNewCall TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0001-0001-OpenNewCall_command09 |
|
94 COMMAND mobileCall GetCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0001-0001-GetCaps_command10 |
|
95 COMMAND mobileCall CheckCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0001-0001-CheckCaps_command11 |
|
96 COMMAND mobileCall Dial TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0001-0001-Dial_command12 |
|
97 ASYNC_DELAY 30000000 |
|
98 COMMAND mobileCall DialCancel TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0001-0001-DialCancel_command13 |
|
99 COMMAND mobileCall GetCallDuration TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0001-0001-GetCallDuration_command14 |
|
100 COMMAND mobileCall HangUp TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0001-0001-HangUp_command15 |
|
101 OUTSTANDING |
|
102 COMMAND mobileCall Close TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0001-0001-Close_command16 |
|
103 COMMAND mobileLine Close |
|
104 COMMAND customApi Close |
|
105 COMMAND mobilePhone Close |
|
106 COMMAND telServer Close |
|
107 END_TEST_BLOCK |
|
108 END_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0001 |
|
109 |
|
110 |
|
111 |
|
112 |
|
113 START_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0002 |
|
114 |
|
115 //!@SYMTestCaseID TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0002 |
|
116 //!@SYMAPI |
|
117 //! RLine::Open(RPhone{ref};const TDesC{ref}); |
|
118 //! RLine::OpenNewCall(RLine{ref};TDes{ref}); |
|
119 //! RCall::GetCaps(TCaps{ref}); |
|
120 //! RCall::Dial(TRequestStatus{ref};const TTelNumberC{ref}); |
|
121 //! TCallInfo::HangUp(TRequestStatus{ref}); |
|
122 //! RCall::Close( ) |
|
123 //! RLine::Close( ) |
|
124 //!@SYMAuthor JPacho |
|
125 //!@SYMCreationDate 19/5/2008 |
|
126 //!@SYMTestCaseDesc Dial a call and hang it up with Sim in GSM Mode |
|
127 //!@SYMTestActions |
|
128 //! 1. Open telephony server |
|
129 //! 2. Open mobile phone (RTelServer=telServer; Phone=0) |
|
130 //! 3. Initialise mobile phone |
|
131 //! 4. Initialize custom API (RMobilePhone=mobilePhone) |
|
132 //! 5. Change mode to GSM (ChangeMode = GSM) |
|
133 //! 6. Get the current mode |
|
134 //! 7. Check the mode is GSM (CheckMode = GSM) |
|
135 //! 8. Open line (Line = Voice1;RMobilePhone=mobilePhone) |
|
136 //! 9. Open new call (RMobileLine=mobileLine;Call = 1) |
|
137 //! 10. Get VoiceCall capabilities for the call (Call = 1) |
|
138 //! 11.Check VoiceCall capabilities(Capabilities = VoiceCall) |
|
139 //! 12.Dial (Call = 1;PhoneNumber = {PHONENUMBERS, PhoneNumber1};CallTimeout = 10) |
|
140 //! 13.Cancel dial if timeout is reached (Call = 1) |
|
141 //! 14.Get call duration (Call = 1) |
|
142 //! 15.Hang up (Call = 1) |
|
143 //! 16.Close call (Call = 1) |
|
144 //! 17.Close line |
|
145 //! 18.Close custom API |
|
146 //! 19.Close mobile phone |
|
147 //! 20.Close telephomy server |
|
148 //!@SYMTestStatus Implemented |
|
149 //!@SYMTestPriority High |
|
150 //!@SYMTestExpectedResults |
|
151 //! Function does not leave nor panic. Call is dialed, wait for the other party to answer then hang up |
|
152 //!@SYMTestType CIT |
|
153 |
|
154 START_TEST_BLOCK 600 t_etelmm \telephony\etelmm\telephony-etelmm-voicecall-validation-outgoingcall.ini |
|
155 CREATE_OBJECT RTelServer telServer |
|
156 CREATE_OBJECT RMobilePhone mobilePhone |
|
157 CREATE_OBJECT RMobileLine mobileLine |
|
158 CREATE_OBJECT RMobileCall mobileCall |
|
159 CREATE_OBJECT RMmCustomAPI customApi |
|
160 COMMAND telServer Connect |
|
161 COMMAND mobilePhone Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0002-0001-Open_command02 |
|
162 COMMAND mobilePhone Initialise |
|
163 COMMAND customApi Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0002-0001-Open_command04 |
|
164 COMMAND customApi SetSystemNetworkMode TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0002-0001-SetSystemNetworkMode_command05 |
|
165 OUTSTANDING |
|
166 COMMAND customApi GetCurrentSystemNetworkModes |
|
167 OUTSTANDING |
|
168 COMMAND customApi UtilityModeCheck TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0002-0001-UtilityModeCheck_command07 |
|
169 COMMAND mobileLine Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0002-0001-Open_command08 |
|
170 COMMAND mobileCall OpenNewCall TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0002-0001-OpenNewCall_command09 |
|
171 COMMAND mobileCall GetCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0002-0001-GetCaps_command10 |
|
172 COMMAND mobileCall CheckCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0002-0001-CheckCaps_command11 |
|
173 COMMAND mobileCall Dial TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0002-0001-Dial_command12 |
|
174 ASYNC_DELAY 30000000 |
|
175 COMMAND mobileCall DialCancel TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0002-0001-DialCancel_command13 |
|
176 COMMAND mobileCall GetCallDuration TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0002-0001-GetCallDuration_command14 |
|
177 COMMAND mobileCall HangUp TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0002-0001-HangUp_command15 |
|
178 OUTSTANDING |
|
179 COMMAND mobileCall Close TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0002-0001-Close_command16 |
|
180 COMMAND mobileLine Close |
|
181 COMMAND customApi Close |
|
182 COMMAND mobilePhone Close |
|
183 COMMAND telServer Close |
|
184 END_TEST_BLOCK |
|
185 END_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0002 |
|
186 |
|
187 |
|
188 |
|
189 |
|
190 START_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0003 |
|
191 |
|
192 //!@SYMTestCaseID TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0003 |
|
193 //!@SYMAPI |
|
194 //! RLine::Open(RPhone{ref};const TDesC{ref}); |
|
195 //! RLine::OpenNewCall(RLine{ref};TDes{ref}); |
|
196 //! RCall::GetCaps(TCaps{ref}); |
|
197 //! RCall::Dial(TRequestStatus{ref};const TTelNumberC{ref}); |
|
198 //! TCallInfo::HangUp(TRequestStatus{ref}); |
|
199 //! RCall::Close( ) |
|
200 //! RLine::Close( ) |
|
201 //!@SYMAuthor JPacho |
|
202 //!@SYMCreationDate 19/5/2008 |
|
203 //!@SYMTestCaseDesc Dial a call and hang it up with Sim in GSM Mode |
|
204 //!@SYMTestActions |
|
205 //! 1. Open telephony server |
|
206 //! 2. Open mobile phone (RTelServer=telServer; Phone=0) |
|
207 //! 3. Initialise mobile phone |
|
208 //! 4. Initialize custom API (RMobilePhone=mobilePhone) |
|
209 //! 5. Change mode to GSM (ChangeMode = GSM) |
|
210 //! 6. Get the current mode |
|
211 //! 7. Check the mode is GSM (CheckMode = GSM) |
|
212 //! 8. Open line (Line = Voice1;RMobilePhone=mobilePhone) |
|
213 //! 9. Open new call (RMobileLine=mobileLine;Call = 1) |
|
214 //! 10. Get VoiceCall capabilities for the call (Call = 1) |
|
215 //! 11.Check VoiceCall capabilities(Capabilities = VoiceCall) |
|
216 //! 12.Dial (Call = 1;PhoneNumber = {PHONENUMBERS, PhoneNumber1};CallTimeout = 10) |
|
217 //! 13.Cancel dial if timeout is reached (Call = 1) |
|
218 //! 14.Get call duration (Call = 1) |
|
219 //! 15.Hang up (Call = 1) |
|
220 //! 16.Close call (Call = 1) |
|
221 //! 17.Close line |
|
222 //! 18.Close custom API |
|
223 //! 19.Close mobile phone |
|
224 //! 20.Close telephomy server |
|
225 //!@SYMTestStatus Implemented |
|
226 //!@SYMTestPriority High |
|
227 //!@SYMTestExpectedResults |
|
228 //! Function does not leave nor panic. Call is dialed, wait for the other party to answer then hang up |
|
229 //!@SYMTestType CIT |
|
230 |
|
231 START_TEST_BLOCK 600 t_etelmm \telephony\etelmm\telephony-etelmm-voicecall-validation-outgoingcall.ini |
|
232 CREATE_OBJECT RTelServer telServer |
|
233 CREATE_OBJECT RMobilePhone mobilePhone |
|
234 CREATE_OBJECT RMobileLine mobileLine |
|
235 CREATE_OBJECT RMobileCall mobileCall |
|
236 CREATE_OBJECT RMmCustomAPI customApi |
|
237 COMMAND telServer Connect |
|
238 COMMAND mobilePhone Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0003-0001-Open_command02 |
|
239 COMMAND mobilePhone Initialise |
|
240 COMMAND customApi Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0003-0001-Open_command04 |
|
241 COMMAND customApi SetSystemNetworkMode TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0003-0001-SetSystemNetworkMode_command05 |
|
242 OUTSTANDING |
|
243 COMMAND customApi GetCurrentSystemNetworkModes |
|
244 OUTSTANDING |
|
245 COMMAND customApi UtilityModeCheck TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0003-0001-UtilityModeCheck_command07 |
|
246 COMMAND mobileLine Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0003-0001-Open_command08 |
|
247 COMMAND mobileCall OpenNewCall TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0003-0001-OpenNewCall_command09 |
|
248 COMMAND mobileCall GetCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0003-0001-GetCaps_command10 |
|
249 COMMAND mobileCall CheckCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0003-0001-CheckCaps_command11 |
|
250 COMMAND mobileCall Dial TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0003-0001-Dial_command12 |
|
251 ASYNC_DELAY 30000000 |
|
252 COMMAND mobileCall DialCancel TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0003-0001-DialCancel_command13 |
|
253 COMMAND mobileCall GetCallDuration TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0003-0001-GetCallDuration_command14 |
|
254 COMMAND mobileCall HangUp TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0003-0001-HangUp_command15 |
|
255 OUTSTANDING |
|
256 COMMAND mobileCall Close TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0003-0001-Close_command16 |
|
257 COMMAND mobileLine Close |
|
258 COMMAND customApi Close |
|
259 COMMAND mobilePhone Close |
|
260 COMMAND telServer Close |
|
261 END_TEST_BLOCK |
|
262 END_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0003 |
|
263 |
|
264 |
|
265 |
|
266 |
|
267 START_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0004 |
|
268 |
|
269 //!@SYMTestCaseID TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0004 |
|
270 //!@SYMAPI |
|
271 //! RLine::Open(RPhone{ref};const TDesC{ref}); |
|
272 //! RLine::OpenNewCall(RLine{ref};TDes{ref}); |
|
273 //! RCall::GetCaps(TCaps{ref}); |
|
274 //! RCall::Dial(TRequestStatus{ref};const TTelNumberC{ref}); |
|
275 //! TCallInfo::HangUp(TRequestStatus{ref}); |
|
276 //! RCall::Close( ) |
|
277 //! RLine::Close( ) |
|
278 //!@SYMAuthor JPacho |
|
279 //!@SYMCreationDate 19/5/2008 |
|
280 //!@SYMTestCaseDesc Dial a call and hang it up with Sim in GSM Mode |
|
281 //!@SYMTestActions |
|
282 //! 1. Open telephony server |
|
283 //! 2. Open mobile phone (RTelServer=telServer; Phone=0) |
|
284 //! 3. Initialise mobile phone |
|
285 //! 4. Initialize custom API (RMobilePhone=mobilePhone) |
|
286 //! 5. Change mode to GSM (ChangeMode = GSM) |
|
287 //! 6. Get the current mode |
|
288 //! 7. Check the mode is GSM (CheckMode = GSM) |
|
289 //! 8. Open line (Line = Voice1;RMobilePhone=mobilePhone) |
|
290 //! 9. Open new call (RMobileLine=mobileLine;Call = 1) |
|
291 //! 10. Get VoiceCall capabilities for the call (Call = 1) |
|
292 //! 11.Check VoiceCall capabilities(Capabilities = VoiceCall) |
|
293 //! 12.Dial (Call = 1;PhoneNumber = {PHONENUMBERS, PhoneNumber1};CallTimeout = 10) |
|
294 //! 13.Cancel dial if timeout is reached (Call = 1) |
|
295 //! 14.Get call duration (Call = 1) |
|
296 //! 15.Hang up (Call = 1) |
|
297 //! 16.Close call (Call = 1) |
|
298 //! 17.Close line |
|
299 //! 18.Close custom API |
|
300 //! 19.Close mobile phone |
|
301 //! 20.Close telephomy server |
|
302 //!@SYMTestStatus Implemented |
|
303 //!@SYMTestPriority High |
|
304 //!@SYMTestExpectedResults |
|
305 //! Function does not leave nor panic. Call is dialed, wait for the other party to answer then hang up |
|
306 //!@SYMTestType CIT |
|
307 |
|
308 START_TEST_BLOCK 600 t_etelmm \telephony\etelmm\telephony-etelmm-voicecall-validation-outgoingcall.ini |
|
309 CREATE_OBJECT RTelServer telServer |
|
310 CREATE_OBJECT RMobilePhone mobilePhone |
|
311 CREATE_OBJECT RMobileLine mobileLine |
|
312 CREATE_OBJECT RMobileCall mobileCall |
|
313 CREATE_OBJECT RMmCustomAPI customApi |
|
314 COMMAND telServer Connect |
|
315 COMMAND mobilePhone Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0004-0001-Open_command02 |
|
316 COMMAND mobilePhone Initialise |
|
317 COMMAND customApi Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0004-0001-Open_command04 |
|
318 COMMAND customApi SetSystemNetworkMode TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0004-0001-SetSystemNetworkMode_command05 |
|
319 OUTSTANDING |
|
320 COMMAND customApi GetCurrentSystemNetworkModes |
|
321 OUTSTANDING |
|
322 COMMAND customApi UtilityModeCheck TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0004-0001-UtilityModeCheck_command07 |
|
323 COMMAND mobileLine Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0004-0001-Open_command08 |
|
324 COMMAND mobileCall OpenNewCall TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0004-0001-OpenNewCall_command09 |
|
325 COMMAND mobileCall GetCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0004-0001-GetCaps_command10 |
|
326 COMMAND mobileCall CheckCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0004-0001-CheckCaps_command11 |
|
327 COMMAND mobileCall Dial TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0004-0001-Dial_command12 |
|
328 ASYNC_DELAY 30000000 |
|
329 COMMAND mobileCall DialCancel TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0004-0001-DialCancel_command13 |
|
330 COMMAND mobileCall GetCallDuration TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0004-0001-GetCallDuration_command14 |
|
331 COMMAND mobileCall HangUp TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0004-0001-HangUp_command15 |
|
332 OUTSTANDING |
|
333 COMMAND mobileCall Close TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0004-0001-Close_command16 |
|
334 COMMAND mobileLine Close |
|
335 COMMAND customApi Close |
|
336 COMMAND mobilePhone Close |
|
337 COMMAND telServer Close |
|
338 END_TEST_BLOCK |
|
339 END_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0004 |
|
340 |
|
341 |
|
342 |
|
343 |
|
344 START_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0005 |
|
345 |
|
346 //!@SYMTestCaseID TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0005 |
|
347 //!@SYMAPI |
|
348 //! RLine::Open(RPhone{ref};const TDesC{ref}); |
|
349 //! RLine::OpenNewCall(RLine{ref};TDes{ref}); |
|
350 //! RCall::GetCaps(TCaps{ref}); |
|
351 //! RCall::Dial(TRequestStatus{ref};const TTelNumberC{ref}); |
|
352 //! TCallInfo::HangUp(TRequestStatus{ref}); |
|
353 //! RCall::Close( ) |
|
354 //! RLine::Close( ) |
|
355 //!@SYMAuthor JPacho |
|
356 //!@SYMCreationDate 19/5/2008 |
|
357 //!@SYMTestCaseDesc Dial a call and hang it up with sim in WCDMA mode |
|
358 //!@SYMTestActions |
|
359 //! 1. Open telephony server |
|
360 //! 2. Open mobile phone (RTelServer=telServer; Phone=0) |
|
361 //! 3. Initialise mobile phone |
|
362 //! 4. Initialize custom API (RMobilePhone=mobilePhone) |
|
363 //! 5. Change mode to WCDMA (ChangeMode = WCDMA) |
|
364 //! 6. Get the current mode |
|
365 //! 7. Check the mode is WCDMA (CheckMode = WCDMA) |
|
366 //! 8. Open line (Line = Voice1;RMobilePhone=mobilePhone) |
|
367 //! 9. Open new call (RMobileLine=mobileLine;Call = 1) |
|
368 //! 10. Get VoiceCall capabilities for the call (Call = 1) |
|
369 //! 11.Check VoiceCall capabilities (Capabilities = VoiceCall) |
|
370 //! 12.Dial (Call = 1;PhoneNumber = {PHONENUMBERS, PhoneNumber1};CallTimeout = 10) |
|
371 //! 13.Cancel dial if timeout is reached (Call = 1) |
|
372 //! 14.Get call duration (Call = 1) |
|
373 //! 15.Hang up (Call = 1) |
|
374 //! 16.Close call (Call = 1) |
|
375 //! 17.Close line |
|
376 //! 18.Close custom API |
|
377 //! 19.Close mobile phone |
|
378 //! 20.Close telephomy server |
|
379 //!@SYMTestStatus Implemented |
|
380 //!@SYMTestPriority High |
|
381 //!@SYMTestExpectedResults |
|
382 //! Function does not leave nor panic. Call is dialed, wait for the other party to answer then hang up |
|
383 //!@SYMTestType CIT |
|
384 |
|
385 START_TEST_BLOCK 600 t_etelmm \telephony\etelmm\telephony-etelmm-voicecall-validation-outgoingcall.ini |
|
386 CREATE_OBJECT RTelServer telServer |
|
387 CREATE_OBJECT RMobilePhone mobilePhone |
|
388 CREATE_OBJECT RMobileLine mobileLine |
|
389 CREATE_OBJECT RMobileCall mobileCall |
|
390 CREATE_OBJECT RMmCustomAPI customApi |
|
391 COMMAND telServer Connect |
|
392 COMMAND mobilePhone Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0005-0001-Open_command02 |
|
393 COMMAND mobilePhone Initialise |
|
394 COMMAND customApi Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0005-0001-Open_command04 |
|
395 COMMAND customApi SetSystemNetworkMode TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0005-0001-SetSystemNetworkMode_command05 |
|
396 OUTSTANDING |
|
397 COMMAND customApi GetCurrentSystemNetworkModes |
|
398 OUTSTANDING |
|
399 COMMAND customApi UtilityModeCheck TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0005-0001-UtilityModeCheck_command07 |
|
400 COMMAND mobileLine Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0005-0001-Open_command08 |
|
401 COMMAND mobileCall OpenNewCall TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0005-0001-OpenNewCall_command09 |
|
402 COMMAND mobileCall GetCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0005-0001-GetCaps_command10 |
|
403 COMMAND mobileCall CheckCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0005-0001-CheckCaps_command11 |
|
404 COMMAND mobileCall Dial TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0005-0001-Dial_command12 |
|
405 ASYNC_DELAY 30000000 |
|
406 COMMAND mobileCall DialCancel TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0005-0001-DialCancel_command13 |
|
407 COMMAND mobileCall GetCallDuration TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0005-0001-GetCallDuration_command14 |
|
408 COMMAND mobileCall HangUp TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0005-0001-HangUp_command15 |
|
409 OUTSTANDING |
|
410 COMMAND mobileCall Close TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0005-0001-Close_command16 |
|
411 COMMAND mobileLine Close |
|
412 COMMAND customApi Close |
|
413 COMMAND mobilePhone Close |
|
414 COMMAND telServer Close |
|
415 END_TEST_BLOCK |
|
416 END_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0005 |
|
417 |
|
418 |
|
419 |
|
420 |
|
421 START_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0006 |
|
422 |
|
423 //!@SYMTestCaseID TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0006 |
|
424 //!@SYMAPI |
|
425 //! RLine::Open(RPhone{ref};const TDesC{ref}); |
|
426 //! RLine::OpenNewCall(RLine{ref};TDes{ref}); |
|
427 //! RCall::GetCaps(TCaps{ref}); |
|
428 //! RCall::Dial(TRequestStatus{ref};const TTelNumberC{ref}); |
|
429 //! TCallInfo::HangUp(TRequestStatus{ref}); |
|
430 //! RCall::Close() |
|
431 //! RLine::Close() |
|
432 //!@SYMAuthor JPacho |
|
433 //!@SYMCreationDate 19/5/2008 |
|
434 //!@SYMTestCaseDesc Dial a call and hang it up with Sim in WCDMA mode |
|
435 //!@SYMTestActions |
|
436 //! 1. Open telephony server |
|
437 //! 2. Open mobile phone (RTelServer=telServer; Phone=0) |
|
438 //! 3. Initialise mobile phone |
|
439 //! 4. Initialize custom API (RMobilePhone=mobilePhone) |
|
440 //! 5. Change mode to WCDMA (ChangeMode = WCDMA) |
|
441 //! 6. Get the current mode |
|
442 //! 7. Check the mode is WCDMA (CheckMode = WCDMA) |
|
443 //! 8. Open line (Line = Voice1;RMobilePhone=mobilePhone) |
|
444 //! 9. Open new call (RMobileLine=mobileLine;Call = 1) |
|
445 //! 10. Get VoiceCall capabilities for the call (Call = 1) |
|
446 //! 11.Check VoiceCall capabilities (Capabilities = VoiceCall) |
|
447 //! 12.Dial (Call = 1;PhoneNumber = {PHONENUMBERS, PhoneNumber1};CallTimeout = 10) |
|
448 //! 13.Cancel dial if timeout is reached (Call = 1) |
|
449 //! 14.Get call duration (Call = 1) |
|
450 //! 15.Hang up (Call = 1) |
|
451 //! 16.Close call (Call = 1) |
|
452 //! 17.Close line |
|
453 //! 18.Close custom API |
|
454 //! 19.Close mobile phone |
|
455 //! 20.Close telephomy server |
|
456 //!@SYMTestStatus Implemented |
|
457 //!@SYMTestPriority High |
|
458 //!@SYMTestExpectedResults |
|
459 //! Function does not leave nor panic. Call is dialed, wait for the other party to answer then hang up |
|
460 //!@SYMTestType CIT |
|
461 |
|
462 START_TEST_BLOCK 600 t_etelmm \telephony\etelmm\telephony-etelmm-voicecall-validation-outgoingcall.ini |
|
463 CREATE_OBJECT RTelServer telServer |
|
464 CREATE_OBJECT RMobilePhone mobilePhone |
|
465 CREATE_OBJECT RMobileLine mobileLine |
|
466 CREATE_OBJECT RMobileCall mobileCall |
|
467 CREATE_OBJECT RMmCustomAPI customApi |
|
468 COMMAND telServer Connect |
|
469 COMMAND mobilePhone Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0006-0001-Open_command02 |
|
470 COMMAND mobilePhone Initialise |
|
471 COMMAND customApi Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0006-0001-Open_command04 |
|
472 COMMAND customApi SetSystemNetworkMode TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0006-0001-SetSystemNetworkMode_command05 |
|
473 OUTSTANDING |
|
474 COMMAND customApi GetCurrentSystemNetworkModes |
|
475 OUTSTANDING |
|
476 COMMAND customApi UtilityModeCheck TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0006-0001-UtilityModeCheck_command07 |
|
477 COMMAND mobileLine Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0006-0001-Open_command08 |
|
478 COMMAND mobileCall OpenNewCall TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0006-0001-OpenNewCall_command09 |
|
479 COMMAND mobileCall GetCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0006-0001-GetCaps_command10 |
|
480 COMMAND mobileCall CheckCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0006-0001-CheckCaps_command11 |
|
481 COMMAND mobileCall Dial TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0006-0001-Dial_command12 |
|
482 ASYNC_DELAY 30000000 |
|
483 COMMAND mobileCall DialCancel TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0006-0001-DialCancel_command13 |
|
484 COMMAND mobileCall GetCallDuration TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0006-0001-GetCallDuration_command14 |
|
485 COMMAND mobileCall HangUp TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0006-0001-HangUp_command15 |
|
486 OUTSTANDING |
|
487 COMMAND mobileCall Close TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0006-0001-Close_command16 |
|
488 COMMAND mobileLine Close |
|
489 COMMAND customApi Close |
|
490 COMMAND mobilePhone Close |
|
491 COMMAND telServer Close |
|
492 END_TEST_BLOCK |
|
493 END_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0006 |
|
494 |
|
495 |
|
496 |
|
497 |
|
498 START_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0007 |
|
499 |
|
500 //!@SYMTestCaseID TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0007 |
|
501 //!@SYMAPI |
|
502 //! RLine::Open(RPhone{ref};const TDesC{ref}); |
|
503 //! RLine::OpenNewCall(RLine{ref};TDes{ref}); |
|
504 //! RCall::GetCaps(TCaps{ref}); |
|
505 //! RCall::Dial(TRequestStatus{ref};const TTelNumberC{ref}); |
|
506 //! TCallInfo::HangUp(TRequestStatus{ref}); |
|
507 //! RCall::Close( ) |
|
508 //! RLine::Close( ) |
|
509 //!@SYMAuthor JPacho |
|
510 //!@SYMCreationDate 19/5/2008 |
|
511 //!@SYMTestCaseDesc Dial a call and hang it up with sim in WCDMA mode |
|
512 //!@SYMTestActions |
|
513 //! 1. Open telephony server |
|
514 //! 2. Open mobile phone (RTelServer=telServer; Phone=0) |
|
515 //! 3. Initialise mobile phone |
|
516 //! 4. Initialize custom API (RMobilePhone=mobilePhone) |
|
517 //! 5. Change mode to WCDMA (ChangeMode = WCDMA) |
|
518 //! 6. Get the current mode |
|
519 //! 7. Check the mode is WCDMA (CheckMode = WCDMA) |
|
520 //! 8. Open line (Line = Voice1;RMobilePhone=mobilePhone) |
|
521 //! 9. Open new call (RMobileLine=mobileLine;Call = 1) |
|
522 //! 10. Get VoiceCall capabilities for the call (Call = 1) |
|
523 //! 11.Check VoiceCall capabilities (Capabilities = VoiceCall) |
|
524 //! 12.Dial (Call = 1;PhoneNumber = {PHONENUMBERS, PhoneNumber1};CallTimeout = 10) |
|
525 //! 13.Cancel dial if timeout is reached (Call = 1) |
|
526 //! 14.Get call duration (Call = 1) |
|
527 //! 15.Hang up (Call = 1) |
|
528 //! 16.Close call (Call = 1) |
|
529 //! 17.Close line |
|
530 //! 18.Close custom API |
|
531 //! 19.Close mobile phone |
|
532 //! 20.Close telephomy server |
|
533 //!@SYMTestStatus Implemented |
|
534 //!@SYMTestPriority High |
|
535 //!@SYMTestExpectedResults |
|
536 //! Function does not leave nor panic. Call is dialed, wait for the other party to answer then hang up |
|
537 //!@SYMTestType CIT |
|
538 |
|
539 START_TEST_BLOCK 600 t_etelmm \telephony\etelmm\telephony-etelmm-voicecall-validation-outgoingcall.ini |
|
540 CREATE_OBJECT RTelServer telServer |
|
541 CREATE_OBJECT RMobilePhone mobilePhone |
|
542 CREATE_OBJECT RMobileLine mobileLine |
|
543 CREATE_OBJECT RMobileCall mobileCall |
|
544 CREATE_OBJECT RMmCustomAPI customApi |
|
545 COMMAND telServer Connect |
|
546 COMMAND mobilePhone Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0007-0001-Open_command02 |
|
547 COMMAND mobilePhone Initialise |
|
548 COMMAND customApi Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0007-0001-Open_command04 |
|
549 COMMAND customApi SetSystemNetworkMode TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0007-0001-SetSystemNetworkMode_command05 |
|
550 OUTSTANDING |
|
551 COMMAND customApi GetCurrentSystemNetworkModes |
|
552 OUTSTANDING |
|
553 COMMAND customApi UtilityModeCheck TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0007-0001-UtilityModeCheck_command07 |
|
554 COMMAND mobileLine Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0007-0001-Open_command08 |
|
555 COMMAND mobileCall OpenNewCall TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0007-0001-OpenNewCall_command09 |
|
556 COMMAND mobileCall GetCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0007-0001-GetCaps_command10 |
|
557 COMMAND mobileCall CheckCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0007-0001-CheckCaps_command11 |
|
558 COMMAND mobileCall Dial TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0007-0001-Dial_command12 |
|
559 ASYNC_DELAY 30000000 |
|
560 COMMAND mobileCall DialCancel TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0007-0001-DialCancel_command13 |
|
561 COMMAND mobileCall GetCallDuration TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0007-0001-GetCallDuration_command14 |
|
562 COMMAND mobileCall HangUp TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0007-0001-HangUp_command15 |
|
563 OUTSTANDING |
|
564 COMMAND mobileCall Close TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0007-0001-Close_command16 |
|
565 COMMAND mobileLine Close |
|
566 COMMAND customApi Close |
|
567 COMMAND mobilePhone Close |
|
568 COMMAND telServer Close |
|
569 END_TEST_BLOCK |
|
570 END_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0007 |
|
571 |
|
572 |
|
573 |
|
574 |
|
575 START_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0008 |
|
576 |
|
577 //!@SYMTestCaseID TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0008 |
|
578 //!@SYMAPI |
|
579 //! RLine::Open(RPhone{ref};const TDesC{ref}); |
|
580 //! RLine::OpenNewCall(RLine{ref};TDes{ref}); |
|
581 //! RCall::GetCaps(TCaps{ref}); |
|
582 //! RCall::Dial(TRequestStatus{ref};const TTelNumberC{ref}); |
|
583 //! TCallInfo::HangUp(TRequestStatus{ref}); |
|
584 //! RCall::Close( ) |
|
585 //! RLine::Close( ) |
|
586 //!@SYMAuthor JPacho |
|
587 //!@SYMCreationDate 19/5/2008 |
|
588 //!@SYMTestCaseDesc Dial a call and hang it up with sim in WCDMA mode |
|
589 //!@SYMTestActions |
|
590 //! 1. Open telephony server |
|
591 //! 2. Open mobile phone (RTelServer=telServer; Phone=0) |
|
592 //! 3. Initialise mobile phone |
|
593 //! 4. Initialize custom API (RMobilePhone=mobilePhone) |
|
594 //! 5. Change mode to WCDMA (ChangeMode = WCDMA) |
|
595 //! 6. Get the current mode |
|
596 //! 7. Check the mode is WCDMA (CheckMode = WCDMA) |
|
597 //! 8. Open line (Line = Voice1;RMobilePhone=mobilePhone) |
|
598 //! 9. Open new call (RMobileLine=mobileLine;Call = 1) |
|
599 //! 10. Get VoiceCall capabilities for the call (Call = 1) |
|
600 //! 11.Check VoiceCall capabilities (Capabilities = VoiceCall) |
|
601 //! 12.Dial (Call = 1;PhoneNumber = {PHONENUMBERS, PhoneNumber1};CallTimeout = 10) |
|
602 //! 13.Cancel dial if timeout is reached (Call = 1) |
|
603 //! 14.Get call duration (Call = 1) |
|
604 //! 15.Hang up (Call = 1) |
|
605 //! 16.Close call (Call = 1) |
|
606 //! 17.Close line |
|
607 //! 18.Close custom API |
|
608 //! 19.Close mobile phone |
|
609 //! 20.Close telephomy server |
|
610 //!@SYMTestStatus Implemented |
|
611 //!@SYMTestPriority High |
|
612 //!@SYMTestExpectedResults |
|
613 //! Function does not leave nor panic. Call is dialed, wait for the other party to answer then hang up |
|
614 //!@SYMTestType CIT |
|
615 |
|
616 START_TEST_BLOCK 600 t_etelmm \telephony\etelmm\telephony-etelmm-voicecall-validation-outgoingcall.ini |
|
617 CREATE_OBJECT RTelServer telServer |
|
618 CREATE_OBJECT RMobilePhone mobilePhone |
|
619 CREATE_OBJECT RMobileLine mobileLine |
|
620 CREATE_OBJECT RMobileCall mobileCall |
|
621 CREATE_OBJECT RMmCustomAPI customApi |
|
622 COMMAND telServer Connect |
|
623 COMMAND mobilePhone Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0008-0001-Open_command02 |
|
624 COMMAND mobilePhone Initialise |
|
625 COMMAND customApi Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0008-0001-Open_command04 |
|
626 COMMAND customApi SetSystemNetworkMode TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0008-0001-SetSystemNetworkMode_command05 |
|
627 OUTSTANDING |
|
628 COMMAND customApi GetCurrentSystemNetworkModes |
|
629 OUTSTANDING |
|
630 COMMAND customApi UtilityModeCheck TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0008-0001-UtilityModeCheck_command07 |
|
631 COMMAND mobileLine Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0008-0001-Open_command08 |
|
632 COMMAND mobileCall OpenNewCall TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0008-0001-OpenNewCall_command09 |
|
633 COMMAND mobileCall GetCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0008-0001-GetCaps_command10 |
|
634 COMMAND mobileCall CheckCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0008-0001-CheckCaps_command11 |
|
635 COMMAND mobileCall Dial TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0008-0001-Dial_command12 |
|
636 ASYNC_DELAY 30000000 |
|
637 COMMAND mobileCall DialCancel TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0008-0001-DialCancel_command13 |
|
638 COMMAND mobileCall GetCallDuration TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0008-0001-GetCallDuration_command14 |
|
639 COMMAND mobileCall HangUp TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0008-0001-HangUp_command15 |
|
640 OUTSTANDING |
|
641 COMMAND mobileCall Close TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0008-0001-Close_command16 |
|
642 COMMAND mobileLine Close |
|
643 COMMAND customApi Close |
|
644 COMMAND mobilePhone Close |
|
645 COMMAND telServer Close |
|
646 END_TEST_BLOCK |
|
647 END_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0008 |
|
648 |
|
649 |
|
650 |
|
651 |
|
652 START_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0009 |
|
653 |
|
654 //!@SYMTestCaseID TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0009 |
|
655 //!@SYMAPI |
|
656 //! RLine::Open(RPhone{ref};const TDesC{ref}); |
|
657 //! RLine::OpenNewCall(RLine{ref};TDes{ref}); |
|
658 //! RCall::GetCaps(TCaps{ref}); |
|
659 //! RCall::Dial(TRequestStatus{ref};const TTelNumberC{ref}); |
|
660 //! TCallInfo::HangUp(TRequestStatus{ref}); |
|
661 //! RCall::Close( ) |
|
662 //! RLine::Close( ) |
|
663 //!@SYMAuthor JPacho |
|
664 //!@SYMCreationDate 19/5/2008 |
|
665 //!@SYMTestCaseDesc Dial a call to a busy phone number |
|
666 //!@SYMTestActions |
|
667 //! 1. Open telephony server |
|
668 //! 2. Open mobile phone (RTelServer=telServer; Phone=0) |
|
669 //! 3. Initialise mobile phone |
|
670 //! 4. Initialize custom API (RMobilePhone=mobilePhone) |
|
671 //! 5. Open line (RMobilePhone=mobilePhone;Line = Voice1) |
|
672 //! 6. Open new call (RMobileLine=mobileLine;Call = 1) |
|
673 //! 7. Get VoiceCall capabilities for the call (Call = 1) |
|
674 //! 8. Check VoiceCall capabilities (Capabilities = VoiceCall) |
|
675 //! 9. Dial (Call = 1;PhoneNumber = {PHONENUMBERS, OwnNumber};CallTimeout = 10) |
|
676 //! 10. Get call duration (Call = 1) |
|
677 //! 11. Hang up (Call = 1) |
|
678 //! 12.Close call (Call = 1) |
|
679 //! 13.Close line |
|
680 //! 14.Close custom API |
|
681 //! 15.Close mobile phone |
|
682 //! 16.Close telephony server |
|
683 //!@SYMTestStatus Implemented |
|
684 //!@SYMTestPriority High |
|
685 //!@SYMTestExpectedResults |
|
686 //! Function does not leave nor panic. Call to a always busy number will return async error -2004. |
|
687 //!@SYMTestType CIT |
|
688 |
|
689 START_TEST_BLOCK 600 t_etelmm \telephony\etelmm\telephony-etelmm-voicecall-validation-outgoingcall.ini |
|
690 CREATE_OBJECT RTelServer telServer |
|
691 CREATE_OBJECT RMobilePhone mobilePhone |
|
692 CREATE_OBJECT RMobileLine mobileLine |
|
693 CREATE_OBJECT RMobileCall mobileCall |
|
694 CREATE_OBJECT RMmCustomAPI customApi |
|
695 COMMAND telServer Connect |
|
696 COMMAND mobilePhone Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0009-0001-Open_command02 |
|
697 COMMAND mobilePhone Initialise |
|
698 COMMAND customApi Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0009-0001-Open_command04 |
|
699 COMMAND mobileLine Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0009-0001-Open_command05 |
|
700 COMMAND mobileCall OpenNewCall TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0009-0001-OpenNewCall_command06 |
|
701 COMMAND mobileCall GetCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0009-0001-GetCaps_command07 |
|
702 COMMAND mobileCall CheckCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0009-0001-CheckCaps_command08 |
|
703 COMMAND !AsyncError=-2004 mobileCall Dial TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0009-0001-Dial_command09 |
|
704 OUTSTANDING |
|
705 COMMAND mobileCall GetCallDuration TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0009-0001-GetCallDuration_command10 |
|
706 COMMAND mobileCall HangUp TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0009-0001-HangUp_command11 |
|
707 OUTSTANDING |
|
708 COMMAND mobileCall Close TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0009-0001-Close_command12 |
|
709 COMMAND mobileLine Close |
|
710 COMMAND customApi Close |
|
711 COMMAND mobilePhone Close |
|
712 COMMAND telServer Close |
|
713 END_TEST_BLOCK |
|
714 END_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0009 |
|
715 |
|
716 |
|
717 |
|
718 |
|
719 START_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0010 |
|
720 |
|
721 //!@SYMTestCaseID TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0010 |
|
722 //!@SYMAPI |
|
723 //! RLine::Open(RPhone{ref};const TDesC{ref}; |
|
724 //! RLine::OpenNewCall(RLine{ref};TDes{ref}); |
|
725 //! RCall::GetCaps(TCaps{ref}); |
|
726 //! RCall::Dial(TRequestStatus{ref};const TTelNumberC{ref}); |
|
727 //! RCall::Hold (TRequestStatus{ref}); |
|
728 //! TCallInfo::HangUp(TRequestStatus{ref}); |
|
729 //! RCall::Close( ) |
|
730 //! RLine::Close( ) |
|
731 //!@SYMAuthor JPacho |
|
732 //!@SYMCreationDate 19/5/2008 |
|
733 //!@SYMTestCaseDesc Dial a call and hold it |
|
734 //!@SYMTestActions |
|
735 //! 1. Open telephony server |
|
736 //! 2. Open mobile phone (RTelServer=telServer; Phone=0) |
|
737 //! 3. Initialise mobile phone |
|
738 //! 4. Initialize custom API (RMobilePhone=mobilePhone) |
|
739 //! 5. Open line (RMobilePhone=mobilePhone;Line = Voice1) |
|
740 //! 6. Open new call (RMobileLine=mobileLine;Call = 1) |
|
741 //! 7. Get VoiceCall capabilities for the call (Call = 1) |
|
742 //! 8. Check VoiceCall capabilities (Capabilities = VoiceCall) |
|
743 //! 9. Dial (Call = 1;PhoneNumber = {PHONENUMBERS, PhoneNumber1};CallTimeout = 10) |
|
744 //! 10. Get Hold capabilities for the call (Call = 1) |
|
745 //! 11. Check Hold capabilities (Capabilities = Hold) |
|
746 //! 12. Hold the call (Call = 1) |
|
747 //! 13.Get call duration (Call = 1) |
|
748 //! 14.Hang up (Call = 1) |
|
749 //! 15.Close call (Call = 1) |
|
750 //! 16.Close line |
|
751 //! 17.Close custom API |
|
752 //! 18.Close mobile phone |
|
753 //! 19.Close telephony server |
|
754 //!@SYMTestStatus Implemented |
|
755 //!@SYMTestPriority High |
|
756 //!@SYMTestExpectedResults |
|
757 //! Function does not leave nor panic. Call is dailed then hold. |
|
758 //!@SYMTestType CIT |
|
759 |
|
760 START_TEST_BLOCK 600 t_etelmm \telephony\etelmm\telephony-etelmm-voicecall-validation-outgoingcall.ini |
|
761 CREATE_OBJECT RTelServer telServer |
|
762 CREATE_OBJECT RMobilePhone mobilePhone |
|
763 CREATE_OBJECT RMobileLine mobileLine |
|
764 CREATE_OBJECT RMobileCall mobileCall |
|
765 CREATE_OBJECT RMmCustomAPI customApi |
|
766 COMMAND telServer Connect |
|
767 COMMAND mobilePhone Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0010-0001-Open_command02 |
|
768 COMMAND mobilePhone Initialise |
|
769 COMMAND customApi Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0010-0001-Open_command04 |
|
770 COMMAND mobileLine Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0010-0001-Open_command05 |
|
771 COMMAND mobileCall OpenNewCall TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0010-0001-OpenNewCall_command06 |
|
772 COMMAND mobileCall GetCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0010-0001-GetCaps_command07 |
|
773 COMMAND mobileCall CheckCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0010-0001-CheckCaps_command08 |
|
774 COMMAND mobileCall Dial TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0010-0001-Dial_command09 |
|
775 ASYNC_DELAY 30000000 |
|
776 COMMAND mobileCall GetCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0010-0001-GetCaps_command10 |
|
777 COMMAND mobileCall CheckCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0010-0001-CheckCaps_command11 |
|
778 COMMAND mobileCall Hold TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0010-0001-Hold_command12 |
|
779 OUTSTANDING |
|
780 DELAY 5000000 |
|
781 COMMAND mobileCall GetCallDuration TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0010-0001-GetCallDuration_command13 |
|
782 COMMAND mobileCall HangUp TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0010-0001-HangUp_command14 |
|
783 OUTSTANDING |
|
784 COMMAND mobileCall Close TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0010-0001-Close_command15 |
|
785 COMMAND mobileLine Close |
|
786 COMMAND customApi Close |
|
787 COMMAND mobilePhone Close |
|
788 COMMAND telServer Close |
|
789 END_TEST_BLOCK |
|
790 END_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0010 |
|
791 |
|
792 |
|
793 |
|
794 |
|
795 START_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0011 |
|
796 |
|
797 //!@SYMTestCaseID TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0011 |
|
798 //!@SYMAPI |
|
799 //! RLine::Open(RPhone{ref};const TDesC{ref}); |
|
800 //! RLine::OpenNewCall(RLine{ref};TDes{ref}); |
|
801 //! RCall::GetCaps(TCaps{ref}); |
|
802 //! RCall::Dial(TRequestStatus{ref};const TTelNumberC{ref}); |
|
803 //! RCall::Hold (TRequestStatus{ref}); |
|
804 //! RCall::Resume (TRequestStatus{ref}); |
|
805 //! TCallInfo::HangUp(TRequestStatus{ref}); |
|
806 //! RCall::Close( ) |
|
807 //! RLine::Close( ) |
|
808 //!@SYMAuthor JPacho |
|
809 //!@SYMCreationDate 19/5/2008 |
|
810 //!@SYMTestCaseDesc Dial a call and resume it after hold |
|
811 //!@SYMTestActions |
|
812 //! 1. Open telephony server |
|
813 //! 2. Open mobile phone (RTelServer=telServer; Phone=0) |
|
814 //! 3. Initialise mobile phone |
|
815 //! 4. Initialize custom API (RMobilePhone=mobilePhone) |
|
816 //! 5. Open line (RMobilePhone=mobilePhone;Line = Voice1) |
|
817 //! 6. Open new call (RMobileLine=mobileLine;Call = 1) |
|
818 //! 7. Get VoiceCall capabilities for the call (Call = 1) |
|
819 //! 8. Check VoiceCall capabilities (Capabilities = VoiceCall) |
|
820 //! 9. Dial (Call = 1;PhoneNumber = {PHONENUMBERS, PhoneNumber1};CallTimeout = 10) |
|
821 //! 10. Get Hold capabilities for the call (Call = 1) |
|
822 //! 11. Check Hold capabilities (Capabilities = Hold) |
|
823 //! 12. Hold the call (Call = 1) |
|
824 //! 13.Get Resume capabilities for the call (Call = 1) |
|
825 //! 14.Check Resume capabilities (Capabilities = Resume) |
|
826 //! 15.Resume the call (Call = 1) |
|
827 //! 16.Get call duration (Call = 1) |
|
828 //! 17.Hang up (Call = 1) |
|
829 //! 18.Close call (Call = 1) |
|
830 //! 19.Close line |
|
831 //! 20.Close custom API |
|
832 //! 21.Close mobile phone |
|
833 //! 22.Close telephony server |
|
834 //!@SYMTestStatus Implemented |
|
835 //!@SYMTestPriority High |
|
836 //!@SYMTestExpectedResults |
|
837 //! Function does not leave nor panic. Call is dailed then hold it and finally resumed. |
|
838 //!@SYMTestType CIT |
|
839 |
|
840 START_TEST_BLOCK 600 t_etelmm \telephony\etelmm\telephony-etelmm-voicecall-validation-outgoingcall.ini |
|
841 CREATE_OBJECT RTelServer telServer |
|
842 CREATE_OBJECT RMobilePhone mobilePhone |
|
843 CREATE_OBJECT RMobileLine mobileLine |
|
844 CREATE_OBJECT RMobileCall mobileCall |
|
845 CREATE_OBJECT RMmCustomAPI customApi |
|
846 COMMAND telServer Connect |
|
847 COMMAND mobilePhone Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0011-0001-Open_command02 |
|
848 COMMAND mobilePhone Initialise |
|
849 COMMAND customApi Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0011-0001-Open_command04 |
|
850 COMMAND mobileLine Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0011-0001-Open_command05 |
|
851 COMMAND mobileCall OpenNewCall TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0011-0001-OpenNewCall_command06 |
|
852 COMMAND mobileCall GetCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0011-0001-GetCaps_command07 |
|
853 COMMAND mobileCall CheckCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0011-0001-CheckCaps_command08 |
|
854 COMMAND mobileCall Dial TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0011-0001-Dial_command09 |
|
855 ASYNC_DELAY 30000000 |
|
856 COMMAND mobileCall GetCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0011-0001-GetCaps_command10 |
|
857 COMMAND mobileCall CheckCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0011-0001-CheckCaps_command11 |
|
858 COMMAND mobileCall Hold TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0011-0001-Hold_command12 |
|
859 OUTSTANDING |
|
860 DELAY 5000000 |
|
861 COMMAND mobileCall GetCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0011-0001-GetCaps_command13 |
|
862 COMMAND mobileCall CheckCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0011-0001-CheckCaps_command14 |
|
863 COMMAND mobileCall Resume TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0011-0001-Resume_command15 |
|
864 OUTSTANDING |
|
865 DELAY 5000000 |
|
866 COMMAND mobileCall GetCallDuration TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0011-0001-GetCallDuration_command16 |
|
867 COMMAND mobileCall HangUp TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0011-0001-HangUp_command17 |
|
868 OUTSTANDING |
|
869 COMMAND mobileCall Close TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0011-0001-Close_command18 |
|
870 COMMAND mobileLine Close |
|
871 COMMAND customApi Close |
|
872 COMMAND mobilePhone Close |
|
873 COMMAND telServer Close |
|
874 END_TEST_BLOCK |
|
875 END_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0011 |
|
876 |
|
877 |
|
878 |
|
879 |
|
880 START_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0012 |
|
881 |
|
882 //!@SYMTestCaseID TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0012 |
|
883 //!@SYMAPI |
|
884 //! RLine::Open(RPhone{ref},const TDesC{ref}); |
|
885 //! RLine::OpenNewCall(RLine{ref},TDes{ref}); |
|
886 //! RCall::GetCaps(TCaps{ref}); |
|
887 //! RCall::Dial(TRequestStatus{ref},const TTelNumberC{ref}); |
|
888 //! TCallInfo::HangUp(TRequestStatus{ref}); |
|
889 //! RCall::Close( ) |
|
890 //! RLine::Close( ) |
|
891 //!@SYMAuthor JPacho |
|
892 //!@SYMCreationDate 19/5/2008 |
|
893 //!@SYMTestCaseDesc Dial a call in GSM mode |
|
894 //!@SYMTestActions |
|
895 //! 1. Open telephony server |
|
896 //! 2. Open mobile phone (RTelServer=telServer; Phone=0) |
|
897 //! 3. Initialise mobile phone |
|
898 //! 4. Initialize custom API (RMobilePhone=mobilePhone) |
|
899 //! 5. Change mode to GSM (ChangeMode = GSM) |
|
900 //! 6. Get the current mode |
|
901 //! 7. Check the mode is GSM (CheckMode = GSM) |
|
902 //! 8. Open line (Line = Voice1;RMobilePhone=mobilePhone) |
|
903 //! 9. Open new call (RMobileLine=mobileLine;Call = 1) |
|
904 //! 10. Get VoiceCall capabilities for the call (Call = 1) |
|
905 //! 11. Check VoiceCall capabilities (Capabilities = VoiceCall) |
|
906 //! 12.Dial (Call = 1;PhoneNumber = {PHONENUMBERS, PhoneNumber1};CallTimeout = 10) |
|
907 //! 13.Get call duration (Call = 1) |
|
908 //! 14.Hang up (Call = 1) |
|
909 //! 15.Close call (Call = 1) |
|
910 //! 16.Close line |
|
911 //! 17.Close custom API |
|
912 //! 18.Close mobile phone |
|
913 //! 19.Close telephomy server |
|
914 //!@SYMTestStatus Implemented |
|
915 //!@SYMTestPriority High |
|
916 //!@SYMTestExpectedResults |
|
917 //! Function does not leave nor panic. A simple GSM mode call is dialed |
|
918 //!@SYMTestType CIT |
|
919 |
|
920 START_TEST_BLOCK 600 t_etelmm \telephony\etelmm\telephony-etelmm-voicecall-validation-outgoingcall.ini |
|
921 CREATE_OBJECT RTelServer telServer |
|
922 CREATE_OBJECT RMobilePhone mobilePhone |
|
923 CREATE_OBJECT RMobileLine mobileLine |
|
924 CREATE_OBJECT RMobileCall mobileCall |
|
925 CREATE_OBJECT RMmCustomAPI customApi |
|
926 COMMAND telServer Connect |
|
927 COMMAND mobilePhone Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0012-0001-Open_command02 |
|
928 COMMAND mobilePhone Initialise |
|
929 COMMAND customApi Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0012-0001-Open_command04 |
|
930 COMMAND customApi SetSystemNetworkMode TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0012-0001-SetSystemNetworkMode_command05 |
|
931 OUTSTANDING |
|
932 COMMAND customApi GetCurrentSystemNetworkModes |
|
933 OUTSTANDING |
|
934 COMMAND customApi UtilityModeCheck TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0012-0001-UtilityModeCheck_command07 |
|
935 COMMAND mobileLine Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0012-0001-Open_command08 |
|
936 COMMAND mobileCall OpenNewCall TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0012-0001-OpenNewCall_command09 |
|
937 COMMAND mobileCall GetCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0012-0001-GetCaps_command10 |
|
938 COMMAND mobileCall CheckCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0012-0001-CheckCaps_command11 |
|
939 COMMAND mobileCall Dial TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0012-0001-Dial_command12 |
|
940 ASYNC_DELAY 30000000 |
|
941 COMMAND mobileCall GetCallDuration TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0012-0001-GetCallDuration_command13 |
|
942 COMMAND mobileCall HangUp TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0012-0001-HangUp_command14 |
|
943 OUTSTANDING |
|
944 COMMAND mobileCall Close TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0012-0001-Close_command15 |
|
945 COMMAND mobileLine Close |
|
946 COMMAND customApi Close |
|
947 COMMAND mobilePhone Close |
|
948 COMMAND telServer Close |
|
949 END_TEST_BLOCK |
|
950 END_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0012 |
|
951 |
|
952 |
|
953 |
|
954 |
|
955 START_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0013 |
|
956 |
|
957 //!@SYMTestCaseID TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0013 |
|
958 //!@SYMAPI |
|
959 //! RLine::Open(RPhone{ref},const TDesC{ref}); |
|
960 //! RLine::OpenNewCall(RLine{ref},TDes{ref}); |
|
961 //! RCall::GetCaps(TCaps{ref}); |
|
962 //! RCall::Dial(TRequestStatus{ref},const TTelNumberC{ref}); |
|
963 //! TCallInfo::HangUp(TRequestStatus{ref}); |
|
964 //! RCall::Close( ) |
|
965 //! RLine::Close( ) |
|
966 //!@SYMAuthor JPacho |
|
967 //!@SYMCreationDate 19/5/2008 |
|
968 //!@SYMTestCaseDesc Dial a call in Dual mode |
|
969 //!@SYMTestActions |
|
970 //! 1. Open telephony server |
|
971 //! 2. Open mobile phone (RTelServer=telServer; Phone=0) |
|
972 //! 3. Initialise mobile phone |
|
973 //! 4. Initialize custom API (RMobilePhone=mobilePhone) |
|
974 //! 5. Change mode to Dual (ChangeMode = Dual) |
|
975 //! 6. Get the current mode |
|
976 //! 7. Check the mode is Dual (CheckMode = Dual) |
|
977 //! 8. Open line (Line = Voice1;RMobilePhone=mobilePhone) |
|
978 //! 9. Open new call (RMobileLine=mobileLine;Call = 1) |
|
979 //! 10. Get VoiceCall capabilities for the call (Call = 1) |
|
980 //! 11. Check VoiceCall capabilities (Capabilities = VoiceCall) |
|
981 //! 12.Dial (Call = 1;PhoneNumber = {PHONENUMBERS, PhoneNumber1};CallTimeout = 10) |
|
982 //! 13.Get call duration (Call = 1) |
|
983 //! 14.Hang up (Call = 1) |
|
984 //! 15.Close call (Call = 1) |
|
985 //! 16.Close line |
|
986 //! 17.Close custom API |
|
987 //! 18.Close mobile phone |
|
988 //! 19.Close telephomy server |
|
989 //!@SYMTestStatus Implemented |
|
990 //!@SYMTestPriority High |
|
991 //!@SYMTestExpectedResults |
|
992 //! Function does not leave nor panic. A simple Dual mode call is dialed |
|
993 //!@SYMTestType CIT |
|
994 |
|
995 START_TEST_BLOCK 600 t_etelmm \telephony\etelmm\telephony-etelmm-voicecall-validation-outgoingcall.ini |
|
996 CREATE_OBJECT RTelServer telServer |
|
997 CREATE_OBJECT RMobilePhone mobilePhone |
|
998 CREATE_OBJECT RMobileLine mobileLine |
|
999 CREATE_OBJECT RMobileCall mobileCall |
|
1000 CREATE_OBJECT RMmCustomAPI customApi |
|
1001 COMMAND telServer Connect |
|
1002 COMMAND mobilePhone Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0013-0001-Open_command02 |
|
1003 COMMAND mobilePhone Initialise |
|
1004 COMMAND customApi Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0013-0001-Open_command04 |
|
1005 COMMAND customApi SetSystemNetworkMode TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0013-0001-SetSystemNetworkMode_command05 |
|
1006 OUTSTANDING |
|
1007 COMMAND customApi GetCurrentSystemNetworkModes |
|
1008 OUTSTANDING |
|
1009 COMMAND customApi UtilityModeCheck TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0013-0001-UtilityModeCheck_command07 |
|
1010 COMMAND mobileLine Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0013-0001-Open_command08 |
|
1011 COMMAND mobileCall OpenNewCall TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0013-0001-OpenNewCall_command09 |
|
1012 COMMAND mobileCall GetCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0013-0001-GetCaps_command10 |
|
1013 COMMAND mobileCall CheckCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0013-0001-CheckCaps_command11 |
|
1014 COMMAND mobileCall Dial TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0013-0001-Dial_command12 |
|
1015 ASYNC_DELAY 30000000 |
|
1016 COMMAND mobileCall GetCallDuration TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0013-0001-GetCallDuration_command13 |
|
1017 COMMAND mobileCall HangUp TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0013-0001-HangUp_command14 |
|
1018 OUTSTANDING |
|
1019 COMMAND mobileCall Close TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0013-0001-Close_command15 |
|
1020 COMMAND mobileLine Close |
|
1021 COMMAND customApi Close |
|
1022 COMMAND mobilePhone Close |
|
1023 COMMAND telServer Close |
|
1024 END_TEST_BLOCK |
|
1025 END_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0013 |
|
1026 |
|
1027 |
|
1028 |
|
1029 |
|
1030 START_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0014 |
|
1031 |
|
1032 //!@SYMTestCaseID TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0014 |
|
1033 //!@SYMAPI |
|
1034 //! RLine::Open(RPhone{ref},const TDesC{ref}); |
|
1035 //! RLine::OpenNewCall(RLine{ref},TDes{ref}); |
|
1036 //! RCall::GetCaps(TCaps{ref}); |
|
1037 //! RCall::Dial(TRequestStatus{ref},const TTelNumberC{ref}); |
|
1038 //! TCallInfo::HangUp(TRequestStatus{ref}); |
|
1039 //! RCall::Close( ) |
|
1040 //! RLine::Close( ) |
|
1041 //!@SYMAuthor JPacho |
|
1042 //!@SYMCreationDate 19/5/2008 |
|
1043 //!@SYMTestCaseDesc Dial a call in WCDMA mode |
|
1044 //!@SYMTestActions |
|
1045 //! 1. Open telephony server |
|
1046 //! 2. Open mobile phone (RTelServer=telServer; Phone=0) |
|
1047 //! 3. Initialise mobile phone |
|
1048 //! 4. Initialize custom API (RMobilePhone=mobilePhone) |
|
1049 //! 5. Change mode to WCDMA (ChangeMode = WCDMA) |
|
1050 //! 6. Get the current mode |
|
1051 //! 7. Check the mode is WCDMA (CheckMode = WCDMA) |
|
1052 //! 8. Open line (Line = Voice1;RMobilePhone=mobilePhone) |
|
1053 //! 9. Open new call (RMobileLine=mobileLine;Call = 1) |
|
1054 //! 10. Get VoiceCall capabilities for the call (Call = 1) |
|
1055 //! 11. Check VoiceCall capabilities (Capabilities = VoiceCall) |
|
1056 //! 12.Dial (Call = 1;PhoneNumber = {PHONENUMBERS, PhoneNumber1};CallTimeout = 10) |
|
1057 //! 13.Get call duration (Call = 1) |
|
1058 //! 14.Hang up (Call = 1) |
|
1059 //! 15.Close call (Call = 1) |
|
1060 //! 16.Close line |
|
1061 //! 17.Close custom API |
|
1062 //! 18.Close mobile phone |
|
1063 //! 19.Close telephomy server |
|
1064 //!@SYMTestStatus Implemented |
|
1065 //!@SYMTestPriority High |
|
1066 //!@SYMTestExpectedResults |
|
1067 //! Function does not leave nor panic. A simple WCDMA call is dialed |
|
1068 //!@SYMTestType CIT |
|
1069 |
|
1070 START_TEST_BLOCK 600 t_etelmm \telephony\etelmm\telephony-etelmm-voicecall-validation-outgoingcall.ini |
|
1071 CREATE_OBJECT RTelServer telServer |
|
1072 CREATE_OBJECT RMobilePhone mobilePhone |
|
1073 CREATE_OBJECT RMobileLine mobileLine |
|
1074 CREATE_OBJECT RMobileCall mobileCall |
|
1075 CREATE_OBJECT RMmCustomAPI customApi |
|
1076 COMMAND telServer Connect |
|
1077 COMMAND mobilePhone Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0014-0001-Open_command02 |
|
1078 COMMAND mobilePhone Initialise |
|
1079 COMMAND customApi Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0014-0001-Open_command04 |
|
1080 COMMAND customApi SetSystemNetworkMode TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0014-0001-SetSystemNetworkMode_command05 |
|
1081 OUTSTANDING |
|
1082 COMMAND customApi GetCurrentSystemNetworkModes |
|
1083 OUTSTANDING |
|
1084 COMMAND customApi UtilityModeCheck TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0014-0001-UtilityModeCheck_command07 |
|
1085 COMMAND mobileLine Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0014-0001-Open_command08 |
|
1086 COMMAND mobileCall OpenNewCall TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0014-0001-OpenNewCall_command09 |
|
1087 COMMAND mobileCall GetCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0014-0001-GetCaps_command10 |
|
1088 COMMAND mobileCall CheckCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0014-0001-CheckCaps_command11 |
|
1089 COMMAND mobileCall Dial TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0014-0001-Dial_command12 |
|
1090 ASYNC_DELAY 30000000 |
|
1091 COMMAND mobileCall GetCallDuration TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0014-0001-GetCallDuration_command13 |
|
1092 COMMAND mobileCall HangUp TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0014-0001-HangUp_command14 |
|
1093 OUTSTANDING |
|
1094 COMMAND mobileCall Close TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0014-0001-Close_command15 |
|
1095 COMMAND mobileLine Close |
|
1096 COMMAND customApi Close |
|
1097 COMMAND mobilePhone Close |
|
1098 COMMAND telServer Close |
|
1099 END_TEST_BLOCK |
|
1100 END_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0014 |
|
1101 |
|
1102 |
|
1103 |
|
1104 |
|
1105 START_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0015 |
|
1106 |
|
1107 //!@SYMTestCaseID TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0015 |
|
1108 //!@SYMAPI |
|
1109 //! RLine::Open(RPhone{ref},const TDesC{ref}); |
|
1110 //! RLine::OpenNewCall(RLine{ref},TDes{ref}); |
|
1111 //! RCall::GetCaps(TCaps{ref}); |
|
1112 //! RCall::Dial(TRequestStatus{ref},const TTelNumberC{ref}); |
|
1113 //! TCallInfo::HangUp(TRequestStatus{ref}); |
|
1114 //! RCall::Close( ) |
|
1115 //! RLine::Close( ) |
|
1116 //!@SYMAuthor JPacho |
|
1117 //!@SYMCreationDate 19/5/2008 |
|
1118 //!@SYMTestCaseDesc Dial a call for ten seconds then cancel the call |
|
1119 //!@SYMTestActions |
|
1120 //! 1. Open telephony server |
|
1121 //! 2. Open mobile phone (RTelServer=telServer; Phone=0) |
|
1122 //! 3. Initialise mobile phone |
|
1123 //! 4. Initialize custom API (RMobilePhone=mobilePhone) |
|
1124 //! 5. Open line (RMobilePhone=mobilePhone;Line = Voice1) |
|
1125 //! 6. Open new call (RMobileLine=mobileLine;Call = 1) |
|
1126 //! 7. Get VoiceCall capabilities for the call (Call = 1) |
|
1127 //! 8. Check VoiceCall capabilities (Capabilities = VoiceCall) |
|
1128 //! 9. Dial (Call = 1;PhoneNumber = {PHONENUMBERS, PhoneNumber1}) |
|
1129 //! 10. Get call duration (Call = 1) |
|
1130 //! 11. Hang up (Call = 1) |
|
1131 //! 12.Close call (Call = 1) |
|
1132 //! 13.Close line |
|
1133 //! 14.Close custom API |
|
1134 //! 15.Close mobile phone |
|
1135 //! 16.Close telephony server |
|
1136 //!@SYMTestStatus Implemented |
|
1137 //!@SYMTestPriority High |
|
1138 //!@SYMTestExpectedResults |
|
1139 //! Function does not leave nor panic. Call is dialed then canceled after ten seconds |
|
1140 //!@SYMTestType CIT |
|
1141 |
|
1142 START_TEST_BLOCK 600 t_etelmm \telephony\etelmm\telephony-etelmm-voicecall-validation-outgoingcall.ini |
|
1143 CREATE_OBJECT RTelServer telServer |
|
1144 CREATE_OBJECT RMobilePhone mobilePhone |
|
1145 CREATE_OBJECT RMobileLine mobileLine |
|
1146 CREATE_OBJECT RMobileCall mobileCall |
|
1147 CREATE_OBJECT RMmCustomAPI customApi |
|
1148 COMMAND telServer Connect |
|
1149 COMMAND mobilePhone Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0015-0001-Open_command02 |
|
1150 COMMAND mobilePhone Initialise |
|
1151 COMMAND customApi Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0015-0001-Open_command04 |
|
1152 COMMAND mobileLine Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0015-0001-Open_command05 |
|
1153 COMMAND mobileCall OpenNewCall TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0015-0001-OpenNewCall_command06 |
|
1154 COMMAND mobileCall GetCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0015-0001-GetCaps_command07 |
|
1155 COMMAND mobileCall CheckCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0015-0001-CheckCaps_command08 |
|
1156 COMMAND mobileCall Dial TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0015-0001-Dial_command09 |
|
1157 ASYNC_DELAY 30000000 |
|
1158 COMMAND mobileCall GetCallDuration TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0015-0001-GetCallDuration_command10 |
|
1159 COMMAND mobileCall HangUp TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0015-0001-HangUp_command11 |
|
1160 OUTSTANDING |
|
1161 COMMAND mobileCall Close TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0015-0001-Close_command12 |
|
1162 COMMAND mobileLine Close |
|
1163 COMMAND customApi Close |
|
1164 COMMAND mobilePhone Close |
|
1165 COMMAND telServer Close |
|
1166 END_TEST_BLOCK |
|
1167 END_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0015 |
|
1168 |
|
1169 |
|
1170 |
|
1171 |
|
1172 START_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0016 |
|
1173 |
|
1174 //!@SYMTestCaseID TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0016 |
|
1175 //!@SYMAPI |
|
1176 //! RLine::Open(RPhone{ref},const TDesC{ref}); |
|
1177 //! RLine::OpenNewCall(RLine{ref},TDes{ref}); |
|
1178 //! RCall::GetCaps(TCaps{ref}); |
|
1179 //! RCall::Dial(TRequestStatus{ref},const TTelNumberC{ref}); |
|
1180 //! RCall::Close( ) |
|
1181 //! RLine::Close( ) |
|
1182 //!@SYMAuthor JPacho |
|
1183 //!@SYMCreationDate 19/5/2008 |
|
1184 //!@SYMTestCaseDesc Dial a call and don't answer it |
|
1185 //!@SYMTestActions |
|
1186 //! 1. Open telephony server |
|
1187 //! 2. Open mobile phone (RTelServer=telServer; Phone=0) |
|
1188 //! 3. Initialise mobile phone |
|
1189 //! 4. Initialize custom API (RMobilePhone=mobilePhone) |
|
1190 //! 5. Open line (RMobilePhone=mobilePhone;Line = Voice1) |
|
1191 //! 6. Open new call (RMobileLine=mobileLine;Call = 1) |
|
1192 //! 7. Get VoiceCall capabilities for the call (Call = 1) |
|
1193 //! 8. Check VoiceCall capabilities (Capabilities = VoiceCall) |
|
1194 //! 9. Dial (Call = 1;PhoneNumber = {PHONENUMBERS, NoAnswerNumber};CallTimeout = 10) |
|
1195 //! 10. Get status |
|
1196 //! 11. Dial cancel (Call = 1) |
|
1197 //! 12.Close call (Call = 1) |
|
1198 //! 13.Close line |
|
1199 //! 14.Close custom API |
|
1200 //! 15.Close mobile phone |
|
1201 //! 16.Close telephony server |
|
1202 //!@SYMTestStatus Implemented |
|
1203 //!@SYMTestPriority High |
|
1204 //!@SYMTestExpectedResults |
|
1205 //! Function does not leave nor panic. A call is dialed, the other party must not answer it and will return async error -2008. |
|
1206 //!@SYMTestType CIT |
|
1207 |
|
1208 START_TEST_BLOCK 600 t_etelmm \telephony\etelmm\telephony-etelmm-voicecall-validation-outgoingcall.ini |
|
1209 CREATE_OBJECT RTelServer telServer |
|
1210 CREATE_OBJECT RMobilePhone mobilePhone |
|
1211 CREATE_OBJECT RMobileLine mobileLine |
|
1212 CREATE_OBJECT RMobileCall mobileCall |
|
1213 CREATE_OBJECT RMmCustomAPI customApi |
|
1214 COMMAND telServer Connect |
|
1215 COMMAND mobilePhone Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0016-0001-Open_command02 |
|
1216 COMMAND mobilePhone Initialise |
|
1217 COMMAND customApi Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0016-0001-Open_command04 |
|
1218 COMMAND mobileLine Open TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0016-0001-Open_command05 |
|
1219 COMMAND mobileCall OpenNewCall TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0016-0001-OpenNewCall_command06 |
|
1220 COMMAND mobileCall GetCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0016-0001-GetCaps_command07 |
|
1221 COMMAND mobileCall CheckCaps TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0016-0001-CheckCaps_command08 |
|
1222 COMMAND !AsyncError=-2008 mobileCall Dial TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0016-0001-Dial_command09 |
|
1223 OUTSTANDING |
|
1224 COMMAND mobileCall GetStatus |
|
1225 DELAY 5000000 |
|
1226 COMMAND mobileCall DialCancel TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0016-0001-DialCancel_command11 |
|
1227 COMMAND mobileCall Close TELEPHONY-ETELMM-VoiceCall-OutgoingCall-0016-0001-Close_command12 |
|
1228 COMMAND mobileLine Close |
|
1229 COMMAND customApi Close |
|
1230 COMMAND mobilePhone Close |
|
1231 COMMAND telServer Close |
|
1232 END_TEST_BLOCK |
|
1233 END_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-OUTGOINGCALL-0016 |