phoneapp/phoneuistates/tsrc/ut_cphoneconferenceandcallsetup/Src/ut_cphoneconferenceandcallsetup.cpp
equal
deleted
inserted
replaced
97 // -check commands |
97 // -check commands |
98 // ----------------------------------------------------------------------------- |
98 // ----------------------------------------------------------------------------- |
99 // |
99 // |
100 void ut_cphoneconferenceandcallsetup::T_HandleConnectedL( ) |
100 void ut_cphoneconferenceandcallsetup::T_HandleConnectedL( ) |
101 { |
101 { |
|
102 iMockContext->Reset(); |
|
103 iMockContext->ExpectCallL( "CPhoneState::UpdateCallHeaderAndUiCommandsL" ). |
|
104 WithL<TInt> ( 2 ); |
102 iStateConferenceAndCallSetup->HandlePhoneEngineMessageL( MEngineMonitor::EPEMessageConnected, 2 ); |
105 iStateConferenceAndCallSetup->HandlePhoneEngineMessageL( MEngineMonitor::EPEMessageConnected, 2 ); |
103 |
106 |
104 iViewCommandHandle->VerifyViewCommand( EPhoneViewUpdateBubble ); |
107 EUNIT_ASSERT_EQUALS( KErrNone, iMockContext->VerifyExpectations() ); |
105 |
|
106 } |
108 } |
107 |
109 |
108 // ----------------------------------------------------------------------------- |
110 // ----------------------------------------------------------------------------- |
109 // Test idle |
111 // Test idle |
110 // -check commands |
112 // -check commands |