24
|
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-incomingcall
|
|
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-INCOMINGCALL-0001
|
|
37 |
|
|
38 |
//!@SYMTestCaseID TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0001
|
|
39 |
//!@SYMAPI
|
|
40 |
//! RLine::Open(RPhone{ref}; const TDesC{ref});
|
|
41 |
//! RLine::NotifyMobileLineStatusChange (TRequestStatus{ref}; RMobileCall::TMobileCallStatus{ref});
|
|
42 |
//! RCall::OpenExistingCall(RLine{ref}; const TDesC{ref});
|
|
43 |
//! RCall::GetCaps(TCaps{ref});
|
|
44 |
//! TCallInfo::AnswerIncomingCall(const TDesC8{ref});
|
|
45 |
//! TCallInfo::HangUp(TRequestStatus{ref});
|
|
46 |
//! RCall::Close( )
|
|
47 |
//! RLine::Close( )
|
|
48 |
//!@SYMAuthor JPacho
|
|
49 |
//!@SYMCreationDate 19/5/2008
|
|
50 |
//!@SYMTestCaseDesc Answer an incoming call and hang it up with SIM in GSM mode
|
|
51 |
//!@SYMTestActions
|
|
52 |
//! 1. Open telephony server
|
|
53 |
//! 2. Open mobile phone (RTelServer=telServer; Phone=0)
|
|
54 |
//! 3. Initialise mobile phone
|
|
55 |
//! 4. Initizalize custom API (RMobilePhone=mobilePhone)
|
|
56 |
//! 5. Change mode to GSM (ChangeMode = GSM)
|
|
57 |
//! 6. Get the current mode
|
|
58 |
//! 7. Check the mode is GSM (CheckMode = GSM)
|
|
59 |
//! 8. Open line (Line = Voice1;RMobilePhone=mobilePhone)
|
|
60 |
//! 9. Notify incoming call (Call = 1)
|
|
61 |
//! 10. Open the existing call (RMobileLine=mobileLine;Call=1)
|
|
62 |
//! 11.Get VoiceCall capabilities for the call (Call = 1)
|
|
63 |
//! 12.Check VoiceCall capabilities (Capabilities = VoiceCall)
|
|
64 |
//! 13.Answer the incoming call (Call = 1)
|
|
65 |
//! 14.Answer the incoming call result (Call = 1)
|
|
66 |
//! 15.Get call duration (Call = 1)
|
|
67 |
//! 16.Hang up (Call = 1)
|
|
68 |
//! 17.Close call (Call = 1)
|
|
69 |
//! 18.Close line
|
|
70 |
//! 19.Close custom API
|
|
71 |
//! 20.Close mobile phone
|
|
72 |
//! 21.Close telephony server
|
|
73 |
//!@SYMTestStatus Implemented
|
|
74 |
//!@SYMTestPriority High
|
|
75 |
//!@SYMTestExpectedResults
|
|
76 |
//! Function does not leave nor panic. Call is received, answered and hanged it up
|
|
77 |
//!@SYMTestType CIT
|
|
78 |
|
|
79 |
START_TEST_BLOCK 600 t_etelmm \telephony\etelmm\telephony-etelmm-voicecall-validation-incomingcall.ini
|
|
80 |
CREATE_OBJECT RTelServer telServer
|
|
81 |
CREATE_OBJECT RMobilePhone mobilePhone
|
|
82 |
CREATE_OBJECT RMobileLine mobileLine
|
|
83 |
CREATE_OBJECT RMobileCall mobileCall
|
|
84 |
CREATE_OBJECT RMmCustomAPI customApi
|
|
85 |
COMMAND telServer Connect
|
|
86 |
COMMAND mobilePhone Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0001-0001-Open_command02
|
|
87 |
COMMAND mobilePhone Initialise
|
|
88 |
COMMAND customApi Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0001-0001-Open_command04
|
|
89 |
COMMAND customApi SetSystemNetworkMode TELEPHONY-ETELMM-VoiceCall-IncomingCall-0001-0001-SetSystemNetworkMode_command05
|
|
90 |
OUTSTANDING
|
|
91 |
COMMAND customApi GetCurrentSystemNetworkModes
|
|
92 |
OUTSTANDING
|
|
93 |
COMMAND customApi UtilityModeCheck TELEPHONY-ETELMM-VoiceCall-IncomingCall-0001-0001-UtilityModeCheck_command07
|
|
94 |
COMMAND mobileLine Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0001-0001-Open_command08
|
|
95 |
COMMAND mobileLine NotifyIncomingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0001-0001-NotifyIncomingCall_command09
|
|
96 |
OUTSTANDING
|
|
97 |
COMMAND mobileCall OpenExistingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0001-0001-OpenExistingCall_command10
|
|
98 |
COMMAND mobileCall GetCaps TELEPHONY-ETELMM-VoiceCall-IncomingCall-0001-0001-GetCaps_command11
|
|
99 |
COMMAND mobileCall CheckCaps TELEPHONY-ETELMM-VoiceCall-IncomingCall-0001-0001-CheckCaps_command12
|
|
100 |
COMMAND mobileCall AnswerIncomingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0001-0001-AnswerIncomingCall_command13
|
|
101 |
OUTSTANDING
|
|
102 |
COMMAND mobileCall AnswerIncomingCallPost TELEPHONY-ETELMM-VoiceCall-IncomingCall-0001-0001-AnswerIncomingCallPost_command14
|
|
103 |
OUTSTANDING
|
|
104 |
COMMAND mobileCall GetCallDuration TELEPHONY-ETELMM-VoiceCall-IncomingCall-0001-0001-GetCallDuration_command15
|
|
105 |
COMMAND mobileCall HangUp TELEPHONY-ETELMM-VoiceCall-IncomingCall-0001-0001-HangUp_command16
|
|
106 |
OUTSTANDING
|
|
107 |
COMMAND mobileCall Close TELEPHONY-ETELMM-VoiceCall-IncomingCall-0001-0001-Close_command17
|
|
108 |
COMMAND mobileLine Close
|
|
109 |
COMMAND customApi Close
|
|
110 |
COMMAND mobilePhone Close
|
|
111 |
COMMAND telServer Close
|
|
112 |
END_TEST_BLOCK
|
|
113 |
END_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0001
|
|
114 |
|
|
115 |
|
|
116 |
|
|
117 |
|
|
118 |
START_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0002
|
|
119 |
|
|
120 |
//!@SYMTestCaseID TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0002
|
|
121 |
//!@SYMAPI
|
|
122 |
//! RLine::Open(RPhone{ref}; const TDesC{ref});
|
|
123 |
//! RLine::NotifyMobileLineStatusChange (TRequestStatus{ref}; RMobileCall::TMobileCallStatus{ref});
|
|
124 |
//! RCall::OpenExistingCall(RLine{ref};const TDesC{ref});
|
|
125 |
//! RCall::GetCaps(TCaps{ref});
|
|
126 |
//! TCallInfo::AnswerIncomingCall(const TDesC8{ref});
|
|
127 |
//! TCallInfo::HangUp(TRequestStatus{ref});
|
|
128 |
//! RCall::Close( )
|
|
129 |
//! RLine::Close( )
|
|
130 |
//!@SYMAuthor JPacho
|
|
131 |
//!@SYMCreationDate 19/5/2008
|
|
132 |
//!@SYMTestCaseDesc Answer an incoming call and hang it up with Sim in GSM mode
|
|
133 |
//!@SYMTestActions
|
|
134 |
//! 1. Open telephony server
|
|
135 |
//! 2. Open mobile phone (RTelServer=telServer; Phone=0)
|
|
136 |
//! 3. Initialise mobile phone
|
|
137 |
//! 4. Initizalize custom API (RMobilePhone=mobilePhone)
|
|
138 |
//! 5. Change mode to GSM (ChangeMode = GSM)
|
|
139 |
//! 6. Get the current mode
|
|
140 |
//! 7. Check the mode is GSM (CheckMode = GSM)
|
|
141 |
//! 8. Open line (Line = Voice1;RMobilePhone=mobilePhone)
|
|
142 |
//! 9. Notify incoming call (Call = 1)
|
|
143 |
//! 10. Open the existing call (RMobileLine=mobileLine;Call=1)
|
|
144 |
//! 11.Get VoiceCall capabilities for the call (Call = 1)
|
|
145 |
//! 12.Check VoiceCall capabilities (Capabilities = VoiceCall)
|
|
146 |
//! 13.Answer the incoming call (Call = 1)
|
|
147 |
//! 14.Answer the incoming call result (Call = 1)
|
|
148 |
//! 15.Get call duration (Call = 1)
|
|
149 |
//! 16.Hang up (Call = 1)
|
|
150 |
//! 17.Close call (Call = 1)
|
|
151 |
//! 18.Close line
|
|
152 |
//! 19.Close custom API
|
|
153 |
//! 20.Close mobile phone
|
|
154 |
//! 21.Close telephony server
|
|
155 |
//!@SYMTestStatus Implemented
|
|
156 |
//!@SYMTestPriority High
|
|
157 |
//!@SYMTestExpectedResults
|
|
158 |
//! Function does not leave nor panic. Call is received, answered and hanged it up
|
|
159 |
//!@SYMTestType CIT
|
|
160 |
|
|
161 |
START_TEST_BLOCK 600 t_etelmm \telephony\etelmm\telephony-etelmm-voicecall-validation-incomingcall.ini
|
|
162 |
CREATE_OBJECT RTelServer telServer
|
|
163 |
CREATE_OBJECT RMobilePhone mobilePhone
|
|
164 |
CREATE_OBJECT RMobileLine mobileLine
|
|
165 |
CREATE_OBJECT RMobileCall mobileCall
|
|
166 |
CREATE_OBJECT RMmCustomAPI customApi
|
|
167 |
COMMAND telServer Connect
|
|
168 |
COMMAND mobilePhone Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0002-0001-Open_command02
|
|
169 |
COMMAND mobilePhone Initialise
|
|
170 |
COMMAND customApi Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0002-0001-Open_command04
|
|
171 |
COMMAND customApi SetSystemNetworkMode TELEPHONY-ETELMM-VoiceCall-IncomingCall-0002-0001-SetSystemNetworkMode_command05
|
|
172 |
OUTSTANDING
|
|
173 |
COMMAND customApi GetCurrentSystemNetworkModes
|
|
174 |
OUTSTANDING
|
|
175 |
COMMAND customApi UtilityModeCheck TELEPHONY-ETELMM-VoiceCall-IncomingCall-0002-0001-UtilityModeCheck_command07
|
|
176 |
COMMAND mobileLine Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0002-0001-Open_command08
|
|
177 |
COMMAND mobileLine NotifyIncomingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0002-0001-NotifyIncomingCall_command09
|
|
178 |
OUTSTANDING
|
|
179 |
COMMAND mobileCall OpenExistingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0002-0001-OpenExistingCall_command10
|
|
180 |
COMMAND mobileCall GetCaps TELEPHONY-ETELMM-VoiceCall-IncomingCall-0002-0001-GetCaps_command11
|
|
181 |
COMMAND mobileCall CheckCaps TELEPHONY-ETELMM-VoiceCall-IncomingCall-0002-0001-CheckCaps_command12
|
|
182 |
COMMAND mobileCall AnswerIncomingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0002-0001-AnswerIncomingCall_command13
|
|
183 |
OUTSTANDING
|
|
184 |
COMMAND mobileCall AnswerIncomingCallPost TELEPHONY-ETELMM-VoiceCall-IncomingCall-0002-0001-AnswerIncomingCallPost_command14
|
|
185 |
OUTSTANDING
|
|
186 |
COMMAND mobileCall GetCallDuration TELEPHONY-ETELMM-VoiceCall-IncomingCall-0002-0001-GetCallDuration_command15
|
|
187 |
COMMAND mobileCall HangUp TELEPHONY-ETELMM-VoiceCall-IncomingCall-0002-0001-HangUp_command16
|
|
188 |
OUTSTANDING
|
|
189 |
COMMAND mobileCall Close TELEPHONY-ETELMM-VoiceCall-IncomingCall-0002-0001-Close_command17
|
|
190 |
COMMAND mobileLine Close
|
|
191 |
COMMAND customApi Close
|
|
192 |
COMMAND mobilePhone Close
|
|
193 |
COMMAND telServer Close
|
|
194 |
END_TEST_BLOCK
|
|
195 |
END_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0002
|
|
196 |
|
|
197 |
|
|
198 |
|
|
199 |
|
|
200 |
START_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0003
|
|
201 |
|
|
202 |
//!@SYMTestCaseID TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0003
|
|
203 |
//!@SYMAPI
|
|
204 |
//! RLine::Open(RPhone{ref};const TDesC{ref});
|
|
205 |
//! RLine::NotifyMobileLineStatusChange (TRequestStatus{ref}; RMobileCall::TMobileCallStatus{ref});
|
|
206 |
//! RCall::OpenExistingCall(RLine{ref};const TDesC{ref});
|
|
207 |
//! RCall::GetCaps(TCaps{ref});
|
|
208 |
//! TCallInfo::AnswerIncomingCall(const TDesC8{ref});
|
|
209 |
//! TCallInfo::HangUp(TRequestStatus{ref});
|
|
210 |
//! RCall::Close( )
|
|
211 |
//! RLine::Close( )
|
|
212 |
//!@SYMAuthor JPacho
|
|
213 |
//!@SYMCreationDate 19/5/2008
|
|
214 |
//!@SYMTestCaseDesc Answer an incoming call and hang it up with Sim in GSM Mode
|
|
215 |
//!@SYMTestActions
|
|
216 |
//! 1. Open telephony server
|
|
217 |
//! 2. Open mobile phone (RTelServer=telServer; Phone=0)
|
|
218 |
//! 3. Initialise mobile phone
|
|
219 |
//! 4. Initizalize custom API (RMobilePhone=mobilePhone)
|
|
220 |
//! 5. Change mode to GSM (ChangeMode = GSM)
|
|
221 |
//! 6. Get the current mode
|
|
222 |
//! 7. Check the mode is GSM (CheckMode = GSM)
|
|
223 |
//! 8. Open line (Line = Voice1;RMobilePhone=mobilePhone)
|
|
224 |
//! 9. Notify incoming call (Call = 1)
|
|
225 |
//! 10. Open the existing call (RMobileLine=mobileLine;Call=1)
|
|
226 |
//! 11.Get VoiceCall capabilities for the call (Call = 1)
|
|
227 |
//! 12.Check VoiceCall capabilities (Capabilities = VoiceCall)
|
|
228 |
//! 13.Answer the incoming call (Call = 1)
|
|
229 |
//! 14.Answer the incoming call result (Call = 1)
|
|
230 |
//! 15.Get call duration (Call = 1)
|
|
231 |
//! 16.Hang up (Call = 1)
|
|
232 |
//! 17.Close call (Call = 1)
|
|
233 |
//! 18.Close line
|
|
234 |
//! 19.Close custom API
|
|
235 |
//! 20.Close mobile phone
|
|
236 |
//! 21.Close telephony server
|
|
237 |
//!@SYMTestStatus Implemented
|
|
238 |
//!@SYMTestPriority High
|
|
239 |
//!@SYMTestExpectedResults
|
|
240 |
//! Function does not leave nor panic. Call is received, answered and hanged it up
|
|
241 |
//!@SYMTestType CIT
|
|
242 |
|
|
243 |
START_TEST_BLOCK 600 t_etelmm \telephony\etelmm\telephony-etelmm-voicecall-validation-incomingcall.ini
|
|
244 |
CREATE_OBJECT RTelServer telServer
|
|
245 |
CREATE_OBJECT RMobilePhone mobilePhone
|
|
246 |
CREATE_OBJECT RMobileLine mobileLine
|
|
247 |
CREATE_OBJECT RMobileCall mobileCall
|
|
248 |
CREATE_OBJECT RMmCustomAPI customApi
|
|
249 |
COMMAND telServer Connect
|
|
250 |
COMMAND mobilePhone Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0003-0001-Open_command02
|
|
251 |
COMMAND mobilePhone Initialise
|
|
252 |
COMMAND customApi Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0003-0001-Open_command04
|
|
253 |
COMMAND customApi SetSystemNetworkMode TELEPHONY-ETELMM-VoiceCall-IncomingCall-0003-0001-SetSystemNetworkMode_command05
|
|
254 |
OUTSTANDING
|
|
255 |
COMMAND customApi GetCurrentSystemNetworkModes
|
|
256 |
OUTSTANDING
|
|
257 |
COMMAND customApi UtilityModeCheck TELEPHONY-ETELMM-VoiceCall-IncomingCall-0003-0001-UtilityModeCheck_command07
|
|
258 |
COMMAND mobileLine Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0003-0001-Open_command08
|
|
259 |
COMMAND mobileLine NotifyIncomingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0003-0001-NotifyIncomingCall_command09
|
|
260 |
OUTSTANDING
|
|
261 |
COMMAND mobileCall OpenExistingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0003-0001-OpenExistingCall_command10
|
|
262 |
COMMAND mobileCall GetCaps TELEPHONY-ETELMM-VoiceCall-IncomingCall-0003-0001-GetCaps_command11
|
|
263 |
COMMAND mobileCall CheckCaps TELEPHONY-ETELMM-VoiceCall-IncomingCall-0003-0001-CheckCaps_command12
|
|
264 |
COMMAND mobileCall AnswerIncomingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0003-0001-AnswerIncomingCall_command13
|
|
265 |
OUTSTANDING
|
|
266 |
COMMAND mobileCall AnswerIncomingCallPost TELEPHONY-ETELMM-VoiceCall-IncomingCall-0003-0001-AnswerIncomingCallPost_command14
|
|
267 |
OUTSTANDING
|
|
268 |
COMMAND mobileCall GetCallDuration TELEPHONY-ETELMM-VoiceCall-IncomingCall-0003-0001-GetCallDuration_command15
|
|
269 |
COMMAND mobileCall HangUp TELEPHONY-ETELMM-VoiceCall-IncomingCall-0003-0001-HangUp_command16
|
|
270 |
OUTSTANDING
|
|
271 |
COMMAND mobileCall Close TELEPHONY-ETELMM-VoiceCall-IncomingCall-0003-0001-Close_command17
|
|
272 |
COMMAND mobileLine Close
|
|
273 |
COMMAND customApi Close
|
|
274 |
COMMAND mobilePhone Close
|
|
275 |
COMMAND telServer Close
|
|
276 |
END_TEST_BLOCK
|
|
277 |
END_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0003
|
|
278 |
|
|
279 |
|
|
280 |
|
|
281 |
|
|
282 |
START_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0004
|
|
283 |
|
|
284 |
//!@SYMTestCaseID TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0004
|
|
285 |
//!@SYMAPI
|
|
286 |
//! RLine::Open(RPhone{ref};const TDesC{ref});
|
|
287 |
//! RLine::NotifyMobileLineStatusChange (TRequestStatus{ref}; RMobileCall::TMobileCallStatus{ref});
|
|
288 |
//! RCall::OpenExistingCall(RLine{ref};const TDesC{ref});
|
|
289 |
//! RCall::GetCaps(TCaps{ref});
|
|
290 |
//! TCallInfo::AnswerIncomingCall(const TDesC8{ref});
|
|
291 |
//! TCallInfo::HangUp(TRequestStatus{ref});
|
|
292 |
//! RCall::Close( )
|
|
293 |
//! RLine::Close( )
|
|
294 |
//!@SYMAuthor JPacho
|
|
295 |
//!@SYMCreationDate 19/5/2008
|
|
296 |
//!@SYMTestCaseDesc Answer an incoming call and hang it up with Sim in GSM mode
|
|
297 |
//!@SYMTestActions
|
|
298 |
//! 1. Open telephony server
|
|
299 |
//! 2. Open mobile phone (RTelServer=telServer; Phone=0)
|
|
300 |
//! 3. Initialise mobile phone
|
|
301 |
//! 4. Initizalize custom API (RMobilePhone=mobilePhone)
|
|
302 |
//! 5. Change mode to GSM (ChangeMode = GSM)
|
|
303 |
//! 6. Get the current mode
|
|
304 |
//! 7. Check the mode is GSM (CheckMode = GSM)
|
|
305 |
//! 8. Open line (Line = Voice1;RMobilePhone=mobilePhone)
|
|
306 |
//! 9. Notify incoming call (Call = 1)
|
|
307 |
//! 10. Open the existing call (RMobileLine=mobileLine;Call=1)
|
|
308 |
//! 11.Get VoiceCall capabilities for the call (Call = 1)
|
|
309 |
//! 12.Check VoiceCall capabilities (Capabilities = VoiceCall)
|
|
310 |
//! 13.Answer the incoming call (Call = 1)
|
|
311 |
//! 14.Answer the incoming call result (Call = 1)
|
|
312 |
//! 15.Get call duration (Call = 1)
|
|
313 |
//! 16.Hang up (Call = 1)
|
|
314 |
//! 17.Close call (Call = 1)
|
|
315 |
//! 18.Close line
|
|
316 |
//! 19.Close custom API
|
|
317 |
//! 20.Close mobile phone
|
|
318 |
//! 21.Close telephony server
|
|
319 |
//!@SYMTestStatus Implemented
|
|
320 |
//!@SYMTestPriority High
|
|
321 |
//!@SYMTestExpectedResults
|
|
322 |
//! Function does not leave nor panic. Call is received, answered and hanged it up
|
|
323 |
//!@SYMTestType CIT
|
|
324 |
|
|
325 |
START_TEST_BLOCK 600 t_etelmm \telephony\etelmm\telephony-etelmm-voicecall-validation-incomingcall.ini
|
|
326 |
CREATE_OBJECT RTelServer telServer
|
|
327 |
CREATE_OBJECT RMobilePhone mobilePhone
|
|
328 |
CREATE_OBJECT RMobileLine mobileLine
|
|
329 |
CREATE_OBJECT RMobileCall mobileCall
|
|
330 |
CREATE_OBJECT RMmCustomAPI customApi
|
|
331 |
COMMAND telServer Connect
|
|
332 |
COMMAND mobilePhone Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0004-0001-Open_command02
|
|
333 |
COMMAND mobilePhone Initialise
|
|
334 |
COMMAND customApi Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0004-0001-Open_command04
|
|
335 |
COMMAND customApi SetSystemNetworkMode TELEPHONY-ETELMM-VoiceCall-IncomingCall-0004-0001-SetSystemNetworkMode_command05
|
|
336 |
OUTSTANDING
|
|
337 |
COMMAND customApi GetCurrentSystemNetworkModes
|
|
338 |
OUTSTANDING
|
|
339 |
COMMAND customApi UtilityModeCheck TELEPHONY-ETELMM-VoiceCall-IncomingCall-0004-0001-UtilityModeCheck_command07
|
|
340 |
COMMAND mobileLine Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0004-0001-Open_command08
|
|
341 |
COMMAND mobileLine NotifyIncomingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0004-0001-NotifyIncomingCall_command09
|
|
342 |
OUTSTANDING
|
|
343 |
COMMAND mobileCall OpenExistingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0004-0001-OpenExistingCall_command10
|
|
344 |
COMMAND mobileCall GetCaps TELEPHONY-ETELMM-VoiceCall-IncomingCall-0004-0001-GetCaps_command11
|
|
345 |
COMMAND mobileCall CheckCaps TELEPHONY-ETELMM-VoiceCall-IncomingCall-0004-0001-CheckCaps_command12
|
|
346 |
COMMAND mobileCall AnswerIncomingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0004-0001-AnswerIncomingCall_command13
|
|
347 |
OUTSTANDING
|
|
348 |
COMMAND mobileCall AnswerIncomingCallPost TELEPHONY-ETELMM-VoiceCall-IncomingCall-0004-0001-AnswerIncomingCallPost_command14
|
|
349 |
OUTSTANDING
|
|
350 |
COMMAND mobileCall GetCallDuration TELEPHONY-ETELMM-VoiceCall-IncomingCall-0004-0001-GetCallDuration_command15
|
|
351 |
COMMAND mobileCall HangUp TELEPHONY-ETELMM-VoiceCall-IncomingCall-0004-0001-HangUp_command16
|
|
352 |
OUTSTANDING
|
|
353 |
COMMAND mobileCall Close TELEPHONY-ETELMM-VoiceCall-IncomingCall-0004-0001-Close_command17
|
|
354 |
COMMAND mobileLine Close
|
|
355 |
COMMAND customApi Close
|
|
356 |
COMMAND mobilePhone Close
|
|
357 |
COMMAND telServer Close
|
|
358 |
END_TEST_BLOCK
|
|
359 |
END_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0004
|
|
360 |
|
|
361 |
|
|
362 |
|
|
363 |
|
|
364 |
START_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0005
|
|
365 |
|
|
366 |
//!@SYMTestCaseID TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0005
|
|
367 |
//!@SYMAPI
|
|
368 |
//! RLine::Open(RPhone{ref};const TDesC{ref});
|
|
369 |
//! RLine::NotifyMobileLineStatusChange (TRequestStatus{ref}; RMobileCall::TMobileCallStatus{ref});
|
|
370 |
//! RCall::OpenExistingCall(RLine{ref};const TDesC{ref});
|
|
371 |
//! RCall::GetCaps(TCaps{ref});
|
|
372 |
//! TCallInfo::AnswerIncomingCall(const TDesC8{ref});
|
|
373 |
//! TCallInfo::HangUp(TRequestStatus{ref});
|
|
374 |
//! RCall::Close( )
|
|
375 |
//! RLine::Close( )
|
|
376 |
//!@SYMAuthor JPacho
|
|
377 |
//!@SYMCreationDate 19/5/2008
|
|
378 |
//!@SYMTestCaseDesc Answer an incoming call and hang it up with Sim in WCDMA mode
|
|
379 |
//!@SYMTestActions
|
|
380 |
//! 1. Open telephony server
|
|
381 |
//! 2. Open mobile phone (RTelServer=telServer; Phone=0)
|
|
382 |
//! 3.Initialise mobile phone
|
|
383 |
//! 4. Initizalize custom API (RMobilePhone=mobilePhone)
|
|
384 |
//! 5. Change mode to WCDMA (ChangeMode = WCDMA)
|
|
385 |
//! 6. Get the current mode
|
|
386 |
//! 7. Check the mode is WCDMA (CheckMode = WCDMA)
|
|
387 |
//! 8. Open line (Line = Voice1;RMobilePhone=mobilePhone)
|
|
388 |
//! 9. Notify incoming call (Call = 1)
|
|
389 |
//! 10. Open the existing call (RMobileLine=mobileLine;Call=1)
|
|
390 |
//! 11.Get VoiceCall capabilities for the call (Call = 1)
|
|
391 |
//! 12.Check VoiceCall capabilities (Capabilities = VoiceCall)
|
|
392 |
//! 13.Answer the incoming call (Call = 1)
|
|
393 |
//! 14.Answer the incoming call result (Call = 1)
|
|
394 |
//! 15.Get call duration (Call = 1)
|
|
395 |
//! 16.Hang up (Call = 1)
|
|
396 |
//! 17.Close call (Call = 1)
|
|
397 |
//! 18.Close line
|
|
398 |
//! 19.Close custom API
|
|
399 |
//! 20.Close mobile phone
|
|
400 |
//! 21.Close telephony server
|
|
401 |
//!@SYMTestStatus Implemented
|
|
402 |
//!@SYMTestPriority High
|
|
403 |
//!@SYMTestExpectedResults
|
|
404 |
//! Function does not leave nor panic. Call is received, answered and hanged it up
|
|
405 |
//!@SYMTestType CIT
|
|
406 |
|
|
407 |
START_TEST_BLOCK 600 t_etelmm \telephony\etelmm\telephony-etelmm-voicecall-validation-incomingcall.ini
|
|
408 |
CREATE_OBJECT RTelServer telServer
|
|
409 |
CREATE_OBJECT RMobilePhone mobilePhone
|
|
410 |
CREATE_OBJECT RMobileLine mobileLine
|
|
411 |
CREATE_OBJECT RMobileCall mobileCall
|
|
412 |
CREATE_OBJECT RMmCustomAPI customApi
|
|
413 |
COMMAND telServer Connect
|
|
414 |
COMMAND mobilePhone Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0005-0001-Open_command02
|
|
415 |
COMMAND mobilePhone Initialise
|
|
416 |
COMMAND customApi Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0005-0001-Open_command04
|
|
417 |
COMMAND customApi SetSystemNetworkMode TELEPHONY-ETELMM-VoiceCall-IncomingCall-0005-0001-SetSystemNetworkMode_command05
|
|
418 |
OUTSTANDING
|
|
419 |
COMMAND customApi GetCurrentSystemNetworkModes
|
|
420 |
OUTSTANDING
|
|
421 |
COMMAND customApi UtilityModeCheck TELEPHONY-ETELMM-VoiceCall-IncomingCall-0005-0001-UtilityModeCheck_command07
|
|
422 |
COMMAND mobileLine Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0005-0001-Open_command08
|
|
423 |
COMMAND mobileLine NotifyIncomingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0005-0001-NotifyIncomingCall_command09
|
|
424 |
OUTSTANDING
|
|
425 |
COMMAND mobileCall OpenExistingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0005-0001-OpenExistingCall_command10
|
|
426 |
COMMAND mobileCall GetCaps TELEPHONY-ETELMM-VoiceCall-IncomingCall-0005-0001-GetCaps_command11
|
|
427 |
COMMAND mobileCall CheckCaps TELEPHONY-ETELMM-VoiceCall-IncomingCall-0005-0001-CheckCaps_command12
|
|
428 |
COMMAND mobileCall AnswerIncomingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0005-0001-AnswerIncomingCall_command13
|
|
429 |
OUTSTANDING
|
|
430 |
COMMAND mobileCall AnswerIncomingCallPost TELEPHONY-ETELMM-VoiceCall-IncomingCall-0005-0001-AnswerIncomingCallPost_command14
|
|
431 |
OUTSTANDING
|
|
432 |
COMMAND mobileCall GetCallDuration TELEPHONY-ETELMM-VoiceCall-IncomingCall-0005-0001-GetCallDuration_command15
|
|
433 |
COMMAND mobileCall HangUp TELEPHONY-ETELMM-VoiceCall-IncomingCall-0005-0001-HangUp_command16
|
|
434 |
OUTSTANDING
|
|
435 |
COMMAND mobileCall Close TELEPHONY-ETELMM-VoiceCall-IncomingCall-0005-0001-Close_command17
|
|
436 |
COMMAND mobileLine Close
|
|
437 |
COMMAND customApi Close
|
|
438 |
COMMAND mobilePhone Close
|
|
439 |
COMMAND telServer Close
|
|
440 |
END_TEST_BLOCK
|
|
441 |
END_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0005
|
|
442 |
|
|
443 |
|
|
444 |
|
|
445 |
|
|
446 |
START_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0006
|
|
447 |
|
|
448 |
//!@SYMTestCaseID TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0006
|
|
449 |
//!@SYMAPI
|
|
450 |
//! RLine::Open(RPhone{ref};const TDesC{ref});
|
|
451 |
//! RLine::NotifyMobileLineStatusChange (TRequestStatus{ref}; RMobileCall::TMobileCallStatus{ref});
|
|
452 |
//! RCall::OpenExistingCall(RLine{ref};const TDesC{ref});
|
|
453 |
//! RCall::GetCaps(TCaps{ref});
|
|
454 |
//! TCallInfo::AnswerIncomingCall(const TDesC8{ref});
|
|
455 |
//! TCallInfo::HangUp(TRequestStatus{ref});
|
|
456 |
//! RCall::Close( )
|
|
457 |
//! RLine::Close( )
|
|
458 |
//!@SYMAuthor JPacho
|
|
459 |
//!@SYMCreationDate 19/5/2008
|
|
460 |
//!@SYMTestCaseDesc Answer an incoming call and hang it up with sim in WCDMA mode
|
|
461 |
//!@SYMTestActions
|
|
462 |
//! 1. Open telephony server
|
|
463 |
//! 2. Open mobile phone (RTelServer=telServer; Phone=0)
|
|
464 |
//! 3.Initialise mobile phone
|
|
465 |
//! 4. Initizalize custom API (RMobilePhone=mobilePhone)
|
|
466 |
//! 5. Change mode to WCDMA (ChangeMode = WCDMA)
|
|
467 |
//! 6. Get the current mode
|
|
468 |
//! 7. Check the mode is WCDMA (CheckMode = WCDMA)
|
|
469 |
//! 8. Open line (Line = Voice1;RMobilePhone=mobilePhone)
|
|
470 |
//! 9. Notify incoming call (Call = 1)
|
|
471 |
//! 10. Open the existing call (RMobileLine=mobileLine;Call=1)
|
|
472 |
//! 11.Get VoiceCall capabilities for the call (Call = 1)
|
|
473 |
//! 12.Check VoiceCall capabilities (Capabilities = VoiceCall)
|
|
474 |
//! 13.Answer the incoming call (Call = 1)
|
|
475 |
//! 14.Answer the incoming call result (Call = 1)
|
|
476 |
//! 15.Get call duration (Call = 1)
|
|
477 |
//! 16.Hang up (Call = 1)
|
|
478 |
//! 17.Close call (Call = 1)
|
|
479 |
//! 18.Close line
|
|
480 |
//! 19.Close custom API
|
|
481 |
//! 20.Close mobile phone
|
|
482 |
//! 21.Close telephony server
|
|
483 |
//!@SYMTestStatus Implemented
|
|
484 |
//!@SYMTestPriority High
|
|
485 |
//!@SYMTestExpectedResults
|
|
486 |
//! Function does not leave nor panic. Call is received, answered and hanged it up
|
|
487 |
//!@SYMTestType CIT
|
|
488 |
|
|
489 |
START_TEST_BLOCK 600 t_etelmm \telephony\etelmm\telephony-etelmm-voicecall-validation-incomingcall.ini
|
|
490 |
CREATE_OBJECT RTelServer telServer
|
|
491 |
CREATE_OBJECT RMobilePhone mobilePhone
|
|
492 |
CREATE_OBJECT RMobileLine mobileLine
|
|
493 |
CREATE_OBJECT RMobileCall mobileCall
|
|
494 |
CREATE_OBJECT RMmCustomAPI customApi
|
|
495 |
COMMAND telServer Connect
|
|
496 |
COMMAND mobilePhone Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0006-0001-Open_command02
|
|
497 |
COMMAND mobilePhone Initialise
|
|
498 |
COMMAND customApi Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0006-0001-Open_command04
|
|
499 |
COMMAND customApi SetSystemNetworkMode TELEPHONY-ETELMM-VoiceCall-IncomingCall-0006-0001-SetSystemNetworkMode_command05
|
|
500 |
OUTSTANDING
|
|
501 |
COMMAND customApi GetCurrentSystemNetworkModes
|
|
502 |
OUTSTANDING
|
|
503 |
COMMAND customApi UtilityModeCheck TELEPHONY-ETELMM-VoiceCall-IncomingCall-0006-0001-UtilityModeCheck_command07
|
|
504 |
COMMAND mobileLine Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0006-0001-Open_command08
|
|
505 |
COMMAND mobileLine NotifyIncomingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0006-0001-NotifyIncomingCall_command09
|
|
506 |
OUTSTANDING
|
|
507 |
COMMAND mobileCall OpenExistingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0006-0001-OpenExistingCall_command10
|
|
508 |
COMMAND mobileCall GetCaps TELEPHONY-ETELMM-VoiceCall-IncomingCall-0006-0001-GetCaps_command11
|
|
509 |
COMMAND mobileCall CheckCaps TELEPHONY-ETELMM-VoiceCall-IncomingCall-0006-0001-CheckCaps_command12
|
|
510 |
COMMAND mobileCall AnswerIncomingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0006-0001-AnswerIncomingCall_command13
|
|
511 |
OUTSTANDING
|
|
512 |
COMMAND mobileCall AnswerIncomingCallPost TELEPHONY-ETELMM-VoiceCall-IncomingCall-0006-0001-AnswerIncomingCallPost_command14
|
|
513 |
OUTSTANDING
|
|
514 |
COMMAND mobileCall GetCallDuration TELEPHONY-ETELMM-VoiceCall-IncomingCall-0006-0001-GetCallDuration_command15
|
|
515 |
COMMAND mobileCall HangUp TELEPHONY-ETELMM-VoiceCall-IncomingCall-0006-0001-HangUp_command16
|
|
516 |
OUTSTANDING
|
|
517 |
COMMAND mobileCall Close TELEPHONY-ETELMM-VoiceCall-IncomingCall-0006-0001-Close_command17
|
|
518 |
COMMAND mobileLine Close
|
|
519 |
COMMAND customApi Close
|
|
520 |
COMMAND mobilePhone Close
|
|
521 |
COMMAND telServer Close
|
|
522 |
END_TEST_BLOCK
|
|
523 |
END_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0006
|
|
524 |
|
|
525 |
|
|
526 |
|
|
527 |
|
|
528 |
START_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0007
|
|
529 |
|
|
530 |
//!@SYMTestCaseID TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0007
|
|
531 |
//!@SYMAPI
|
|
532 |
//! RLine::Open(RPhone{ref};const TDesC{ref});
|
|
533 |
//! RLine::NotifyMobileLineStatusChange (TRequestStatus{ref}; RMobileCall::TMobileCallStatus{ref});
|
|
534 |
//! RCall::OpenExistingCall(RLine{ref};const TDesC{ref});
|
|
535 |
//! RCall::GetCaps(TCaps{ref});
|
|
536 |
//! TCallInfo::AnswerIncomingCall(const TDesC8{ref});
|
|
537 |
//! TCallInfo::HangUp(TRequestStatus{ref});
|
|
538 |
//! RCall::Close( )
|
|
539 |
//! RLine::Close( )
|
|
540 |
//!@SYMAuthor JPacho
|
|
541 |
//!@SYMCreationDate 19/5/2008
|
|
542 |
//!@SYMTestCaseDesc Answer an incoming call and hang it up with sim in WCDMA mode
|
|
543 |
//!@SYMTestActions
|
|
544 |
//! 1. Open telephony server
|
|
545 |
//! 2. Open mobile phone (RTelServer=telServer; Phone=0)
|
|
546 |
//! 3.Initialise mobile phone
|
|
547 |
//! 4. Initizalize custom API (RMobilePhone=mobilePhone)
|
|
548 |
//! 5. Change mode to WCDMA (ChangeMode = WCDMA)
|
|
549 |
//! 6. Get the current mode
|
|
550 |
//! 7. Check the mode is WCDMA (CheckMode = WCDMA)
|
|
551 |
//! 8. Open line (Line = Voice1;RMobilePhone=mobilePhone)
|
|
552 |
//! 9. Notify incoming call (Call = 1)
|
|
553 |
//! 10. Open the existing call (RMobileLine=mobileLine;Call=1)
|
|
554 |
//! 11.Get VoiceCall capabilities for the call (Call = 1)
|
|
555 |
//! 12.Check VoiceCall capabilities (Capabilities = VoiceCall)
|
|
556 |
//! 13.Answer the incoming call (Call = 1)
|
|
557 |
//! 14.Answer the incoming call result (Call = 1)
|
|
558 |
//! 15.Get call duration (Call = 1)
|
|
559 |
//! 16.Hang up (Call = 1)
|
|
560 |
//! 17.Close call (Call = 1)
|
|
561 |
//! 18.Close line
|
|
562 |
//! 19.Close custom API
|
|
563 |
//! 20.Close mobile phone
|
|
564 |
//! 21.Close telephony server
|
|
565 |
//!@SYMTestStatus Implemented
|
|
566 |
//!@SYMTestPriority High
|
|
567 |
//!@SYMTestExpectedResults
|
|
568 |
//! Function does not leave nor panic. Call is received, answered and hanged it up
|
|
569 |
//!@SYMTestType CIT
|
|
570 |
|
|
571 |
START_TEST_BLOCK 600 t_etelmm \telephony\etelmm\telephony-etelmm-voicecall-validation-incomingcall.ini
|
|
572 |
CREATE_OBJECT RTelServer telServer
|
|
573 |
CREATE_OBJECT RMobilePhone mobilePhone
|
|
574 |
CREATE_OBJECT RMobileLine mobileLine
|
|
575 |
CREATE_OBJECT RMobileCall mobileCall
|
|
576 |
CREATE_OBJECT RMmCustomAPI customApi
|
|
577 |
COMMAND telServer Connect
|
|
578 |
COMMAND mobilePhone Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0007-0001-Open_command02
|
|
579 |
COMMAND mobilePhone Initialise
|
|
580 |
COMMAND customApi Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0007-0001-Open_command04
|
|
581 |
COMMAND customApi SetSystemNetworkMode TELEPHONY-ETELMM-VoiceCall-IncomingCall-0007-0001-SetSystemNetworkMode_command05
|
|
582 |
OUTSTANDING
|
|
583 |
COMMAND customApi GetCurrentSystemNetworkModes
|
|
584 |
OUTSTANDING
|
|
585 |
COMMAND customApi UtilityModeCheck TELEPHONY-ETELMM-VoiceCall-IncomingCall-0007-0001-UtilityModeCheck_command07
|
|
586 |
COMMAND mobileLine Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0007-0001-Open_command08
|
|
587 |
COMMAND mobileLine NotifyIncomingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0007-0001-NotifyIncomingCall_command09
|
|
588 |
OUTSTANDING
|
|
589 |
COMMAND mobileCall OpenExistingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0007-0001-OpenExistingCall_command10
|
|
590 |
COMMAND mobileCall GetCaps TELEPHONY-ETELMM-VoiceCall-IncomingCall-0007-0001-GetCaps_command11
|
|
591 |
COMMAND mobileCall CheckCaps TELEPHONY-ETELMM-VoiceCall-IncomingCall-0007-0001-CheckCaps_command12
|
|
592 |
COMMAND mobileCall AnswerIncomingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0007-0001-AnswerIncomingCall_command13
|
|
593 |
OUTSTANDING
|
|
594 |
COMMAND mobileCall AnswerIncomingCallPost TELEPHONY-ETELMM-VoiceCall-IncomingCall-0007-0001-AnswerIncomingCallPost_command14
|
|
595 |
OUTSTANDING
|
|
596 |
COMMAND mobileCall GetCallDuration TELEPHONY-ETELMM-VoiceCall-IncomingCall-0007-0001-GetCallDuration_command15
|
|
597 |
COMMAND mobileCall HangUp TELEPHONY-ETELMM-VoiceCall-IncomingCall-0007-0001-HangUp_command16
|
|
598 |
OUTSTANDING
|
|
599 |
COMMAND mobileCall Close TELEPHONY-ETELMM-VoiceCall-IncomingCall-0007-0001-Close_command17
|
|
600 |
COMMAND mobileLine Close
|
|
601 |
COMMAND customApi Close
|
|
602 |
COMMAND mobilePhone Close
|
|
603 |
COMMAND telServer Close
|
|
604 |
END_TEST_BLOCK
|
|
605 |
END_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0007
|
|
606 |
|
|
607 |
|
|
608 |
|
|
609 |
|
|
610 |
START_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0008
|
|
611 |
|
|
612 |
//!@SYMTestCaseID TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0008
|
|
613 |
//!@SYMAPI
|
|
614 |
//! RLine::Open(RPhone{ref};const TDesC{ref});
|
|
615 |
//! RLine::NotifyMobileLineStatusChange (TRequestStatus{ref}; RMobileCall::TMobileCallStatus{ref});
|
|
616 |
//! RCall::OpenExistingCall(RLine{ref};const TDesC{ref});
|
|
617 |
//! RCall::GetCaps(TCaps{ref});
|
|
618 |
//! TCallInfo::AnswerIncomingCall(const TDesC8{ref});
|
|
619 |
//! TCallInfo::HangUp(TRequestStatus{ref});
|
|
620 |
//! RCall::Close( )
|
|
621 |
//! RLine::Close( )
|
|
622 |
//!@SYMAuthor JPacho
|
|
623 |
//!@SYMCreationDate 19/5/2008
|
|
624 |
//!@SYMTestCaseDesc Answer an incoming call and hang it up with sim in WCDMA mode
|
|
625 |
//!@SYMTestActions
|
|
626 |
//! 1. Open telephony server
|
|
627 |
//! 2. Open mobile phone (RTelServer=telServer; Phone=0)
|
|
628 |
//! 3.Initialise mobile phone
|
|
629 |
//! 4. Initizalize custom API (RMobilePhone=mobilePhone)
|
|
630 |
//! 5. Change mode to WCDMA (ChangeMode = WCDMA)
|
|
631 |
//! 6. Get the current mode
|
|
632 |
//! 7. Check the mode is WCDMA (CheckMode = WCDMA)
|
|
633 |
//! 8. Open line (Line = Voice1;RMobilePhone=mobilePhone)
|
|
634 |
//! 9. Notify incoming call (Call = 1)
|
|
635 |
//! 10. Open the existing call (RMobileLine=mobileLine;Call=1)
|
|
636 |
//! 11.Get VoiceCall capabilities for the call (Call = 1)
|
|
637 |
//! 12.Check VoiceCall capabilities (Capabilities = VoiceCall)
|
|
638 |
//! 13.Answer the incoming call (Call = 1)
|
|
639 |
//! 14.Answer the incoming call result (Call = 1)
|
|
640 |
//! 15.Get call duration (Call = 1)
|
|
641 |
//! 16.Hang up (Call = 1)
|
|
642 |
//! 17.Close call (Call = 1)
|
|
643 |
//! 18.Close line
|
|
644 |
//! 19.Close custom API
|
|
645 |
//! 20.Close mobile phone
|
|
646 |
//! 21.Close telephony server
|
|
647 |
//!@SYMTestStatus Implemented
|
|
648 |
//!@SYMTestPriority High
|
|
649 |
//!@SYMTestExpectedResults
|
|
650 |
//! Function does not leave nor panic. Call is received, answered and hanged it up
|
|
651 |
//!@SYMTestType CIT
|
|
652 |
|
|
653 |
START_TEST_BLOCK 600 t_etelmm \telephony\etelmm\telephony-etelmm-voicecall-validation-incomingcall.ini
|
|
654 |
CREATE_OBJECT RTelServer telServer
|
|
655 |
CREATE_OBJECT RMobilePhone mobilePhone
|
|
656 |
CREATE_OBJECT RMobileLine mobileLine
|
|
657 |
CREATE_OBJECT RMobileCall mobileCall
|
|
658 |
CREATE_OBJECT RMmCustomAPI customApi
|
|
659 |
COMMAND telServer Connect
|
|
660 |
COMMAND mobilePhone Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0008-0001-Open_command02
|
|
661 |
COMMAND mobilePhone Initialise
|
|
662 |
COMMAND customApi Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0008-0001-Open_command04
|
|
663 |
COMMAND customApi SetSystemNetworkMode TELEPHONY-ETELMM-VoiceCall-IncomingCall-0008-0001-SetSystemNetworkMode_command05
|
|
664 |
OUTSTANDING
|
|
665 |
COMMAND customApi GetCurrentSystemNetworkModes
|
|
666 |
OUTSTANDING
|
|
667 |
COMMAND customApi UtilityModeCheck TELEPHONY-ETELMM-VoiceCall-IncomingCall-0008-0001-UtilityModeCheck_command07
|
|
668 |
COMMAND mobileLine Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0008-0001-Open_command08
|
|
669 |
COMMAND mobileLine NotifyIncomingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0008-0001-NotifyIncomingCall_command09
|
|
670 |
OUTSTANDING
|
|
671 |
COMMAND mobileCall OpenExistingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0008-0001-OpenExistingCall_command10
|
|
672 |
COMMAND mobileCall GetCaps TELEPHONY-ETELMM-VoiceCall-IncomingCall-0008-0001-GetCaps_command11
|
|
673 |
COMMAND mobileCall CheckCaps TELEPHONY-ETELMM-VoiceCall-IncomingCall-0008-0001-CheckCaps_command12
|
|
674 |
COMMAND mobileCall AnswerIncomingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0008-0001-AnswerIncomingCall_command13
|
|
675 |
OUTSTANDING
|
|
676 |
COMMAND mobileCall AnswerIncomingCallPost TELEPHONY-ETELMM-VoiceCall-IncomingCall-0008-0001-AnswerIncomingCallPost_command14
|
|
677 |
OUTSTANDING
|
|
678 |
COMMAND mobileCall GetCallDuration TELEPHONY-ETELMM-VoiceCall-IncomingCall-0008-0001-GetCallDuration_command15
|
|
679 |
COMMAND mobileCall HangUp TELEPHONY-ETELMM-VoiceCall-IncomingCall-0008-0001-HangUp_command16
|
|
680 |
OUTSTANDING
|
|
681 |
COMMAND mobileCall Close TELEPHONY-ETELMM-VoiceCall-IncomingCall-0008-0001-Close_command17
|
|
682 |
COMMAND mobileLine Close
|
|
683 |
COMMAND customApi Close
|
|
684 |
COMMAND mobilePhone Close
|
|
685 |
COMMAND telServer Close
|
|
686 |
END_TEST_BLOCK
|
|
687 |
END_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0008
|
|
688 |
|
|
689 |
|
|
690 |
|
|
691 |
|
|
692 |
START_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0009
|
|
693 |
|
|
694 |
//!@SYMTestCaseID TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0009
|
|
695 |
//!@SYMAPI
|
|
696 |
//! RLine::Open(RPhone{ref},const TDesC{ref});
|
|
697 |
//! RLine::NotifyMobileLineStatusChange (TRequestStatus{ref}, RMobileCall::TMobileCallStatus{ref});
|
|
698 |
//! RCall::OpenExistingCall(RLine{ref},const TDesC{ref});
|
|
699 |
//! RCall::GetCaps(TCaps{ref});
|
|
700 |
//! TCallInfo::AnswerIncomingCall(const TDesC8{ref});
|
|
701 |
//! TCallInfo::HangUp(TRequestStatus{ref});
|
|
702 |
//! RCall::Close( )
|
|
703 |
//! RLine::Close( )
|
|
704 |
//!@SYMAuthor JPacho
|
|
705 |
//!@SYMCreationDate 19/5/2008
|
|
706 |
//!@SYMTestCaseDesc Answer a call in Dual mode
|
|
707 |
//!@SYMTestActions
|
|
708 |
//! 1. Open telephony server
|
|
709 |
//! 2. Open mobile phone (RTelServer=telServer; Phone=0)
|
|
710 |
//! 3. Initialise mobile phone
|
|
711 |
//! 4. Initizalize custom API (RMobilePhone=mobilePhone)
|
|
712 |
//! 5. Change mode to Dual (ChangeMode = Dual)
|
|
713 |
//! 6. Get the current mode
|
|
714 |
//! 7. Check the mode is Dual (CheckMode = Dual)
|
|
715 |
//! 8. Open line (Line = Voice1;RMobilePhone=mobilePhone)
|
|
716 |
//! 9. Notify incoming call (Call = 1)
|
|
717 |
//! 10. Open the existing call (RMobileLine=mobileLine;Call=1)
|
|
718 |
//! 11.Get VoiceCall capabilities for the call (Call = 1)
|
|
719 |
//! 12.Check VoiceCall capabilities (Capabilities = VoiceCall)
|
|
720 |
//! 13.Answer the incoming call (Call = 1)
|
|
721 |
//! 14.Answer the incoming call result (Call = 1)
|
|
722 |
//! 15.Get call duration (Call = 1)
|
|
723 |
//! 16.Hang up (Call = 1)
|
|
724 |
//! 17.Close call (Call = 1)
|
|
725 |
//! 18.Close line
|
|
726 |
//! 19.Close custom API
|
|
727 |
//! 20.Close mobile phone
|
|
728 |
//! 21.Close telephony server
|
|
729 |
//!@SYMTestStatus Implemented
|
|
730 |
//!@SYMTestPriority High
|
|
731 |
//!@SYMTestExpectedResults
|
|
732 |
//! Function does not leave nor panic. A simple Dual call is received
|
|
733 |
//!@SYMTestType CIT
|
|
734 |
|
|
735 |
START_TEST_BLOCK 600 t_etelmm \telephony\etelmm\telephony-etelmm-voicecall-validation-incomingcall.ini
|
|
736 |
CREATE_OBJECT RTelServer telServer
|
|
737 |
CREATE_OBJECT RMobilePhone mobilePhone
|
|
738 |
CREATE_OBJECT RMobileLine mobileLine
|
|
739 |
CREATE_OBJECT RMobileCall mobileCall
|
|
740 |
CREATE_OBJECT RMmCustomAPI customApi
|
|
741 |
COMMAND telServer Connect
|
|
742 |
COMMAND mobilePhone Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0009-0001-Open_command02
|
|
743 |
COMMAND mobilePhone Initialise
|
|
744 |
COMMAND customApi Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0009-0001-Open_command04
|
|
745 |
COMMAND customApi SetSystemNetworkMode TELEPHONY-ETELMM-VoiceCall-IncomingCall-0009-0001-SetSystemNetworkMode_command05
|
|
746 |
OUTSTANDING
|
|
747 |
COMMAND customApi GetCurrentSystemNetworkModes
|
|
748 |
OUTSTANDING
|
|
749 |
COMMAND customApi UtilityModeCheck TELEPHONY-ETELMM-VoiceCall-IncomingCall-0009-0001-UtilityModeCheck_command07
|
|
750 |
COMMAND mobileLine Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0009-0001-Open_command08
|
|
751 |
COMMAND mobileLine NotifyIncomingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0009-0001-NotifyIncomingCall_command09
|
|
752 |
OUTSTANDING
|
|
753 |
COMMAND mobileCall OpenExistingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0009-0001-OpenExistingCall_command10
|
|
754 |
COMMAND mobileCall GetCaps TELEPHONY-ETELMM-VoiceCall-IncomingCall-0009-0001-GetCaps_command11
|
|
755 |
COMMAND mobileCall CheckCaps TELEPHONY-ETELMM-VoiceCall-IncomingCall-0009-0001-CheckCaps_command12
|
|
756 |
COMMAND mobileCall AnswerIncomingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0009-0001-AnswerIncomingCall_command13
|
|
757 |
OUTSTANDING
|
|
758 |
COMMAND mobileCall AnswerIncomingCallPost TELEPHONY-ETELMM-VoiceCall-IncomingCall-0009-0001-AnswerIncomingCallPost_command14
|
|
759 |
OUTSTANDING
|
|
760 |
COMMAND mobileCall GetCallDuration TELEPHONY-ETELMM-VoiceCall-IncomingCall-0009-0001-GetCallDuration_command15
|
|
761 |
COMMAND mobileCall HangUp TELEPHONY-ETELMM-VoiceCall-IncomingCall-0009-0001-HangUp_command16
|
|
762 |
OUTSTANDING
|
|
763 |
COMMAND mobileCall Close TELEPHONY-ETELMM-VoiceCall-IncomingCall-0009-0001-Close_command17
|
|
764 |
COMMAND mobileLine Close
|
|
765 |
COMMAND customApi Close
|
|
766 |
COMMAND mobilePhone Close
|
|
767 |
COMMAND telServer Close
|
|
768 |
END_TEST_BLOCK
|
|
769 |
END_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0009
|
|
770 |
|
|
771 |
|
|
772 |
|
|
773 |
|
|
774 |
START_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0010
|
|
775 |
|
|
776 |
//!@SYMTestCaseID TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0010
|
|
777 |
//!@SYMAPI
|
|
778 |
//! RLine::Open(RPhone{ref},const TDesC{ref});
|
|
779 |
//! RLine::NotifyMobileLineStatusChange (TRequestStatus{ref}, RMobileCall::TMobileCallStatus{ref});
|
|
780 |
//! RCall::OpenExistingCall(RLine{ref},const TDesC{ref});
|
|
781 |
//! RCall::GetCaps(TCaps{ref});
|
|
782 |
//! TCallInfo::AnswerIncomingCall(const TDesC8{ref});
|
|
783 |
//! TCallInfo::HangUp(TRequestStatus{ref});
|
|
784 |
//! RCall::Close( )
|
|
785 |
//! RLine::Close( )
|
|
786 |
//!@SYMAuthor JPacho
|
|
787 |
//!@SYMCreationDate 19/5/2008
|
|
788 |
//!@SYMTestCaseDesc Answer a call in GSM mode
|
|
789 |
//!@SYMTestActions
|
|
790 |
//! 1. Open telephony server
|
|
791 |
//! 2. Open mobile phone (RTelServer=telServer; Phone=0)
|
|
792 |
//! 3. Initialise mobile phone
|
|
793 |
//! 4. Initizalize custom API (RMobilePhone=mobilePhone)
|
|
794 |
//! 5. Change mode to GSM (ChangeMode = GSM)
|
|
795 |
//! 6. Get the current mode
|
|
796 |
//! 7. Check the mode is GSM (CheckMode = GSM)
|
|
797 |
//! 8. Open line (Line = Voice1;RMobilePhone=mobilePhone)
|
|
798 |
//! 9. Notify incoming call (Call = 1)
|
|
799 |
//! 10. Open the existing call (RMobileLine=mobileLine;Call=1)
|
|
800 |
//! 11.Get VoiceCall capabilities for the call (Call = 1)
|
|
801 |
//! 12.Check VoiceCall capabilities (Capabilities = VoiceCall)
|
|
802 |
//! 13.Answer the incoming call (Call = 1)
|
|
803 |
//! 14.Answer the incoming call result (Call = 1)
|
|
804 |
//! 15.Get call duration (Call = 1)
|
|
805 |
//! 16.Hang up (Call = 1)
|
|
806 |
//! 17.Close call (Call = 1)
|
|
807 |
//! 18.Close line
|
|
808 |
//! 19.Close custom API
|
|
809 |
//! 20.Close mobile phone
|
|
810 |
//! 21.Close telephony server
|
|
811 |
//!@SYMTestStatus Implemented
|
|
812 |
//!@SYMTestPriority High
|
|
813 |
//!@SYMTestExpectedResults
|
|
814 |
//! Function does not leave nor panic. A simple WCDMA call is received
|
|
815 |
//!@SYMTestType CIT
|
|
816 |
|
|
817 |
START_TEST_BLOCK 600 t_etelmm \telephony\etelmm\telephony-etelmm-voicecall-validation-incomingcall.ini
|
|
818 |
CREATE_OBJECT RTelServer telServer
|
|
819 |
CREATE_OBJECT RMobilePhone mobilePhone
|
|
820 |
CREATE_OBJECT RMobileLine mobileLine
|
|
821 |
CREATE_OBJECT RMobileCall mobileCall
|
|
822 |
CREATE_OBJECT RMmCustomAPI customApi
|
|
823 |
COMMAND telServer Connect
|
|
824 |
COMMAND mobilePhone Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0010-0001-Open_command02
|
|
825 |
COMMAND mobilePhone Initialise
|
|
826 |
COMMAND customApi Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0010-0001-Open_command04
|
|
827 |
COMMAND customApi SetSystemNetworkMode TELEPHONY-ETELMM-VoiceCall-IncomingCall-0010-0001-SetSystemNetworkMode_command05
|
|
828 |
OUTSTANDING
|
|
829 |
COMMAND customApi GetCurrentSystemNetworkModes
|
|
830 |
OUTSTANDING
|
|
831 |
COMMAND customApi UtilityModeCheck TELEPHONY-ETELMM-VoiceCall-IncomingCall-0010-0001-UtilityModeCheck_command07
|
|
832 |
COMMAND mobileLine Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0010-0001-Open_command08
|
|
833 |
COMMAND mobileLine NotifyIncomingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0010-0001-NotifyIncomingCall_command09
|
|
834 |
OUTSTANDING
|
|
835 |
COMMAND mobileCall OpenExistingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0010-0001-OpenExistingCall_command10
|
|
836 |
COMMAND mobileCall GetCaps TELEPHONY-ETELMM-VoiceCall-IncomingCall-0010-0001-GetCaps_command11
|
|
837 |
COMMAND mobileCall CheckCaps TELEPHONY-ETELMM-VoiceCall-IncomingCall-0010-0001-CheckCaps_command12
|
|
838 |
COMMAND mobileCall AnswerIncomingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0010-0001-AnswerIncomingCall_command13
|
|
839 |
OUTSTANDING
|
|
840 |
COMMAND mobileCall AnswerIncomingCallPost TELEPHONY-ETELMM-VoiceCall-IncomingCall-0010-0001-AnswerIncomingCallPost_command14
|
|
841 |
OUTSTANDING
|
|
842 |
COMMAND mobileCall GetCallDuration TELEPHONY-ETELMM-VoiceCall-IncomingCall-0010-0001-GetCallDuration_command15
|
|
843 |
COMMAND mobileCall HangUp TELEPHONY-ETELMM-VoiceCall-IncomingCall-0010-0001-HangUp_command16
|
|
844 |
OUTSTANDING
|
|
845 |
COMMAND mobileCall Close TELEPHONY-ETELMM-VoiceCall-IncomingCall-0010-0001-Close_command17
|
|
846 |
COMMAND mobileLine Close
|
|
847 |
COMMAND customApi Close
|
|
848 |
COMMAND mobilePhone Close
|
|
849 |
COMMAND telServer Close
|
|
850 |
END_TEST_BLOCK
|
|
851 |
END_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0010
|
|
852 |
|
|
853 |
|
|
854 |
|
|
855 |
|
|
856 |
START_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0011
|
|
857 |
|
|
858 |
//!@SYMTestCaseID TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0011
|
|
859 |
//!@SYMAPI
|
|
860 |
//! RLine::Open(RPhone{ref},const TDesC{ref});
|
|
861 |
//! RLine::NotifyMobileLineStatusChange (TRequestStatus{ref}, RMobileCall::TMobileCallStatus{ref});
|
|
862 |
//! RCall::OpenExistingCall(RLine{ref},const TDesC{ref});
|
|
863 |
//! RCall::GetCaps(TCaps{ref});
|
|
864 |
//! TCallInfo::AnswerIncomingCall(const TDesC8{ref});
|
|
865 |
//! TCallInfo::HangUp(TRequestStatus{ref});
|
|
866 |
//! RCall::Close( )
|
|
867 |
//! RLine::Close( )
|
|
868 |
//!@SYMAuthor JPacho
|
|
869 |
//!@SYMCreationDate 19/5/2008
|
|
870 |
//!@SYMTestCaseDesc Answer a call in WCDMA mode
|
|
871 |
//!@SYMTestActions
|
|
872 |
//! 1. Open telephony server
|
|
873 |
//! 2. Open mobile phone (RTelServer=telServer; Phone=0)
|
|
874 |
//! 3. Initialise mobile phone
|
|
875 |
//! 4. Initizalize custom API (RMobilePhone=mobilePhone)
|
|
876 |
//! 5. Change mode to WCDMA (ChangeMode = WCDMA)
|
|
877 |
//! 6. Get the current mode
|
|
878 |
//! 7. Check the mode is WCDMA (CheckMode = WCDMA)
|
|
879 |
//! 8. Open line (Line = Voice1;RMobilePhone=mobilePhone)
|
|
880 |
//! 9. Notify incoming call (Call = 1)
|
|
881 |
//! 10. Open the existing call (RMobileLine=mobileLine;Call=1)
|
|
882 |
//! 11.Get VoiceCall capabilities for the call (Call = 1)
|
|
883 |
//! 12.Check VoiceCall capabilities (Capabilities = VoiceCall)
|
|
884 |
//! 13.Answer the incoming call (Call = 1)
|
|
885 |
//! 14.Answer the incoming call result (Call = 1)
|
|
886 |
//! 15.Get call duration (Call = 1)
|
|
887 |
//! 16.Hang up (Call = 1)
|
|
888 |
//! 17.Close call (Call = 1)
|
|
889 |
//! 18.Close line
|
|
890 |
//! 19.Close custom API
|
|
891 |
//! 20.Close mobile phone
|
|
892 |
//! 21.Close telephony server
|
|
893 |
//!@SYMTestStatus Implemented
|
|
894 |
//!@SYMTestPriority High
|
|
895 |
//!@SYMTestExpectedResults
|
|
896 |
//! Function does not leave nor panic. A simple GSM call is received
|
|
897 |
//!@SYMTestType CIT
|
|
898 |
|
|
899 |
START_TEST_BLOCK 600 t_etelmm \telephony\etelmm\telephony-etelmm-voicecall-validation-incomingcall.ini
|
|
900 |
CREATE_OBJECT RTelServer telServer
|
|
901 |
CREATE_OBJECT RMobilePhone mobilePhone
|
|
902 |
CREATE_OBJECT RMobileLine mobileLine
|
|
903 |
CREATE_OBJECT RMobileCall mobileCall
|
|
904 |
CREATE_OBJECT RMmCustomAPI customApi
|
|
905 |
COMMAND telServer Connect
|
|
906 |
COMMAND mobilePhone Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0011-0001-Open_command02
|
|
907 |
COMMAND mobilePhone Initialise
|
|
908 |
COMMAND customApi Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0011-0001-Open_command04
|
|
909 |
COMMAND customApi SetSystemNetworkMode TELEPHONY-ETELMM-VoiceCall-IncomingCall-0011-0001-SetSystemNetworkMode_command05
|
|
910 |
OUTSTANDING
|
|
911 |
COMMAND customApi GetCurrentSystemNetworkModes
|
|
912 |
OUTSTANDING
|
|
913 |
COMMAND customApi UtilityModeCheck TELEPHONY-ETELMM-VoiceCall-IncomingCall-0011-0001-UtilityModeCheck_command07
|
|
914 |
COMMAND mobileLine Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0011-0001-Open_command08
|
|
915 |
COMMAND mobileLine NotifyIncomingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0011-0001-NotifyIncomingCall_command09
|
|
916 |
OUTSTANDING
|
|
917 |
COMMAND mobileCall OpenExistingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0011-0001-OpenExistingCall_command10
|
|
918 |
COMMAND mobileCall GetCaps TELEPHONY-ETELMM-VoiceCall-IncomingCall-0011-0001-GetCaps_command11
|
|
919 |
COMMAND mobileCall CheckCaps TELEPHONY-ETELMM-VoiceCall-IncomingCall-0011-0001-CheckCaps_command12
|
|
920 |
COMMAND mobileCall AnswerIncomingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0011-0001-AnswerIncomingCall_command13
|
|
921 |
OUTSTANDING
|
|
922 |
COMMAND mobileCall AnswerIncomingCallPost TELEPHONY-ETELMM-VoiceCall-IncomingCall-0011-0001-AnswerIncomingCallPost_command14
|
|
923 |
OUTSTANDING
|
|
924 |
COMMAND mobileCall GetCallDuration TELEPHONY-ETELMM-VoiceCall-IncomingCall-0011-0001-GetCallDuration_command15
|
|
925 |
COMMAND mobileCall HangUp TELEPHONY-ETELMM-VoiceCall-IncomingCall-0011-0001-HangUp_command16
|
|
926 |
OUTSTANDING
|
|
927 |
COMMAND mobileCall Close TELEPHONY-ETELMM-VoiceCall-IncomingCall-0011-0001-Close_command17
|
|
928 |
COMMAND mobileLine Close
|
|
929 |
COMMAND customApi Close
|
|
930 |
COMMAND mobilePhone Close
|
|
931 |
COMMAND telServer Close
|
|
932 |
END_TEST_BLOCK
|
|
933 |
END_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0011
|
|
934 |
|
|
935 |
|
|
936 |
|
|
937 |
|
|
938 |
START_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0012
|
|
939 |
|
|
940 |
//!@SYMTestCaseID TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0012
|
|
941 |
//!@SYMAPI
|
|
942 |
//! RLine::Open(RPhone{ref},const TDesC{ref});
|
|
943 |
//! RLine::NotifyIncomingCall (TRequestStatus{ref}, TName{ref});
|
|
944 |
//! RLine::OpenNewCall(RLine{ref},TDes{ref});
|
|
945 |
//! RCall::GetCaps(TCaps{ref});
|
|
946 |
//! RCall::Dial(TRequestStatus{ref} aStatus,const TTelNumberC{ref});
|
|
947 |
//! RCall::Close( )
|
|
948 |
//! RLine::Close( )
|
|
949 |
//!@SYMAuthor JPacho
|
|
950 |
//!@SYMCreationDate 19/5/2008
|
|
951 |
//!@SYMTestCaseDesc Receive a call and don't answer it
|
|
952 |
//!@SYMTestActions
|
|
953 |
//! 1. Open telephony server
|
|
954 |
//! 2. Open mobile phone (RTelServer=telServer; Phone=0)
|
|
955 |
//! 3. Initialise mobile phone
|
|
956 |
//! 4. Initialize custom API (RMobilePhone=mobilePhone)
|
|
957 |
//! 5. Open line (RMobilePhone=mobilePhone;Line = Voice1)
|
|
958 |
//! 6. Notify incoming call (Call = 1)
|
|
959 |
//! 7. Open existing call (RMobileLine=mobileLine;Call = 1)
|
|
960 |
//! 8. Get VoiceCall capabilities for the call (Call = 1)
|
|
961 |
//! 9. Check VoiceCall capabilities (Capabilities = VoiceCall)
|
|
962 |
//! 10. Close call (Call = 1)
|
|
963 |
//! 11. Close line
|
|
964 |
//! 12.Close custom API
|
|
965 |
//! 13.Close mobile phone
|
|
966 |
//! 14.Close telephony server
|
|
967 |
//!@SYMTestStatus Implemented
|
|
968 |
//!@SYMTestPriority High
|
|
969 |
//!@SYMTestExpectedResults
|
|
970 |
//! Function does not leave nor panic. A call is received and not answered.
|
|
971 |
//!@SYMTestType CIT
|
|
972 |
|
|
973 |
START_TEST_BLOCK 600 t_etelmm \telephony\etelmm\telephony-etelmm-voicecall-validation-incomingcall.ini
|
|
974 |
CREATE_OBJECT RTelServer telServer
|
|
975 |
CREATE_OBJECT RMobilePhone mobilePhone
|
|
976 |
CREATE_OBJECT RMobileLine mobileLine
|
|
977 |
CREATE_OBJECT RMobileCall mobileCall
|
|
978 |
CREATE_OBJECT RMmCustomAPI customApi
|
|
979 |
COMMAND telServer Connect
|
|
980 |
COMMAND mobilePhone Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0012-0001-Open_command02
|
|
981 |
COMMAND mobilePhone Initialise
|
|
982 |
COMMAND customApi Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0012-0001-Open_command04
|
|
983 |
COMMAND mobileLine Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0012-0001-Open_command05
|
|
984 |
COMMAND mobileLine NotifyIncomingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0012-0001-NotifyIncomingCall_command06
|
|
985 |
OUTSTANDING
|
|
986 |
COMMAND mobileCall OpenExistingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0012-0001-OpenExistingCall_command07
|
|
987 |
COMMAND mobileCall GetCaps TELEPHONY-ETELMM-VoiceCall-IncomingCall-0012-0001-GetCaps_command08
|
|
988 |
COMMAND mobileCall CheckCaps TELEPHONY-ETELMM-VoiceCall-IncomingCall-0012-0001-CheckCaps_command09
|
|
989 |
COMMAND mobileCall Close TELEPHONY-ETELMM-VoiceCall-IncomingCall-0012-0001-Close_command10
|
|
990 |
COMMAND mobileLine Close
|
|
991 |
COMMAND customApi Close
|
|
992 |
COMMAND mobilePhone Close
|
|
993 |
COMMAND telServer Close
|
|
994 |
END_TEST_BLOCK
|
|
995 |
END_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0012
|
|
996 |
|
|
997 |
|
|
998 |
|
|
999 |
|
|
1000 |
START_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0013
|
|
1001 |
|
|
1002 |
//!@SYMTestCaseID TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0013
|
|
1003 |
//!@SYMAPI
|
|
1004 |
//! RLine::Open(RPhone{ref},const TDesC{ref});
|
|
1005 |
//! RLine::NotifyIncomingCall(TRequestStatus{ref}, TName{ref});
|
|
1006 |
//! Rcall::OpenExistingCall(RLine{ref,const TDesC{ref});
|
|
1007 |
//! RCall::GetCaps(TCaps{ref});
|
|
1008 |
//! TCallInfo::HangUp(TRequestStatus{ref});
|
|
1009 |
//! RCall::Close( )
|
|
1010 |
//! RLine::Close( )
|
|
1011 |
//!@SYMAuthor JPacho
|
|
1012 |
//!@SYMCreationDate 19/5/2008
|
|
1013 |
//!@SYMTestCaseDesc Receive a call and hang it up without answering
|
|
1014 |
//!@SYMTestActions
|
|
1015 |
//! 1. Open telephony server
|
|
1016 |
//! 2. Open mobile phone (RTelServer=telServer; Phone=0)
|
|
1017 |
//! 3. Initialise mobile phone
|
|
1018 |
//! 4. Initialize custom API (RMobilePhone=mobilePhone)
|
|
1019 |
//! 5. Open line (RMobilePhone=mobilePhone;Line = Voice1)
|
|
1020 |
//! 6. Notify incoming call (Call = 1)
|
|
1021 |
//! 7. Open existing call (RMobileLine=mobileLine;Call = 1)
|
|
1022 |
//! 8. Get VoiceCall capabilities for the call (Call = 1)
|
|
1023 |
//! 9. Check VoiceCall capabilites (Capabilities = VoiceCall)
|
|
1024 |
//! 10. Get call duration (Call = 1)
|
|
1025 |
//! 11. Hang up (Call = 1)
|
|
1026 |
//! 12.Close call (Call = 1)
|
|
1027 |
//! 13.Close line
|
|
1028 |
//! 14.Close custom API
|
|
1029 |
//! 15.Close mobile phone
|
|
1030 |
//! 16.Close telephony server
|
|
1031 |
//!@SYMTestStatus Implemented
|
|
1032 |
//!@SYMTestPriority High
|
|
1033 |
//!@SYMTestExpectedResults
|
|
1034 |
//! Function does not leave nor panic. A call is received and hanged without answered.
|
|
1035 |
//!@SYMTestType CIT
|
|
1036 |
|
|
1037 |
START_TEST_BLOCK 600 t_etelmm \telephony\etelmm\telephony-etelmm-voicecall-validation-incomingcall.ini
|
|
1038 |
CREATE_OBJECT RTelServer telServer
|
|
1039 |
CREATE_OBJECT RMobilePhone mobilePhone
|
|
1040 |
CREATE_OBJECT RMobileLine mobileLine
|
|
1041 |
CREATE_OBJECT RMobileCall mobileCall
|
|
1042 |
CREATE_OBJECT RMmCustomAPI customApi
|
|
1043 |
COMMAND telServer Connect
|
|
1044 |
COMMAND mobilePhone Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0013-0001-Open_command02
|
|
1045 |
COMMAND mobilePhone Initialise
|
|
1046 |
COMMAND customApi Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0013-0001-Open_command04
|
|
1047 |
COMMAND mobileLine Open TELEPHONY-ETELMM-VoiceCall-IncomingCall-0013-0001-Open_command05
|
|
1048 |
COMMAND mobileLine NotifyIncomingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0013-0001-NotifyIncomingCall_command06
|
|
1049 |
OUTSTANDING
|
|
1050 |
COMMAND mobileCall OpenExistingCall TELEPHONY-ETELMM-VoiceCall-IncomingCall-0013-0001-OpenExistingCall_command07
|
|
1051 |
COMMAND mobileCall GetCaps TELEPHONY-ETELMM-VoiceCall-IncomingCall-0013-0001-GetCaps_command08
|
|
1052 |
COMMAND mobileCall CheckCaps TELEPHONY-ETELMM-VoiceCall-IncomingCall-0013-0001-CheckCaps_command09
|
|
1053 |
COMMAND mobileCall GetCallDuration TELEPHONY-ETELMM-VoiceCall-IncomingCall-0013-0001-GetCallDuration_command10
|
|
1054 |
COMMAND mobileCall HangUp TELEPHONY-ETELMM-VoiceCall-IncomingCall-0013-0001-HangUp_command11
|
|
1055 |
OUTSTANDING
|
|
1056 |
COMMAND mobileCall Close TELEPHONY-ETELMM-VoiceCall-IncomingCall-0013-0001-Close_command12
|
|
1057 |
COMMAND mobileLine Close
|
|
1058 |
COMMAND customApi Close
|
|
1059 |
COMMAND mobilePhone Close
|
|
1060 |
COMMAND telServer Close
|
|
1061 |
END_TEST_BLOCK
|
|
1062 |
END_TESTCASE TELEPHONY-ETELMM-VOICECALL-VALIDATION-INCOMINGCALL-0013
|