camerauis/cameraxui/cxengine/tsrc/unit/unittest_cxescenemodestore/unittest_cxescenemodestore.h
changeset 58 ddba9caa7f32
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/camerauis/cameraxui/cxengine/tsrc/unit/unittest_cxescenemodestore/unittest_cxescenemodestore.h	Fri Sep 17 16:35:28 2010 +0300
@@ -0,0 +1,55 @@
+/*
+ * 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: Unit test class
+ *
+ */
+
+#ifndef UNITTEST_CXESCENEMODESTORE_H
+#define UNITTEST_CXESCENEMODESTORE_H
+
+#include <QObject>
+
+// Tested class
+#include "cxescenemodestore.h"
+
+class UnitTestCxeSceneModeStore : public QObject
+{
+    Q_OBJECT
+
+public:
+    UnitTestCxeSceneModeStore();
+    ~UnitTestCxeSceneModeStore();
+
+private slots:
+    void init();
+    void cleanup();
+
+    //actual tests
+    void testSceneSettingValue();
+    void testSceneSettingValueNotFound();
+    void testSetSceneSettingValue();
+    void testCurrentSceneId();
+    void testCurrentScene();
+    void testCurrentScene2();
+    void testSetCurrentScene();
+    void testGetScene();
+
+private:
+    // Tested class
+    CxeSceneModeStore *mSceneModeStore;
+
+};
+
+
+#endif // UNITTEST_CXESCENEMODESTORE_H