tsdevicedialog/tsdevicedialogplugin/tsrc/t_tsdevicedialogplugin/t_tsdevicedialogplugin.h
changeset 117 c63ee96dbe5f
equal deleted inserted replaced
115:3ab5c078b490 117:c63ee96dbe5f
       
     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 #ifndef T_TSDEVICEDIALOGPLUGIN_H
       
    18 #define T_TSDEVICEDIALOGPLUGIN_H
       
    19 
       
    20 #include <QObject>
       
    21 
       
    22 #include <HbMainWindow>
       
    23 
       
    24 /**
       
    25 * @test Test class for TsDeviceDialogPlugin
       
    26 */
       
    27 class T_TsDeviceDialogPlugin : public QObject
       
    28 {
       
    29     Q_OBJECT
       
    30 
       
    31 private slots:
       
    32     void testCreation();
       
    33     void testAccessAllowed();
       
    34     void testDialogInfo();
       
    35     void testDialogTypes();
       
    36     void testPluginFlags();
       
    37     void testError();
       
    38     void testCreateDialog();
       
    39     void testNoCrashOnOrientationChange();
       
    40     void testCreateDeviceDialogTwoTimes();
       
    41     void testCorrectSignalSenderIsReturned();
       
    42     void testDialogSendsItsStatusNotifications();
       
    43     void testDialogCanBeDismissedThroughProperty();
       
    44 
       
    45 private:
       
    46     HbMainWindow mMainWindow;
       
    47     
       
    48 };
       
    49 
       
    50 #endif //T_TSDEVICEDIALOGPLUGIN_H