phonesettings/cpphonesettingsplugins/cptelephonyutils/tsrc/ut_cpplugincommon/ut_cpplugincommon.h
changeset 21 92ab7f8d0eab
child 22 6bb1b21d2484
equal deleted inserted replaced
4:c84cf270c54f 21:92ab7f8d0eab
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef UT_SSSETTINGWRAPPER_H
       
    19 #define UT_SSSETTINGWRAPPER_H
       
    20 
       
    21 #include <QtTest/QtTest>
       
    22 #include <mockservice.h>
       
    23 
       
    24 class CpSettingsWrapper;
       
    25 
       
    26 class UT_CpPluginCommon : public QObject, MockService
       
    27 {
       
    28     Q_OBJECT
       
    29 
       
    30 public:    
       
    31     UT_CpPluginCommon();
       
    32     ~UT_CpPluginCommon();
       
    33     
       
    34 private slots:
       
    35 
       
    36     void init();
       
    37     void cleanup();
       
    38     
       
    39     void t_memleak();
       
    40     
       
    41     void t_showCallDuration();
       
    42     void t_setShowCallDuration();
       
    43     void t_readSoftRejectText();
       
    44     void t_writeSoftRejectText();
       
    45     void t_numberGroupingSupported();
       
    46     
       
    47     void t_loadCpPlugin();
       
    48     void t_unloadCpPlugin();
       
    49     
       
    50     void t_voipSupported();
       
    51     void t_videoSupported();
       
    52     void t_convertEtelMobileServiceCode();
       
    53     void t_errorCodeTextMapping();
       
    54 
       
    55 private:
       
    56     CpSettingsWrapper *mWrapper;
       
    57 
       
    58 };
       
    59 
       
    60 #endif