equal
deleted
inserted
replaced
159 // -check commands |
159 // -check commands |
160 // ----------------------------------------------------------------------------- |
160 // ----------------------------------------------------------------------------- |
161 // |
161 // |
162 void ut_cphoneincoming::T_HandleWaiting() |
162 void ut_cphoneincoming::T_HandleWaiting() |
163 { |
163 { |
164 iMockContext->ExpectCallL( "TPhoneCmdParamCallStateData::CallId" ). |
164 iMockContext->ExpectCallL( "PhoneCallUtil::CallIdByState" ). |
165 ReturnsL( 1 ); |
165 ReturnsL( 1 ); |
166 iMockContext->ExpectCallL( "CPhoneStateMachine::ChangeState" ). |
166 iMockContext->ExpectCallL( "CPhoneStateMachine::ChangeState" ). |
167 WithL( EPhoneStateWaitingInSingle ); |
167 WithL( EPhoneStateWaitingInSingle ); |
168 |
168 |
169 iStateIncoming->HandlePhoneEngineMessageL( MEngineMonitor::EPEMessageIncoming, 2 ); |
169 iStateIncoming->HandlePhoneEngineMessageL( MEngineMonitor::EPEMessageIncoming, 2 ); |