phoneplugins/infowidgetplugin/infowidgetprovider/tsrc/ut_infowidgetsathandler/inc/ut_infowidgetsathandler.h
branchGCC_SURGE
changeset 51 f39ed5e045e0
parent 40 bab96b7ed1a4
parent 46 bc5a64e5bc3c
equal deleted inserted replaced
40:bab96b7ed1a4 51:f39ed5e045e0
     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_INFOWIDGETSATHANDLER_H
       
    19 #define UT_INFOWIDGETSATHANDLER_H
       
    20 
       
    21 #include <QtTest/QtTest>
       
    22 #include <mockservice.h>
       
    23 
       
    24 class InfoWidgetSatHandler;
       
    25 
       
    26 class UT_InfoWidgetSatHandler : public QObject, public MockService
       
    27 {
       
    28     Q_OBJECT
       
    29 
       
    30 public:    
       
    31     
       
    32     UT_InfoWidgetSatHandler();
       
    33     ~UT_InfoWidgetSatHandler();
       
    34     
       
    35 private slots:
       
    36 
       
    37     void init();
       
    38     void cleanup();
       
    39     
       
    40     void t_satDisplayText(); 
       
    41     void t_setSatDisplayText();
       
    42     void t_logCurrentInfo(); 
       
    43     
       
    44     void t_connect();
       
    45     void t_handleIdleModeTxtMessage();
       
    46     void t_handleSatError();
       
    47     
       
    48 private:
       
    49     
       
    50     InfoWidgetSatHandler *m_satHandler;
       
    51 
       
    52 };
       
    53 
       
    54 #endif // UT_INFOWIDGETSATHANDLER_H