phoneapp/phoneuistates/tsrc/ut_cphonesinglecall/Src/ut_cphonesinglecall.cpp
changeset 76 cfea66083b62
parent 74 d1c62c765e48
equal deleted inserted replaced
74:d1c62c765e48 76:cfea66083b62
   125 // -----------------------------------------------------------------------------
   125 // -----------------------------------------------------------------------------
   126 //  
   126 //  
   127 void ut_cphonesinglecall::T_HandleConnectedL( )
   127 void ut_cphonesinglecall::T_HandleConnectedL( )
   128     {
   128     {
   129     const TInt callId( 0 );
   129     const TInt callId( 0 );
   130     iMockContext->ExpectCallL("CPhoneState::UpdateUiCommands");
   130     iMockContext->ExpectCallL("CPhoneState::UpdateCallHeaderAndUiCommandsL").
   131     iMockContext->ExpectCallL("CPhoneViewCommandHandleMock::ExecuteCommandL").
   131         WithL<TInt>(callId);
   132         WithL<TPhoneViewCommandId, TInt>(EPhoneViewUpdateBubble, callId);
       
   133         
   132         
   134     iStateSingleCall->HandlePhoneEngineMessageL( MEngineMonitor::EPEMessageConnected, callId );   
   133     iStateSingleCall->HandlePhoneEngineMessageL( MEngineMonitor::EPEMessageConnected, callId );   
   135     
   134     
   136     EUNIT_ASSERT_EQUALS( KErrNone, iMockContext->VerifyExpectations() );
   135     EUNIT_ASSERT_EQUALS( KErrNone, iMockContext->VerifyExpectations() );
   137      
   136