camerauis/cameraxui/cxengine/tsrc/unit/unittest_cxeviewfindercontrolsymbian/unittest_cxeviewfindercontrolsymbian.h
branchRCL_3
changeset 24 bac7acad7cb3
parent 23 61bc0f252b2b
child 25 2c87b2808fd7
equal deleted inserted replaced
23:61bc0f252b2b 24:bac7acad7cb3
     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_CXEVIEWFINDERCONTROLSYMBIAN_H
       
    18 #define UNITTEST_CXEVIEWFINDERCONTROLSYMBIAN_H
       
    19 
       
    20 #include <QObject>
       
    21 
       
    22 #include "cxenamespace.h"
       
    23 
       
    24 class CxeViewfinderControlSymbian;
       
    25 class CxeFakeCameraDeviceControl;
       
    26 class CxeFakeContainer;
       
    27 class CxeFakeCameraDevice;
       
    28 
       
    29 class UnitTestCxeViewfinderControlSymbian : public QObject
       
    30 {
       
    31     Q_OBJECT
       
    32 
       
    33 public:
       
    34     UnitTestCxeViewfinderControlSymbian();
       
    35     ~UnitTestCxeViewfinderControlSymbian();
       
    36 
       
    37 private slots:
       
    38     void init();
       
    39     void cleanup();
       
    40 
       
    41     void testSetWindow();
       
    42     void testStop();
       
    43     void testState();
       
    44     void testStart();
       
    45     void testDisplayResolution();
       
    46 
       
    47 private:
       
    48     // Helper methods for test cases
       
    49 
       
    50 private:
       
    51 
       
    52     CxeViewfinderControlSymbian *mViewfinderControl;
       
    53     CxeFakeCameraDeviceControl *mCameraDeviceControl;
       
    54     CxeFakeContainer *mContainer;
       
    55     CxeFakeCameraDevice *mCameraDevice;
       
    56 };
       
    57 
       
    58 #endif // UNITTEST_CXEVIEWFINDERCONTROLSYMBIAN_H