vmbx/vmbxcpplugin/tsrc/inc/ut_vmbxcpplugin.h
changeset 19 e44a8c097b15
parent 13 e32024264ebb
equal deleted inserted replaced
15:d7fc66ccd6fb 19:e44a8c097b15
    19 #ifndef UT_VMBXCPPLUGIN_H
    19 #ifndef UT_VMBXCPPLUGIN_H
    20 #define UT_VMBXCPPLUGIN_H
    20 #define UT_VMBXCPPLUGIN_H
    21 
    21 
    22 // System includes
    22 // System includes
    23 #include <QtTest/QtTest>
    23 #include <QtTest/QtTest>
    24 #include <QString>
       
    25 #include <QStringList>
       
    26 #include <QSignalSpy>
       
    27 #include <QMetaType>
       
    28 #include <QObject>
    24 #include <QObject>
    29 
    25 
    30 
       
    31 // Class forwards
       
    32 class VmbxCpPlugin;
       
    33 class VmbxCpGroup;
       
    34 
       
    35 /*!
    26 /*!
    36     Mt_vmbxEngine module test class.
    27     Ut_vmbxCpPlugin module test class.
    37 
    28 
    38     Tests Ut_vmbxCpPlugin interface.
    29     Tests Ut_vmbxCpPlugin interface.
    39     See cpp file for more information.
    30     See cpp file for more information.
    40 
    31 
    41     @lib Ut_vmbxCpPlugin.lib
    32     @lib Ut_vmbxCpPlugin.lib
    44 // Class declaration
    35 // Class declaration
    45 class Ut_vmbxCpPlugin : public QObject
    36 class Ut_vmbxCpPlugin : public QObject
    46 {
    37 {
    47     Q_OBJECT
    38     Q_OBJECT
    48 
    39 
    49 public:
       
    50     Ut_vmbxCpPlugin();
       
    51 
       
    52     virtual ~Ut_vmbxCpPlugin();
       
    53 
       
    54 private slots: 
    40 private slots: 
    55 
       
    56     /*!
       
    57         Called before the first testfunction is executed.
       
    58     */
       
    59     void initTestCase();
       
    60 
       
    61     /*!
       
    62         Called after the last testfunction has been executed.
       
    63     */
       
    64     void cleanupTestCase();
       
    65 
    41 
    66     /*!
    42     /*!
    67         Test method in VmbxCpPlugin
    43         Test method in VmbxCpPlugin
    68     */
    44     */
    69     void testCreateSettingFormItemData();
    45     void testCreateSettingFormItemData();
    70 
    46     
    71 private:  //data
       
    72 
       
    73     /*!
    47     /*!
    74         Own.
    48         Test method in VmbxCpGroup
    75     */
    49     */    
    76     VmbxCpPlugin *mCpPlugin;
    50     void testCreateVmbxCpGroup();
    77 
       
    78 };
    51 };
    79 
    52 
    80 #endif // _UT_VMBXCPPLUGIN_H
    53 #endif // _UT_VMBXCPPLUGIN_H