diff -r 8ee96d21d9bf -r 7e0eff37aedb controlpanel/tsrc/unit/ut_cpitemdatahelper/src/ut_cpitemdatahelper.h --- a/controlpanel/tsrc/unit/ut_cpitemdatahelper/src/ut_cpitemdatahelper.h Tue Aug 31 15:29:50 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,63 +0,0 @@ -/* -* 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 TEST_CP_ITEM_DATA_HELPER_H -#define TEST_CP_ITEM_DATA_HELPER_H - -#include - -class TestCpItemDataHelper : public QObject -{ - Q_OBJECT - -private slots: - void initTestCase(); - void cleanupTestCase(); - -//public slots: - void testCpItemDataHelperWithNullPointer(); - void testCpItemDataHelperWithDataForm(); - - void testBindToFormWithDataForm(); - - void testAddItemPrototypeWithNullPointer1(); - void testAddItemPrototypeWithViewItem1(); - void testAddItemPrototypeWithNullPointer2(); - void testAddItemPrototypeWithViewItem2(); - - void testAddConnectionWithnoDataForm(); - void testAddConnectionWithDataForm(); - - void testRemoveConnectionNoDataForm(); - void testRemoveConnectionWithDataForm(); - - void testConnectToFormNoDataForm(); - void testConnectToFormWithDataForm(); - - void testDisconnectToFormNoDataForm(); - void testDisconnectToFormWithDataForm(); - - void testWidgetFromModelIndexWithDataForm(); - void testWidgetFromModelIndexNoDataForm(); - void testWidgetFromModelIndexWithDataFormBinded(); - - void testModelItemFromModelIndexWithDataForm(); - void testModelItemFromModelIndexNoDataForm(); - void testModelItemFromModelIndexWithModel(); -}; - -#endif // TEST_CP_ITEM_DATA_HELPER_H