diff -r 594d59766373 -r 7d48bed6ce0c phonesrv_plat/phone_client_ussd_internal_api/tsrc/mt_ussdsat.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/phonesrv_plat/phone_client_ussd_internal_api/tsrc/mt_ussdsat.h Tue Aug 31 15:45:17 2010 +0300 @@ -0,0 +1,78 @@ +/* +* 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: Implementation of the Mt_UssdSat class +* +*/ + + +#ifndef _MT_USSDSAT_H +#define _MT_USSDSAT_H + +#include +#include +#include +#include +#include +#include + + +// Class forwards +class CPhCltUssdSatClient; + +/** + * Mt_UssdSat module test class. + * + * Tests Mt_UssdSat interface. + * See cpp file for more information. + * + * @lib phoneclient.lib + * @since S60 + */ +class Mt_UssdSat : public QObject +{ + Q_OBJECT + +public: + Mt_UssdSat(); + + virtual ~Mt_UssdSat(); + +private slots: + + /** + * Called before the first testfunction is executed. + */ + void initTestCase(); + + /** + * Called after the last testfunction has been executed. + */ + void cleanupTestCase(); + + /** + * Test send sat message + */ + void testSendSatMessage(); + + /** + * Test cancel send sat message + */ + void testSendSatMessageCancel(); + +private: //data + + CPhCltUssdSatClient* mUssdSat; +}; + +#endif // _MT_USSDSAT_H