controlpanel/tsrc/unit/ut_cpitemdatahelper/src/ut_cpitemdatahelper.h
branchRCL_3
changeset 24 8ee96d21d9bf
equal deleted inserted replaced
23:8bda91a87a00 24:8ee96d21d9bf
       
     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 *       test application for qt control panel public apis.
       
    16 */
       
    17 
       
    18 #ifndef TEST_CP_ITEM_DATA_HELPER_H
       
    19 #define TEST_CP_ITEM_DATA_HELPER_H
       
    20 
       
    21 #include <QObject>
       
    22 
       
    23 class TestCpItemDataHelper : public QObject
       
    24 {
       
    25     Q_OBJECT
       
    26     
       
    27 private slots:
       
    28     void initTestCase();
       
    29     void cleanupTestCase();
       
    30 
       
    31 //public slots:
       
    32     void testCpItemDataHelperWithNullPointer();
       
    33     void testCpItemDataHelperWithDataForm();
       
    34     
       
    35     void testBindToFormWithDataForm();
       
    36     
       
    37     void testAddItemPrototypeWithNullPointer1();
       
    38     void testAddItemPrototypeWithViewItem1();
       
    39     void testAddItemPrototypeWithNullPointer2();
       
    40     void testAddItemPrototypeWithViewItem2();
       
    41     
       
    42     void testAddConnectionWithnoDataForm();
       
    43     void testAddConnectionWithDataForm();
       
    44     
       
    45     void testRemoveConnectionNoDataForm();
       
    46     void testRemoveConnectionWithDataForm();
       
    47     
       
    48     void testConnectToFormNoDataForm();
       
    49     void testConnectToFormWithDataForm();
       
    50     
       
    51     void testDisconnectToFormNoDataForm();
       
    52     void testDisconnectToFormWithDataForm();
       
    53     
       
    54     void testWidgetFromModelIndexWithDataForm();
       
    55     void testWidgetFromModelIndexNoDataForm();
       
    56     void testWidgetFromModelIndexWithDataFormBinded();
       
    57     
       
    58     void testModelItemFromModelIndexWithDataForm();
       
    59     void testModelItemFromModelIndexNoDataForm();
       
    60     void testModelItemFromModelIndexWithModel();
       
    61 };
       
    62 
       
    63 #endif // TEST_CP_ITEM_DATA_HELPER_H