controlpanel/tsrc/unit/ut_cpapi/src/ut_cpapi.h
branchRCL_3
changeset 25 7e0eff37aedb
parent 24 8ee96d21d9bf
child 26 e78c61e77b1a
equal deleted inserted replaced
24:8ee96d21d9bf 25: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 #ifndef	UT_CPAPI_H
       
    18 #define	UT_CPAPI_H
       
    19 
       
    20 #include <QObject>
       
    21 
       
    22 class HbMainWindow;
       
    23 
       
    24 class TestCpAPI : public QObject
       
    25 {
       
    26 	Q_OBJECT
       
    27 private slots:
       
    28     void initTestCase();                // initialize test data
       
    29     
       
    30     void testCpBaseSettingView();				// test basesettingview functions
       
    31     void testCpSettingFormEntryItemData();
       
    32     void testCpSettingFormEntryItemDataImpl();  //test CpSettingFormEntryItemDataImpl functions    
       
    33     void testCpSettingFormItemData_data(); // provide data for "testCpSettingFormItemData()"
       
    34     void testCpSettingFormItemData();           //test CpSettingFormItemData    
       
    35     void testItemDataHelper();    //testing itemdatahelper class CpItemDataHelper
       
    36     void testCpPluginUtility();
       
    37     void testCpPluginLoader();    //test cppluginloader functions
       
    38     void testCpPluginInterface(); // test cpplugininterface functions
       
    39     void testCpLancherInterface(); // test the cpLancherInterface class
       
    40     void testCpLogger();          //test cplogger functions
       
    41     void cleanupTestCase();       // Finalize test data
       
    42 private:
       
    43     HbMainWindow* mainWindow;
       
    44 };
       
    45 
       
    46 #endif	//UT_CPAPI_H