phonesrv_plat/phone_client_ussd_api/tsrc/mt_ussd.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 31 Aug 2010 15:45:17 +0300
branchRCL_3
changeset 19 7d48bed6ce0c
permissions -rw-r--r--
Revision: 201033 Kit: 201035

/*
* Copyright (c) 2009 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:  Implementation of the Mt_Ussd class
*
*/


#ifndef _MT_USSD_H
#define _MT_USSD_H

#include <QtTest/QtTest>
#include <QString>
#include <QStringList>
#include <QSignalSpy>
#include <QMetaType>
#include <QObject>


// Class forwards
class CPhCltUssd;

/**
 *  Mt_Ussd module test class.
 * 
 *  Tests Mt_Ussd interface.
 *  See cpp file for more information. 
 *
 *  @lib phoneclient.lib
 *  @since S60 <TB10.1>
 */
class Mt_Ussd : public QObject
{
    Q_OBJECT

public:
    Mt_Ussd();

    virtual ~Mt_Ussd();

private slots: 

     /**
     * Called before the first testfunction is executed.
     */
    void initTestCase();

     /**
     * Called after the last testfunction has been executed.
     */
    void cleanupTestCase();

    /**
	* Test SendUssd with Unicode string
	*/
    void testSendUssdUnicode();
    
	/**
	* Test sendUssd
	*/    
    void testSendUssd();
    
	/**
	* Test sendUssd with given DCS
	*/    
    void testSendUssdWithDCS();
    
	/**
	* Test sendUssd by BTN string
	*/    
    void testSendUssdBtn();

	/**
	* Test sendUssd by CMCC string
	*/    
    void testSendUssdCmcc();    
    
	
private:  //data

    CPhCltUssd* mUssd;
};

#endif // _MT_VMBXENGINE_H