controlpanel/tsrc/unit/ut_cpbasesettingview/src/ut_cpbasesettingview.h
changeset 52 58cebe0861a8
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/controlpanel/tsrc/unit/ut_cpbasesettingview/src/ut_cpbasesettingview.h	Tue Aug 24 10:30:25 2010 +0800
@@ -0,0 +1,48 @@
+/*
+* 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_CP_BASE_SETTING_VIEW_H
+#define UT_CP_BASE_SETTING_VIEW_H
+
+#include <QObject>
+
+class TestCpBaseSettingView : public QObject
+{
+    Q_OBJECT
+    
+private slots:
+    void initTestCase();
+    void cleanupTestCase();
+    
+//public slots:
+    /*!
+     * Test case 1 for constructor of class CpBaseSettingView
+     */
+    void testCpBaseSettingViewWithNullPointer();
+    /*!
+     * Test case 2 for constructor of class CpBaseSettingView
+     */
+    void testCpBaseSettingViewWithPushButtonWidget();
+    /*!
+     * Test case for protected close() function
+     */
+    void testCloseWithoutParam();
+    
+    void testPrivateFunc();
+};
+
+#endif // UT_CP_BASE_SETTING_VIEW_H