camerauis/cameraxui/cxengine/tsrc/unit/unittest_cxesettingsimp/unittest_cxesettingsimp.h
changeset 19 d9aefe59d544
child 46 c826656d6714
equal deleted inserted replaced
3:8b2d6d0384b0 19:d9aefe59d544
       
     1 /*
       
     2  * Copyright (c) 2009 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:
       
    15  *
       
    16  */
       
    17 #ifndef UNITTEST_CXESETTINGSIMP_H
       
    18 #define UNITTEST_CXESETTINGSIMP_H
       
    19 
       
    20 #include <QObject>
       
    21 #include <QMetaType>
       
    22 
       
    23 #include "cxesettingsimp.h"
       
    24 
       
    25 class CxeFakeSettingsModel;
       
    26 class CxeSettingsImp;
       
    27 
       
    28 class UnitTestCxeSettingsImp : public QObject
       
    29 {
       
    30 Q_OBJECT
       
    31 
       
    32 public:
       
    33     UnitTestCxeSettingsImp();
       
    34     virtual ~UnitTestCxeSettingsImp();
       
    35 
       
    36 private slots:
       
    37     void init();
       
    38     void cleanup();
       
    39 
       
    40     void testGet();
       
    41     void testGet2();
       
    42     void testSet();
       
    43     void testLoadSettings();
       
    44 
       
    45 private:
       
    46 
       
    47     CxeFakeSettingsModel *mSettingsModel;
       
    48     CxeSettingsImp *mSettingsImp;
       
    49 };
       
    50 
       
    51 Q_DECLARE_METATYPE(CxeScene)
       
    52 
       
    53 #endif
       
    54