telephonyserverplugins/ctsydispatchlayer/test/dispatchertests/dispatchsrc/cctsycallcontrolmultipartyfu.cpp
equal
deleted
inserted
replaced
144 ASSERT_EQUALS(RMobileConferenceCall::EConferenceIdle, confStatus); |
144 ASSERT_EQUALS(RMobileConferenceCall::EConferenceIdle, confStatus); |
145 |
145 |
146 User::WaitForRequest(hangupStatus); |
146 User::WaitForRequest(hangupStatus); |
147 ASSERT_EQUALS(KErrNone, hangupStatus.Int()); |
147 ASSERT_EQUALS(KErrNone, hangupStatus.Int()); |
148 |
148 |
149 // NOTE: Adopting User::After(50000) in here is because of test harness failure in the SMP (naviengine). |
|
150 // The ETel server is closing a tel object by an Active Object (CAsyncOneShot), there can be out of ordered closes in SMP. |
|
151 // Since the MockLtsy is expecting exact order of test procedure, this can be regarded as an error but it is not a part of intended testing. |
|
152 // Therefore this waiting function calls are required to close the tel objects in perfect order. |
|
153 confCall.Close(); |
149 confCall.Close(); |
154 User::After(50000); |
150 User::After(50000); |
155 mobileCall.Close(); |
151 mobileCall.Close(); |
156 User::After(50000); |
152 User::After(50000); |
157 mobileCall2.Close(); |
153 mobileCall2.Close(); |
229 ASSERT_EQUALS(KErrNone, mobileCall.GetMobileCallStatus(callStatus)); |
225 ASSERT_EQUALS(KErrNone, mobileCall.GetMobileCallStatus(callStatus)); |
230 ASSERT_EQUALS(RMobileCall::EStatusHold, callStatus); |
226 ASSERT_EQUALS(RMobileCall::EStatusHold, callStatus); |
231 ASSERT_EQUALS(KErrNone, mobileCall2.GetMobileCallStatus(callStatus)); |
227 ASSERT_EQUALS(KErrNone, mobileCall2.GetMobileCallStatus(callStatus)); |
232 ASSERT_EQUALS(RMobileCall::EStatusConnected, callStatus); |
228 ASSERT_EQUALS(RMobileCall::EStatusConnected, callStatus); |
233 |
229 |
234 // NOTE: Adopting User::After(50000) in here is because of test harness failure in the SMP (naviengine). |
|
235 // The ETel server is closing a tel object by an Active Object (CAsyncOneShot), there can be out of ordered closes in SMP. |
|
236 // Since the MockLtsy is expecting exact order of test procedure, this can be regarded as an error but it is not a part of intended testing. |
|
237 // Therefore this waiting function calls are required to close the tel objects in perfect order. |
|
238 confCall.Close(); |
230 confCall.Close(); |
239 User::After(50000); |
231 User::After(50000); |
240 mobileCall.Close(); |
232 mobileCall.Close(); |
241 User::After(50000); |
233 User::After(50000); |
242 mobileCall2.Close(); |
234 mobileCall2.Close(); |
313 ASSERT_EQUALS(KErrNone, mobileCall.GetMobileCallStatus(callStatus)); |
305 ASSERT_EQUALS(KErrNone, mobileCall.GetMobileCallStatus(callStatus)); |
314 ASSERT_EQUALS(RMobileCall::EStatusConnected, callStatus); |
306 ASSERT_EQUALS(RMobileCall::EStatusConnected, callStatus); |
315 ASSERT_EQUALS(KErrNone, mobileCall2.GetMobileCallStatus(callStatus)); |
307 ASSERT_EQUALS(KErrNone, mobileCall2.GetMobileCallStatus(callStatus)); |
316 ASSERT_EQUALS(RMobileCall::EStatusConnected, callStatus); |
308 ASSERT_EQUALS(RMobileCall::EStatusConnected, callStatus); |
317 |
309 |
318 // NOTE: Adopting User::After(50000) in here is because of test harness failure in the SMP (naviengine). |
|
319 // The ETel server is closing a tel object by an Active Object (CAsyncOneShot), there can be out of ordered closes in SMP. |
|
320 // Since the MockLtsy is expecting exact order of test procedure, this can be regarded as an error but it is not a part of intended testing. |
|
321 // Therefore this waiting function calls are required to close the tel objects in perfect order. |
|
322 confCall.Close(); |
310 confCall.Close(); |
323 User::After(50000); |
311 User::After(50000); |
324 mobileCall.Close(); |
312 mobileCall.Close(); |
325 User::After(50000); |
313 User::After(50000); |
326 mobileCall2.Close(); |
314 mobileCall2.Close(); |
405 |
393 |
406 User::WaitForRequest(notifyConfStatus); |
394 User::WaitForRequest(notifyConfStatus); |
407 ASSERT_EQUALS(KErrNone, notifyConfStatus.Int()); |
395 ASSERT_EQUALS(KErrNone, notifyConfStatus.Int()); |
408 ASSERT_EQUALS(RMobileConferenceCall::EConferenceIdle, confStatus); |
396 ASSERT_EQUALS(RMobileConferenceCall::EConferenceIdle, confStatus); |
409 |
397 |
410 // NOTE: Adopting User::After(50000) in here is because of test harness failure in the SMP (naviengine). |
|
411 // The ETel server is closing a tel object by an Active Object (CAsyncOneShot), there can be out of ordered closes in SMP. |
|
412 // Since the MockLtsy is expecting exact order of test procedure, this can be regarded as an error but it is not a part of intended testing. |
|
413 // Therefore this waiting function calls are required to close the tel objects in perfect order. |
|
414 confCall.Close(); |
398 confCall.Close(); |
415 User::After(50000); |
399 User::After(50000); |
416 mobileCall.Close(); |
400 mobileCall.Close(); |
417 User::After(50000); |
401 User::After(50000); |
418 mobileCall2.Close(); |
402 mobileCall2.Close(); |
660 |
644 |
661 RMobileConferenceCall::TMobileConferenceStatus confStatus; |
645 RMobileConferenceCall::TMobileConferenceStatus confStatus; |
662 ASSERT_EQUALS(KErrNone, confCall.GetConferenceStatus(confStatus)); |
646 ASSERT_EQUALS(KErrNone, confCall.GetConferenceStatus(confStatus)); |
663 ASSERT_EQUALS(RMobileConferenceCall::EConferenceHold, confStatus); |
647 ASSERT_EQUALS(RMobileConferenceCall::EConferenceHold, confStatus); |
664 |
648 |
665 // NOTE: Adopting User::After(50000) in here is because of test harness failure in the SMP (naviengine). |
|
666 // The ETel server is closing a tel object by an Active Object (CAsyncOneShot), there can be out of ordered closes in SMP. |
|
667 // Since the MockLtsy is expecting exact order of test procedure, this can be regarded as an error but it is not a part of intended testing. |
|
668 // Therefore this waiting function calls are required to close the tel objects in perfect order. |
|
669 confCall.Close(); |
649 confCall.Close(); |
670 User::After(50000); |
650 User::After(50000); |
671 mobileCall.Close(); |
651 mobileCall.Close(); |
672 User::After(50000); |
652 User::After(50000); |
673 mobileCall2.Close(); |
653 mobileCall2.Close(); |
760 TRequestStatus addCallStatus; |
740 TRequestStatus addCallStatus; |
761 confCall.AddCall(addCallStatus, callInfo.iCallName); |
741 confCall.AddCall(addCallStatus, callInfo.iCallName); |
762 User::WaitForRequest(addCallStatus); |
742 User::WaitForRequest(addCallStatus); |
763 ASSERT_EQUALS(KErrGeneral, addCallStatus.Int()); |
743 ASSERT_EQUALS(KErrGeneral, addCallStatus.Int()); |
764 |
744 |
765 // NOTE: Adopting User::After(50000) in here is because of test harness failure in the SMP (naviengine). |
|
766 // The ETel server is closing a tel object by an Active Object (CAsyncOneShot), there can be out of ordered closes in SMP. |
|
767 // Since the MockLtsy is expecting exact order of test procedure, this can be regarded as an error but it is not a part of intended testing. |
|
768 // Therefore this waiting function calls are required to close the tel objects in perfect order. |
|
769 confCall.Close(); |
745 confCall.Close(); |
770 User::After(50000); |
746 User::After(50000); |
771 mobileCall.Close(); |
747 mobileCall.Close(); |
772 User::After(50000); |
748 User::After(50000); |
773 mobileCall2.Close(); |
749 mobileCall2.Close(); |
892 ASSERT_EQUALS(KErrNone, mobileCall.GetMobileCallStatus(callStatus)); |
868 ASSERT_EQUALS(KErrNone, mobileCall.GetMobileCallStatus(callStatus)); |
893 ASSERT_EQUALS(RMobileCall::EStatusHold, callStatus); |
869 ASSERT_EQUALS(RMobileCall::EStatusHold, callStatus); |
894 ASSERT_EQUALS(KErrNone, mobileCall2.GetMobileCallStatus(callStatus)); |
870 ASSERT_EQUALS(KErrNone, mobileCall2.GetMobileCallStatus(callStatus)); |
895 ASSERT_EQUALS(RMobileCall::EStatusConnected, callStatus); |
871 ASSERT_EQUALS(RMobileCall::EStatusConnected, callStatus); |
896 |
872 |
897 // NOTE: Adopting User::After(50000) in here is because of test harness failure in the SMP (naviengine). |
|
898 // The ETel server is closing a tel object by an Active Object (CAsyncOneShot), there can be out of ordered closes in SMP. |
|
899 // Since the MockLtsy is expecting exact order of test procedure, this can be regarded as an error but it is not a part of intended testing. |
|
900 // Therefore this waiting function calls are required to close the tel objects in perfect order. |
|
901 mobileCall.Close(); |
873 mobileCall.Close(); |
902 User::After(50000); |
874 User::After(50000); |
903 mobileCall2.Close(); |
875 mobileCall2.Close(); |
904 User::After(50000); |
876 User::After(50000); |
905 |
877 |
1038 ASSERT_EQUALS(KErrNone, mobileCall2.GetMobileCallStatus(callStatus)); |
1010 ASSERT_EQUALS(KErrNone, mobileCall2.GetMobileCallStatus(callStatus)); |
1039 ASSERT_EQUALS(RMobileCall::EStatusConnected, callStatus); |
1011 ASSERT_EQUALS(RMobileCall::EStatusConnected, callStatus); |
1040 ASSERT_EQUALS(KErrNone, mobileCall3.GetMobileCallStatus(callStatus)); |
1012 ASSERT_EQUALS(KErrNone, mobileCall3.GetMobileCallStatus(callStatus)); |
1041 ASSERT_EQUALS(RMobileCall::EStatusHold, callStatus); |
1013 ASSERT_EQUALS(RMobileCall::EStatusHold, callStatus); |
1042 |
1014 |
1043 // NOTE: Adopting User::After(50000) in here is because of test harness failure in the SMP (naviengine). |
|
1044 // The ETel server is closing a tel object by an Active Object (CAsyncOneShot), there can be out of ordered closes in SMP. |
|
1045 // Since the MockLtsy is expecting exact order of test procedure, this can be regarded as an error but it is not a part of intended testing. |
|
1046 // Therefore this waiting function calls are required to close the tel objects in perfect order. |
|
1047 mobileCall.Close(); |
1015 mobileCall.Close(); |
1048 User::After(50000); |
1016 User::After(50000); |
1049 mobileCall2.Close(); |
1017 mobileCall2.Close(); |
1050 User::After(50000); |
1018 User::After(50000); |
1051 mobileCall3.Close(); |
1019 mobileCall3.Close(); |
1210 TRequestStatus sendStatus; |
1178 TRequestStatus sendStatus; |
1211 iPhone.SendDTMFTones(sendStatus, tones); |
1179 iPhone.SendDTMFTones(sendStatus, tones); |
1212 User::WaitForRequest(sendStatus); |
1180 User::WaitForRequest(sendStatus); |
1213 ASSERT_EQUALS(KErrNone, sendStatus.Int()); |
1181 ASSERT_EQUALS(KErrNone, sendStatus.Int()); |
1214 |
1182 |
1215 // NOTE: Adopting User::After(50000) in here is because of test harness failure in the SMP (naviengine). |
|
1216 // The ETel server is closing a tel object by an Active Object (CAsyncOneShot), there can be out of ordered closes in SMP. |
|
1217 // Since the MockLtsy is expecting exact order of test procedure, this can be regarded as an error but it is not a part of intended testing. |
|
1218 // Therefore this waiting function calls are required to close the tel objects in perfect order. |
|
1219 confCall.Close(); |
1183 confCall.Close(); |
1220 User::After(50000); |
1184 User::After(50000); |
1221 mobileCall.Close(); |
1185 mobileCall.Close(); |
1222 User::After(50000); |
1186 User::After(50000); |
1223 mobileCall2.Close(); |
1187 mobileCall2.Close(); |
1341 callIds.AppendL( callId2 ); |
1305 callIds.AppendL( callId2 ); |
1342 |
1306 |
1343 // Clean up when subsessions are closed |
1307 // Clean up when subsessions are closed |
1344 DriverCloseTwoRemotePartyConferenceAndCallSubsessionsL(callId1, callId2, callIds); |
1308 DriverCloseTwoRemotePartyConferenceAndCallSubsessionsL(callId1, callId2, callIds); |
1345 |
1309 |
1346 // NOTE: Adopting User::After(50000) in here is because of test harness failure in the SMP (naviengine). |
|
1347 // The ETel server is closing a tel object by an Active Object (CAsyncOneShot), there can be out of ordered closes in SMP. |
|
1348 // Since the MockLtsy is expecting exact order of test procedure, this can be regarded as an error but it is not a part of intended testing. |
|
1349 // Therefore this waiting function calls are required to close the tel objects in perfect order. |
|
1350 confCall.Close(); |
1310 confCall.Close(); |
1351 User::After(50000); |
1311 User::After(50000); |
1352 mobileCall.Close(); |
1312 mobileCall.Close(); |
1353 User::After(50000); |
1313 User::After(50000); |
1354 mobileCall2.Close(); |
1314 mobileCall2.Close(); |