31
|
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 |
*/
|
37
|
17 |
#ifndef UT_CPAPI_H
|
|
18 |
#define UT_CPAPI_H
|
31
|
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 |
void testCpBaseSettingView(); // test basesettingview functions
|
|
30 |
void testCpSettingFormEntryItemDataImpl(); //test CpSettingFormEntryItemDataImpl functions
|
|
31 |
void testCpSettingFormItemData(); //test CpSettingFormItemData functions
|
|
32 |
void testItemDataHelper(); //testing item data helper class CpItemDataHelper
|
32
|
33 |
void testCpPluginUtility();
|
|
34 |
void testCpPluginLoader(); //test cppluginloader functions
|
|
35 |
void testCpPluginInterface(); //
|
|
36 |
void testCpLogger(); //test cplogger functions
|
31
|
37 |
void cleanupTestCase(); // Finalize test data
|
|
38 |
private:
|
|
39 |
HbMainWindow* mainWindow;
|
|
40 |
};
|
|
41 |
|
37
|
42 |
#endif //UT_CPAPI_H
|