phoneapp/phoneuistates/tsrc/ut_cphoneconference/Src/ut_cphoneconference.cpp
changeset 76 cfea66083b62
parent 74 d1c62c765e48
equal deleted inserted replaced
74:d1c62c765e48 76:cfea66083b62
    98 // -check commands
    98 // -check commands
    99 // -----------------------------------------------------------------------------
    99 // -----------------------------------------------------------------------------
   100 //  
   100 //  
   101 void ut_cphoneconference::T_HandleConnectedL(  )
   101 void ut_cphoneconference::T_HandleConnectedL(  )
   102     {
   102     {
   103     
   103     iMockContext->Reset();
       
   104     iMockContext->ExpectCallL( "CPhoneState::UpdateCallHeader" ).
       
   105              WithL<TInt> ( 2 );
   104     iStateConference->HandlePhoneEngineMessageL( MEngineMonitor::EPEMessageConnected, 2 );
   106     iStateConference->HandlePhoneEngineMessageL( MEngineMonitor::EPEMessageConnected, 2 );
   105 
   107 
   106     iViewCommandHandle->VerifyViewCommand( EPhoneViewUpdateBubble );
   108     EUNIT_ASSERT_EQUALS( KErrNone, iMockContext->VerifyExpectations() );
   107     
       
   108     }
   109     }
   109 
   110 
   110 // -----------------------------------------------------------------------------
   111 // -----------------------------------------------------------------------------
   111 // Test  idle
   112 // Test  idle
   112 // -check commands
   113 // -check commands