phoneplugins/infowidgetplugin/infowidgetprovider/tsrc/ut_infowidgetsathandlerprivate/inc/ut_infowidgetsathandlerprivate.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_INFOWIDGETSATHANDLERPRIVATE_H
       
    19 #define UT_INFOWIDGETSATHANDLERPRIVATE_H
       
    20 
       
    21 #include <QtTest/QtTest>
       
    22 #include <mockservice.h>
       
    23 #include <rsatservice.h>
       
    24 
       
    25 
       
    26 class InfoWidgetSatHandlerPrivate;
       
    27 class InfoWidgetSatHandler;
       
    28 
       
    29 class UT_InfoWidgetSatHandlerPrivate : public QObject, public MockService
       
    30 {
       
    31     Q_OBJECT
       
    32 
       
    33 public:    
       
    34     
       
    35     UT_InfoWidgetSatHandlerPrivate();
       
    36     ~UT_InfoWidgetSatHandlerPrivate();
       
    37     
       
    38 private slots:
       
    39 
       
    40     void init();
       
    41     void cleanup();
       
    42     
       
    43     void t_connect();
       
    44     void t_disconnect();
       
    45     void t_startObserving();
       
    46 
       
    47     void t_runL();
       
    48     void t_doCancel();
       
    49     
       
    50 private:
       
    51     
       
    52     InfoWidgetSatHandlerPrivate *m_satHandler;
       
    53     InfoWidgetSatHandler* m_iwSatHandler;
       
    54     RSatService m_satService;
       
    55 
       
    56 };
       
    57 
       
    58 #endif // UT_INFOWIDGETSATHANDLERPRIVATE_H