controlpanel/tsrc/unit/ut_cpapi/src/ut_cpapi.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 19 Mar 2010 09:34:30 +0200
changeset 18 e3554c9069b6
child 23 7e4c5a2ff1a2
permissions -rw-r--r--
Revision: 201005 Kit: 201011

/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0""
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  
*		test application for qt control panel public apis.
*/
#ifndef	__UT_CPAPI_H__
#define	__UT_CPAPI_H__

#include <QObject>

class HbMainWindow;

class TestCpAPI : public QObject
{
	Q_OBJECT
private slots:
    void initTestCase();                // initialize test data
    void testCpBaseSettingView();				// test basesettingview functions
    void testCpSettingFormEntryItemDataImpl();  //test CpSettingFormEntryItemDataImpl functions
    void testCpSettingFormItemData();           //test CpSettingFormItemData  functions
    void testItemDataHelper();    //testing item data helper class CpItemDataHelper
    void testCpPluginUtility();
    void testCpPluginLoader();    //test cppluginloader functions
    void testCpPluginInterface(); //
    void testCpLogger();          //test cplogger functions
    void cleanupTestCase();       // Finalize test data
private:
    HbMainWindow* mainWindow;
};

#endif	//__UT_CPAPI_H__