controlpanel/tsrc/unit/ut_cpbasesettingview/src/ut_cpbasesettingview.h
branchRCL_3
changeset 54 7e0eff37aedb
parent 53 8ee96d21d9bf
child 57 e78c61e77b1a
equal deleted inserted replaced
53:8ee96d21d9bf 54:7e0eff37aedb
     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 UT_CP_BASE_SETTING_VIEW_H
       
    19 #define UT_CP_BASE_SETTING_VIEW_H
       
    20 
       
    21 #include <QObject>
       
    22 
       
    23 class TestCpBaseSettingView : public QObject
       
    24 {
       
    25     Q_OBJECT
       
    26     
       
    27 private slots:
       
    28     void initTestCase();
       
    29     void cleanupTestCase();
       
    30     
       
    31 //public slots:
       
    32     /*!
       
    33      * Test case 1 for constructor of class CpBaseSettingView
       
    34      */
       
    35     void testCpBaseSettingViewWithNullPointer();
       
    36     /*!
       
    37      * Test case 2 for constructor of class CpBaseSettingView
       
    38      */
       
    39     void testCpBaseSettingViewWithPushButtonWidget();
       
    40     /*!
       
    41      * Test case for protected close() function
       
    42      */
       
    43     void testCloseWithoutParam();
       
    44     
       
    45     void testPrivateFunc();
       
    46 };
       
    47 
       
    48 #endif // UT_CP_BASE_SETTING_VIEW_H