camerauis/cameraxui/cxengine/tsrc/unit/unittest_cxescenemodestore/unittest_cxescenemodestore.h
changeset 58 ddba9caa7f32
equal deleted inserted replaced
55:0da2a5b56583 58:ddba9caa7f32
       
     1 /*
       
     2  * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of "Eclipse Public License v1.0"
       
     6  * which accompanies this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Nokia Corporation - initial contribution.
       
    11  *
       
    12  * Contributors:
       
    13  *
       
    14  * Description: Unit test class
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef UNITTEST_CXESCENEMODESTORE_H
       
    19 #define UNITTEST_CXESCENEMODESTORE_H
       
    20 
       
    21 #include <QObject>
       
    22 
       
    23 // Tested class
       
    24 #include "cxescenemodestore.h"
       
    25 
       
    26 class UnitTestCxeSceneModeStore : public QObject
       
    27 {
       
    28     Q_OBJECT
       
    29 
       
    30 public:
       
    31     UnitTestCxeSceneModeStore();
       
    32     ~UnitTestCxeSceneModeStore();
       
    33 
       
    34 private slots:
       
    35     void init();
       
    36     void cleanup();
       
    37 
       
    38     //actual tests
       
    39     void testSceneSettingValue();
       
    40     void testSceneSettingValueNotFound();
       
    41     void testSetSceneSettingValue();
       
    42     void testCurrentSceneId();
       
    43     void testCurrentScene();
       
    44     void testCurrentScene2();
       
    45     void testSetCurrentScene();
       
    46     void testGetScene();
       
    47 
       
    48 private:
       
    49     // Tested class
       
    50     CxeSceneModeStore *mSceneModeStore;
       
    51 
       
    52 };
       
    53 
       
    54 
       
    55 #endif // UNITTEST_CXESCENEMODESTORE_H