phonesettings/cpphonesettingsplugins/cptelephonyutils/tsrc/ut_cpplugincommon/ut_cpplugincommon.h
author hgs
Fri, 15 Oct 2010 12:58:46 +0300
changeset 78 baacf668fe89
parent 76 cfea66083b62
permissions -rw-r--r--
201041

/*
* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:
*
*/

#ifndef UT_SSSETTINGWRAPPER_H
#define UT_SSSETTINGWRAPPER_H

#include <QtTest/QtTest>
#include <mockservice.h>

class SettingsWrapper;

class UT_CpPluginCommon : public QObject, MockService
{
    Q_OBJECT

public:    
    UT_CpPluginCommon();
    ~UT_CpPluginCommon();
    
private slots:

    void init();
    void cleanup();
    
    void t_memleak();
    
    void t_showCallDuration();
    void t_setShowCallDuration();
    void t_readSoftRejectText();
    void t_writeSoftRejectText();
    void t_numberGroupingSupported();
    
    void t_voipSupported();
    void t_videoSupported();
    
    void t_readVtVideoSending();
    void t_writeVtVideoSending();
    
    void t_isFeatureCallWaitingDistiquishNotProvisionedEnabled();
    void t_isPhoneOffline();
    void t_isOngoingCall();
    void t_forbiddenIconSupported();
    void t_isConnectedToNetwork();

private:
    SettingsWrapper *mWrapper;

};

#endif