homescreen_plat/homescreenclient_api/tsrc/t_hsmenuclientplugin/inc/t_hsmenuclientplugin.h
changeset 97 66b5fe3c07fd
parent 90 3ac3aaebaee5
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/homescreen_plat/homescreenclient_api/tsrc/t_hsmenuclientplugin/inc/t_hsmenuclientplugin.h	Wed Oct 06 16:06:24 2010 +0300
@@ -0,0 +1,59 @@
+/*
+* Copyright (c) 2010 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:  Tests for hsmenuclientplugin class.
+*
+*/
+
+#ifndef T_HSMMENUCLIENTPLUGINTEST_H
+#define T_HSMMENUCLIENTPLUGINTEST_H
+
+#include <QtTest/QtTest>
+#include <HbMainWindow>
+
+#ifdef Q_OS_SYMBIAN
+#include <e32base.h>
+#endif//Q_OS_SYMBIAN
+
+#include "caservice_p.h" //mock
+/**
+* @test Test class for homescreen::hsutils modules.
+*/
+class HsMenuClientPluginTest : public QObject
+{
+    Q_OBJECT
+
+private slots:
+
+    void initTestCase();
+    void init();
+    
+    void testCreateEntry();
+    void testCreateLocalizedEntry();
+    void testUpdateEntry();
+    void testRemoveEntry();
+    void testListEntry();
+
+    
+    /**
+     * cleanup
+     */
+    void cleanupTestCase();
+    void cleanup();
+    
+private:
+    CaServicePrivate *mCaServicePrivateMock;
+
+};
+    
+#endif //T_HSMMENUCLIENTPLUGINTEST_H