telephonyserverplugins/common_tsy/test/component/src/cctsycallinformationfu.cpp
branchRCL_3
changeset 8 3f227a47ad75
parent 0 3553901f7fa8
equal deleted inserted replaced
7:fe8b59ab9fa0 8:3f227a47ad75
   277     params.iSpeakerVolume = RCall::EMonitorSpeakerVolumeMedium;
   277     params.iSpeakerVolume = RCall::EMonitorSpeakerVolumeMedium;
   278     params.iWaitForDialTone = RCall::EDialToneWait;
   278     params.iWaitForDialTone = RCall::EDialToneWait;
   279     
   279     
   280    	RMobileCall::TMobileCallInfoV8 callInfo;
   280    	RMobileCall::TMobileCallInfoV8 callInfo;
   281 	callInfo.iDialledParty.iTelNumber.Copy(KNum);
   281 	callInfo.iDialledParty.iTelNumber.Copy(KNum);
   282 	callInfo.iRemoteParty.iDirection = RMobileCall::EMobileTerminated;
   282 	callInfo.iRemoteParty.iDirection = RMobileCall::EDirectionUnknown;
   283 	callInfo.iService = mobileService;
   283 	callInfo.iService = mobileService;
   284 	callInfo.iValid = RMobileCall::KCallDialledParty | RMobileCall::KCallAlternating;
   284 	callInfo.iValid = RMobileCall::KCallDialledParty | RMobileCall::KCallAlternating;
   285 	callInfo.iAlternatingCall = RMobilePhone::EAlternatingModeUnspecified;
   285 	callInfo.iAlternatingCall = RMobilePhone::EAlternatingModeUnspecified;
   286 	
   286 	
   287 	// Dialing and Verfication of params for TMobileCallParamsV1
   287 	// Dialing and Verfication of params for TMobileCallParamsV1
  1154     params.iSpeakerVolume = RCall::EMonitorSpeakerVolumeMedium;
  1154     params.iSpeakerVolume = RCall::EMonitorSpeakerVolumeMedium;
  1155     params.iWaitForDialTone = RCall::EDialToneWait;
  1155     params.iWaitForDialTone = RCall::EDialToneWait;
  1156    
  1156    
  1157   	RMobileCall::TMobileCallInfoV8 callInfo;
  1157   	RMobileCall::TMobileCallInfoV8 callInfo;
  1158   	callInfo.iDialledParty.iTelNumber.Copy(KNum);
  1158   	callInfo.iDialledParty.iTelNumber.Copy(KNum);
  1159   	callInfo.iRemoteParty.iDirection = RMobileCall::EMobileTerminated;
  1159   	callInfo.iRemoteParty.iDirection = RMobileCall::EDirectionUnknown;
  1160   	callInfo.iService = mobileService;
  1160   	callInfo.iService = mobileService;
  1161   	callInfo.iValid = RMobileCall::KCallDialledParty | RMobileCall::KCallAlternating;
  1161   	callInfo.iValid = RMobileCall::KCallDialledParty | RMobileCall::KCallAlternating;
  1162   	callInfo.iAlternatingCall = RMobilePhone::EAlternatingModeUnspecified;
  1162   	callInfo.iAlternatingCall = RMobilePhone::EAlternatingModeUnspecified;
  1163 
  1163 
  1164    	call2.Dial(requestStatus, paramsPckg, callInfo.iDialledParty.iTelNumber);
  1164    	call2.Dial(requestStatus, paramsPckg, callInfo.iDialledParty.iTelNumber);
  2333     callParams.iWaitForDialTone = RCall::EDialToneWait;
  2333     callParams.iWaitForDialTone = RCall::EDialToneWait;
  2334     
  2334     
  2335 	RMobileCall::TMobileCallInfoV8 callInfo;
  2335 	RMobileCall::TMobileCallInfoV8 callInfo;
  2336 	
  2336 	
  2337 	callInfo.iDialledParty.iTelNumber.Copy(KNum);
  2337 	callInfo.iDialledParty.iTelNumber.Copy(KNum);
  2338 	callInfo.iRemoteParty.iDirection = RMobileCall::EMobileTerminated;
  2338 	callInfo.iRemoteParty.iDirection = RMobileCall::EDirectionUnknown;
  2339 	callInfo.iService = mobileService;
  2339 	callInfo.iService = mobileService;
  2340 	callInfo.iValid = RMobileCall::KCallDialledParty | RMobileCall::KCallAlternating;
  2340 	callInfo.iValid = RMobileCall::KCallDialledParty | RMobileCall::KCallAlternating;
  2341 	
  2341 	
  2342 	TMockLtsyCallData2<RMobileCall::TMobileCallParamsV7, RMobileCall::TMobileCallInfoV8> 
  2342 	TMockLtsyCallData2<RMobileCall::TMobileCallParamsV7, RMobileCall::TMobileCallInfoV8> 
  2343 		dialData(-1, mobileService, callParams, callInfo);
  2343 		dialData(-1, mobileService, callParams, callInfo);