controlpanel/tsrc/unit/ut_cpdataformbuttonentryviewitem/src/ut_cpdataformbuttonentryviewitem.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_DATAFORM_BUTTONENTRY_VIEWITEM_H
       
    19 #define TEST_CP_DATAFORM_BUTTONENTRY_VIEWITEM_H
       
    20 
       
    21 #include <QObject>
       
    22 
       
    23 class HbMainWindow;
       
    24 
       
    25 class TestCpDataFormButtonEntryViewItem : public QObject
       
    26 {
       
    27     Q_OBJECT
       
    28     
       
    29 private slots:
       
    30     void initTestCase();
       
    31     void cleanupTestCase();
       
    32 
       
    33 //public slots:
       
    34     void testCpDataFormButtonEntryViewItemWithDataFormParent();
       
    35     void testCpDataFormButtonEntryViewItemWithNullParent();
       
    36     void testCpDataFormButtonEntryViewItemWithCopyConstructor();
       
    37     
       
    38     void testCreateItemWithDataForm();
       
    39     void testCreateItemNoDataForm();
       
    40     
       
    41     void testAssignmentOperatorWithOtherObject();
       
    42     void testAssignmentOperatorBySelf();
       
    43     
       
    44     void testCreateCustomedWidgetWithDataForm();
       
    45     
       
    46 private:
       
    47     HbMainWindow* mainWindow;
       
    48 };
       
    49 
       
    50 #endif // TEST_CP_DATAFORM_BUTTONENTRY_VIEWITEM_H