utilities/mpsettingsmanager/tsrc/unittest_mpsettingsmanager/inc/unittest_mpsettingsmanager.h
changeset 19 4e84c994a771
child 20 82baf59ce8dd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/utilities/mpsettingsmanager/tsrc/unittest_mpsettingsmanager/inc/unittest_mpsettingsmanager.h	Fri Mar 19 09:28:13 2010 +0200
@@ -0,0 +1,53 @@
+/*
+* 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: Unit test for MpSettingsManager
+*
+*/
+
+#ifndef TESTMPSETTINGSMANAGER_H
+#define TESTMPSETTINGSMANAGER_H
+
+#include <QtTest/QtTest>
+
+class TestMpSettingsManager : public QObject
+{
+    Q_OBJECT
+
+public:
+
+    TestMpSettingsManager();
+    virtual ~TestMpSettingsManager();
+
+signals:
+
+
+public slots:
+    void initTestCase();
+    void cleanupTestCase();
+    void init();
+    void cleanup();
+
+private slots:
+    void testConstructor(); //don't change the order, this should be the first test.
+    void testInstanceConstruction();
+    void testShuffleGetAndSet();
+    void testRepeatGetAndSet();   
+    void testValueChangedShuffleCase();
+    void testValueChangedRepeatCase();
+
+
+};
+
+#endif  // TESTMPSETTINGSMANAGER_H
+