vtuis/lcvtindicatorplugin/tsrc/ut_lcvtindicatorplugin/inc/ut_lcvtindicatorplugin.h
branchRCL_3
changeset 35 779871d1e4f4
parent 34 f15ac8e65a02
child 37 590f6f022902
equal deleted inserted replaced
34:f15ac8e65a02 35:779871d1e4f4
     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 UT_LCVTINDICATORPLUGIN_H
       
    18 #define UT_LCVTINDICATORPLUGIN_H
       
    19 
       
    20 #include <QObject>
       
    21 #include <QList>
       
    22 
       
    23 class LcVtIndicatorPlugin;
       
    24 
       
    25 class UT_LcVtIndicatorPlugin : public QObject               
       
    26 {
       
    27      Q_OBJECT
       
    28     
       
    29 private slots:
       
    30 
       
    31 /*
       
    32  * In addition, there are four private slots that are not treated as testfunctions. 
       
    33  * They will be executed by the testing framework and can be used to initialize and clean up 
       
    34  * either the entire test or the current test function.
       
    35  * 
       
    36  * initTestCase() will be called before the first testfunction is executed.
       
    37  * cleanupTestCase() will be called after the last testfunction was executed.
       
    38  * init() will be called before each testfunction is executed.
       
    39  * cleanup() will be called after every testfunction.
       
    40 */
       
    41     void initTestCase();
       
    42     void cleanupTestCase();
       
    43     void init();
       
    44     void cleanup();
       
    45 
       
    46 private slots: //test methods
       
    47      
       
    48     void testLcVtIndicatorPlugin();
       
    49     void testIndicatorTypes();
       
    50     void testAccessAllowed();
       
    51     void testCreateIndicator();
       
    52     void testError();
       
    53     void testHandleInteraction();
       
    54     void testIndicatorData();
       
    55     void testHandleClientRequest();
       
    56     void testBringVtToForeground();
       
    57     
       
    58 private:
       
    59  
       
    60     LcVtIndicatorPlugin* mLcVtIndicatorPlugin; 
       
    61 
       
    62 };
       
    63 
       
    64 
       
    65 #endif //UT_LCVTINDICATORPLUGIN_H