phonesettings/cpphonesettingsplugins/tsrc/mocks/mock_psetcallbarringwrapper.cpp
changeset 77 2be0b271d017
parent 37 ba76fc04e6c2
equal deleted inserted replaced
72:c76a0b1755b9 77:2be0b271d017
    71 // -----------------------------------------------------------------------------
    71 // -----------------------------------------------------------------------------
    72 // PSetCallBarringWrapper::enableBarring
    72 // PSetCallBarringWrapper::enableBarring
    73 // -----------------------------------------------------------------------------
    73 // -----------------------------------------------------------------------------
    74 //
    74 //
    75 void PSetCallBarringWrapper::enableBarring(
    75 void PSetCallBarringWrapper::enableBarring(
       
    76     int basicServiceGroup,
    76     PsServiceGroup serviceGroup,
    77     PsServiceGroup serviceGroup,
    77     BarringType barringType,
    78     BarringType barringType,
    78     QString barringPassword)
    79     QString barringPassword)
    79     {
    80     {
    80     SMC_MOCK_METHOD3( void, int/*PsServiceGroup*/, static_cast<int>(serviceGroup), 
    81     SMC_MOCK_METHOD4( void, 
       
    82         int, basicServiceGroup, 
       
    83         int/*PsServiceGroup*/, static_cast<int>(serviceGroup), 
    81         BarringType, barringType, QString, barringPassword )
    84         BarringType, barringType, QString, barringPassword )
    82     }
    85     }
    83 
    86 
    84 
    87 
    85 // -----------------------------------------------------------------------------
    88 // -----------------------------------------------------------------------------
    86 // PSetCallBarringWrapper::disableBarring
    89 // PSetCallBarringWrapper::disableBarring
    87 // -----------------------------------------------------------------------------
    90 // -----------------------------------------------------------------------------
    88 //
    91 //
    89 void PSetCallBarringWrapper::disableBarring(
    92 void PSetCallBarringWrapper::disableBarring(
       
    93     int basicServiceGroup,
    90     PsServiceGroup serviceGroup,
    94     PsServiceGroup serviceGroup,
    91     BarringType barringType,
    95     BarringType barringType,
    92     QString barringPassword)
    96     QString barringPassword)
    93     {
    97     {
    94     SMC_MOCK_METHOD3( void, int/*PsServiceGroup*/, static_cast<int>(serviceGroup), 
    98     SMC_MOCK_METHOD4( void, 
       
    99         int, basicServiceGroup, 
       
   100         int/*PsServiceGroup*/, static_cast<int>(serviceGroup), 
    95         BarringType, barringType, QString, barringPassword )
   101         BarringType, barringType, QString, barringPassword )
    96     }
   102     }
    97 
   103 
    98 // -----------------------------------------------------------------------------
   104 // -----------------------------------------------------------------------------
    99 // PSetCallBarringWrapper::changeBarringPassword
   105 // PSetCallBarringWrapper::changeBarringPassword