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