phoneapp/phoneuicontrol/tsrc/ut_cphoneuicommandmanager/Src/ut_cphoneuicommandmanager.cpp
--- a/phoneapp/phoneuicontrol/tsrc/ut_cphoneuicommandmanager/Src/ut_cphoneuicommandmanager.cpp Mon Oct 04 16:06:10 2010 +0300
+++ b/phoneapp/phoneuicontrol/tsrc/ut_cphoneuicommandmanager/Src/ut_cphoneuicommandmanager.cpp Fri Oct 15 12:58:46 2010 +0300
@@ -168,7 +168,8 @@
*/
void ut_cphoneuicommandmanager::T_UpdateUiCommands( )
{
- /*expect call from SetButtonFlags*/
+ /*expect call from SetButtonFlags*/
+ iMockContext->ExpectCallL( "PhoneCallUtil::CallIdByState" ).ReturnsL(KErrNotFound);
TPhoneCmdParamBoolean muteParam;
iMockContext->ExpectCallL( "CPhoneViewCommandHandleMock::ExecuteCommand" ).
WithL<TPhoneViewCommandId, TPhoneCommandParam&> ( EPhoneViewSetMuteFlag, muteParam );