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. |
149 confCall.Close(); |
153 confCall.Close(); |
150 User::After(50000); |
154 User::After(50000); |
151 mobileCall.Close(); |
155 mobileCall.Close(); |
152 User::After(50000); |
156 User::After(50000); |
153 mobileCall2.Close(); |
157 mobileCall2.Close(); |
225 ASSERT_EQUALS(KErrNone, mobileCall.GetMobileCallStatus(callStatus)); |
229 ASSERT_EQUALS(KErrNone, mobileCall.GetMobileCallStatus(callStatus)); |
226 ASSERT_EQUALS(RMobileCall::EStatusHold, callStatus); |
230 ASSERT_EQUALS(RMobileCall::EStatusHold, callStatus); |
227 ASSERT_EQUALS(KErrNone, mobileCall2.GetMobileCallStatus(callStatus)); |
231 ASSERT_EQUALS(KErrNone, mobileCall2.GetMobileCallStatus(callStatus)); |
228 ASSERT_EQUALS(RMobileCall::EStatusConnected, callStatus); |
232 ASSERT_EQUALS(RMobileCall::EStatusConnected, callStatus); |
229 |
233 |
|
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. |
230 confCall.Close(); |
238 confCall.Close(); |
231 User::After(50000); |
239 User::After(50000); |
232 mobileCall.Close(); |
240 mobileCall.Close(); |
233 User::After(50000); |
241 User::After(50000); |
234 mobileCall2.Close(); |
242 mobileCall2.Close(); |
305 ASSERT_EQUALS(KErrNone, mobileCall.GetMobileCallStatus(callStatus)); |
313 ASSERT_EQUALS(KErrNone, mobileCall.GetMobileCallStatus(callStatus)); |
306 ASSERT_EQUALS(RMobileCall::EStatusConnected, callStatus); |
314 ASSERT_EQUALS(RMobileCall::EStatusConnected, callStatus); |
307 ASSERT_EQUALS(KErrNone, mobileCall2.GetMobileCallStatus(callStatus)); |
315 ASSERT_EQUALS(KErrNone, mobileCall2.GetMobileCallStatus(callStatus)); |
308 ASSERT_EQUALS(RMobileCall::EStatusConnected, callStatus); |
316 ASSERT_EQUALS(RMobileCall::EStatusConnected, callStatus); |
309 |
317 |
|
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. |
310 confCall.Close(); |
322 confCall.Close(); |
311 User::After(50000); |
323 User::After(50000); |
312 mobileCall.Close(); |
324 mobileCall.Close(); |
313 User::After(50000); |
325 User::After(50000); |
314 mobileCall2.Close(); |
326 mobileCall2.Close(); |
393 |
405 |
394 User::WaitForRequest(notifyConfStatus); |
406 User::WaitForRequest(notifyConfStatus); |
395 ASSERT_EQUALS(KErrNone, notifyConfStatus.Int()); |
407 ASSERT_EQUALS(KErrNone, notifyConfStatus.Int()); |
396 ASSERT_EQUALS(RMobileConferenceCall::EConferenceIdle, confStatus); |
408 ASSERT_EQUALS(RMobileConferenceCall::EConferenceIdle, confStatus); |
397 |
409 |
|
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. |
398 confCall.Close(); |
414 confCall.Close(); |
399 User::After(50000); |
415 User::After(50000); |
400 mobileCall.Close(); |
416 mobileCall.Close(); |
401 User::After(50000); |
417 User::After(50000); |
402 mobileCall2.Close(); |
418 mobileCall2.Close(); |
644 |
660 |
645 RMobileConferenceCall::TMobileConferenceStatus confStatus; |
661 RMobileConferenceCall::TMobileConferenceStatus confStatus; |
646 ASSERT_EQUALS(KErrNone, confCall.GetConferenceStatus(confStatus)); |
662 ASSERT_EQUALS(KErrNone, confCall.GetConferenceStatus(confStatus)); |
647 ASSERT_EQUALS(RMobileConferenceCall::EConferenceHold, confStatus); |
663 ASSERT_EQUALS(RMobileConferenceCall::EConferenceHold, confStatus); |
648 |
664 |
|
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. |
649 confCall.Close(); |
669 confCall.Close(); |
650 User::After(50000); |
670 User::After(50000); |
651 mobileCall.Close(); |
671 mobileCall.Close(); |
652 User::After(50000); |
672 User::After(50000); |
653 mobileCall2.Close(); |
673 mobileCall2.Close(); |
740 TRequestStatus addCallStatus; |
760 TRequestStatus addCallStatus; |
741 confCall.AddCall(addCallStatus, callInfo.iCallName); |
761 confCall.AddCall(addCallStatus, callInfo.iCallName); |
742 User::WaitForRequest(addCallStatus); |
762 User::WaitForRequest(addCallStatus); |
743 ASSERT_EQUALS(KErrGeneral, addCallStatus.Int()); |
763 ASSERT_EQUALS(KErrGeneral, addCallStatus.Int()); |
744 |
764 |
|
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. |
745 confCall.Close(); |
769 confCall.Close(); |
746 User::After(50000); |
770 User::After(50000); |
747 mobileCall.Close(); |
771 mobileCall.Close(); |
748 User::After(50000); |
772 User::After(50000); |
749 mobileCall2.Close(); |
773 mobileCall2.Close(); |
868 ASSERT_EQUALS(KErrNone, mobileCall.GetMobileCallStatus(callStatus)); |
892 ASSERT_EQUALS(KErrNone, mobileCall.GetMobileCallStatus(callStatus)); |
869 ASSERT_EQUALS(RMobileCall::EStatusHold, callStatus); |
893 ASSERT_EQUALS(RMobileCall::EStatusHold, callStatus); |
870 ASSERT_EQUALS(KErrNone, mobileCall2.GetMobileCallStatus(callStatus)); |
894 ASSERT_EQUALS(KErrNone, mobileCall2.GetMobileCallStatus(callStatus)); |
871 ASSERT_EQUALS(RMobileCall::EStatusConnected, callStatus); |
895 ASSERT_EQUALS(RMobileCall::EStatusConnected, callStatus); |
872 |
896 |
|
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. |
873 mobileCall.Close(); |
901 mobileCall.Close(); |
874 User::After(50000); |
902 User::After(50000); |
875 mobileCall2.Close(); |
903 mobileCall2.Close(); |
876 User::After(50000); |
904 User::After(50000); |
877 |
905 |
1010 ASSERT_EQUALS(KErrNone, mobileCall2.GetMobileCallStatus(callStatus)); |
1038 ASSERT_EQUALS(KErrNone, mobileCall2.GetMobileCallStatus(callStatus)); |
1011 ASSERT_EQUALS(RMobileCall::EStatusConnected, callStatus); |
1039 ASSERT_EQUALS(RMobileCall::EStatusConnected, callStatus); |
1012 ASSERT_EQUALS(KErrNone, mobileCall3.GetMobileCallStatus(callStatus)); |
1040 ASSERT_EQUALS(KErrNone, mobileCall3.GetMobileCallStatus(callStatus)); |
1013 ASSERT_EQUALS(RMobileCall::EStatusHold, callStatus); |
1041 ASSERT_EQUALS(RMobileCall::EStatusHold, callStatus); |
1014 |
1042 |
|
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. |
1015 mobileCall.Close(); |
1047 mobileCall.Close(); |
1016 User::After(50000); |
1048 User::After(50000); |
1017 mobileCall2.Close(); |
1049 mobileCall2.Close(); |
1018 User::After(50000); |
1050 User::After(50000); |
1019 mobileCall3.Close(); |
1051 mobileCall3.Close(); |
1178 TRequestStatus sendStatus; |
1210 TRequestStatus sendStatus; |
1179 iPhone.SendDTMFTones(sendStatus, tones); |
1211 iPhone.SendDTMFTones(sendStatus, tones); |
1180 User::WaitForRequest(sendStatus); |
1212 User::WaitForRequest(sendStatus); |
1181 ASSERT_EQUALS(KErrNone, sendStatus.Int()); |
1213 ASSERT_EQUALS(KErrNone, sendStatus.Int()); |
1182 |
1214 |
|
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. |
1183 confCall.Close(); |
1219 confCall.Close(); |
1184 User::After(50000); |
1220 User::After(50000); |
1185 mobileCall.Close(); |
1221 mobileCall.Close(); |
1186 User::After(50000); |
1222 User::After(50000); |
1187 mobileCall2.Close(); |
1223 mobileCall2.Close(); |
1305 callIds.AppendL( callId2 ); |
1341 callIds.AppendL( callId2 ); |
1306 |
1342 |
1307 // Clean up when subsessions are closed |
1343 // Clean up when subsessions are closed |
1308 DriverCloseTwoRemotePartyConferenceAndCallSubsessionsL(callId1, callId2, callIds); |
1344 DriverCloseTwoRemotePartyConferenceAndCallSubsessionsL(callId1, callId2, callIds); |
1309 |
1345 |
|
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. |
1310 confCall.Close(); |
1350 confCall.Close(); |
1311 User::After(50000); |
1351 User::After(50000); |
1312 mobileCall.Close(); |
1352 mobileCall.Close(); |
1313 User::After(50000); |
1353 User::After(50000); |
1314 mobileCall2.Close(); |
1354 mobileCall2.Close(); |