phonesrv_plat/phone_client_ussd_internal_api/tsrc/mt_ussdsat.h
branchRCL_3
changeset 20 987c9837762f
parent 19 7d48bed6ce0c
child 21 0a6dd2dc9970
equal deleted inserted replaced
19:7d48bed6ce0c 20:987c9837762f
     1 /*
       
     2 * Copyright (c) 2010 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:  Implementation of the Mt_UssdSat class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef _MT_USSDSAT_H
       
    20 #define _MT_USSDSAT_H
       
    21 
       
    22 #include <QtTest/QtTest>
       
    23 #include <QString>
       
    24 #include <QStringList>
       
    25 #include <QSignalSpy>
       
    26 #include <QMetaType>
       
    27 #include <QObject>
       
    28 
       
    29 
       
    30 // Class forwards
       
    31 class CPhCltUssdSatClient;
       
    32 
       
    33 /**
       
    34  *  Mt_UssdSat module test class.
       
    35  * 
       
    36  *  Tests Mt_UssdSat interface.
       
    37  *  See cpp file for more information. 
       
    38  *
       
    39  *  @lib phoneclient.lib
       
    40  *  @since S60 <TB10.1>
       
    41  */
       
    42 class Mt_UssdSat : public QObject
       
    43 {
       
    44     Q_OBJECT
       
    45 
       
    46 public:
       
    47     Mt_UssdSat();
       
    48 
       
    49     virtual ~Mt_UssdSat();
       
    50 
       
    51 private slots: 
       
    52 
       
    53      /**
       
    54      * Called before the first testfunction is executed.
       
    55      */
       
    56     void initTestCase();
       
    57 
       
    58      /**
       
    59      * Called after the last testfunction has been executed.
       
    60      */
       
    61     void cleanupTestCase();
       
    62 
       
    63     /**
       
    64 	* Test send sat message
       
    65 	*/
       
    66     void testSendSatMessage();
       
    67     
       
    68 	/**
       
    69 	* Test cancel send sat message
       
    70 	*/    
       
    71     void testSendSatMessageCancel();
       
    72     
       
    73 private:  //data
       
    74 
       
    75     CPhCltUssdSatClient* mUssdSat;
       
    76 };
       
    77 
       
    78 #endif // _MT_USSDSAT_H