mediasettings/videosettingsplugin/tsrc/testaccesspointentry/inc/testaccesspointentry.h
changeset 67 72c709219fcd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mediasettings/videosettingsplugin/tsrc/testaccesspointentry/inc/testaccesspointentry.h	Fri Oct 15 16:29:10 2010 +0300
@@ -0,0 +1,102 @@
+/*
+* 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:   TestAccessPointEntry class definition
+* 
+*/
+
+#ifndef TESTACCESSPOINTENTRY_H
+#define TESTACCESSPOINTENTRY_H
+
+
+// INCLUDES
+#include <qobject.h>
+
+class CpItemDataHelper;
+class VideoSettingsAccessPointEntry;
+class VideoSettingsGroup;
+
+class TestAccessPointEntry : public QObject
+	{
+    
+    Q_OBJECT
+
+signals:
+    
+    void testSignal();
+    
+private slots:
+    
+    /**
+     * called at the very beginning of the test
+     */
+    void initTestCase();
+    
+    /**
+     * called at the very end of the test
+     */
+    void cleanupTestCase();
+    
+    /**
+     * called at the start of every test.
+     */
+    void init();
+    
+    /**
+     * called at the end of every test.
+     */
+    void cleanup();
+    
+    /**
+     * tests constructor
+     */
+    void testConstructor();
+    
+    /**
+     * tests destructor
+     */
+    void testDestructor();
+
+    /**
+     * tests setIapId
+     */
+    void testSetIapId();
+    
+    /**
+     * tests createSettingsView
+     */
+    void testCreateSettingView();
+
+    /**
+     * tests openSelectionDialogSlot
+     */
+    void testOpenSelectionDialogSlot();
+
+    /**
+     * tests accessPointDialogFinished
+     */
+    void testAccessPointDialogFinished();
+
+private:
+    
+    CpItemDataHelper* mItemHelper;
+    
+    VideoSettingsGroup* mGroup;
+    
+    VideoSettingsAccessPointEntry* mTestObject;
+    
+    };
+
+#endif  // TESTACCESSPOINTENTRY_H
+
+// End of File