diff -r 6b911d05207e -r bc5a64e5bc3c phonesettings/cpphonesettingsplugins/tsrc/mocks/mock_cpplugincommon.cpp --- a/phonesettings/cpphonesettingsplugins/tsrc/mocks/mock_cpplugincommon.cpp Wed Jun 23 18:12:20 2010 +0300 +++ b/phonesettings/cpphonesettingsplugins/tsrc/mocks/mock_cpplugincommon.cpp Tue Jul 06 14:15:47 2010 +0300 @@ -1,4 +1,4 @@ -/* +/* * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available @@ -55,7 +55,8 @@ // CpSettingsWrapper::setShowCallDuration // ----------------------------------------------------------------------------- // -int CpSettingsWrapper::setShowCallDuration( bool value ) +int CpSettingsWrapper::setShowCallDuration( + bool value ) { SMC_MOCK_METHOD1( int, bool, value ) } @@ -96,7 +97,8 @@ userDefined = true; i=1; } - SMC_MOCK_METHOD2( void, QString &, text, bool, userDefined ) + SMC_MOCK_METHOD2( void, QString &, text, + bool &, userDefined ) } @@ -105,9 +107,11 @@ // ----------------------------------------------------------------------------- // int CpSettingsWrapper::writeSoftRejectText( - const QString & text, bool userDefined ) + const QString & text, + bool userDefined ) { - SMC_MOCK_METHOD2( int, const QString &, text, bool, userDefined ) + SMC_MOCK_METHOD2( int, const QString &, text, + bool, userDefined ) } @@ -125,28 +129,41 @@ // CpSettingsWrapper::isFeatureCallWaitingDistiquishNotProvisionedEnabled // ----------------------------------------------------------------------------- // -bool CpSettingsWrapper::isFeatureCallWaitingDistiquishNotProvisionedEnabled() -{ +bool CpSettingsWrapper::isFeatureCallWaitingDistiquishNotProvisionedEnabled( ) + { SMC_MOCK_METHOD0( bool ) -} + } + // ----------------------------------------------------------------------------- // CpSettingsWrapper::isPhoneOffline // ----------------------------------------------------------------------------- // -bool CpSettingsWrapper::isPhoneOffline() const -{ +bool CpSettingsWrapper::isPhoneOffline( ) const + { SMC_MOCK_METHOD0( bool ) -} + } + // ----------------------------------------------------------------------------- // CpSettingsWrapper::isOngoingCall // ----------------------------------------------------------------------------- // -bool CpSettingsWrapper::isOngoingCall() const -{ +bool CpSettingsWrapper::isOngoingCall( ) const + { SMC_MOCK_METHOD0( bool ) -} + } + + +// ----------------------------------------------------------------------------- +// CpSettingsWrapper::forbiddenIconSupported +// ----------------------------------------------------------------------------- +// +bool CpSettingsWrapper::forbiddenIconSupported( ) const + { + SMC_MOCK_METHOD0( bool ) + } + // ----------------------------------------------------------------------------- // Tools::voipSupported @@ -167,12 +184,17 @@ SMC_MOCK_METHOD0( bool ) } + // ----------------------------------------------------------------------------- // Tools::errorCodeTextMapping // ----------------------------------------------------------------------------- // -bool Tools::errorCodeTextMapping( const int errorcode, QString & errorText ) +bool Tools::errorCodeTextMapping( + const int errorcode, + QString & errorText ) { - SMC_MOCK_METHOD2( bool, int, errorcode, QString &, errorText ) + SMC_MOCK_METHOD2( bool, const int, errorcode, + QString &, errorText ) } - + +