phoneapp/phoneuistates/tsrc/ut_cphoneconferenceandsingle/Src/ut_cphoneconferenceandsingle.cpp
--- a/phoneapp/phoneuistates/tsrc/ut_cphoneconferenceandsingle/Src/ut_cphoneconferenceandsingle.cpp Fri Sep 17 17:09:12 2010 +0300
+++ b/phoneapp/phoneuistates/tsrc/ut_cphoneconferenceandsingle/Src/ut_cphoneconferenceandsingle.cpp Mon Oct 04 16:06:10 2010 +0300
@@ -97,10 +97,12 @@
//
void ut_cphoneconferenceandsingle::T_HandleConnectedL( )
{
+ iMockContext->Reset();
+ iMockContext->ExpectCallL( "CPhoneState::UpdateCallHeaderAndUiCommandsL" ).
+ WithL<TInt> ( 2 );
iStateConferenceAndSingle->HandlePhoneEngineMessageL( MEngineMonitor::EPEMessageConnected, 2 );
- iViewCommandHandle->VerifyViewCommand( EPhoneViewUpdateBubble );
-
+ EUNIT_ASSERT_EQUALS( KErrNone, iMockContext->VerifyExpectations() );
}
// -----------------------------------------------------------------------------