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