camerauis/cameraxui/cxengine/tsrc/unit/unittest_cxestillcapturecontrolsymbian/unittest_cxestillcapturecontrolsymbian.h
branchRCL_3
changeset 54 bac7acad7cb3
parent 53 61bc0f252b2b
child 57 2c87b2808fd7
equal deleted inserted replaced
53:61bc0f252b2b 54: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_CXESTILLCAPTURECONTROLSYMBIAN_H
       
    18 #define UNITTEST_CXESTILLCAPTURECONTROLSYMBIAN_H
       
    19 
       
    20 #include <QObject>
       
    21 
       
    22 #include "cxenamespace.h"
       
    23 
       
    24 class CxeSensorEventHandler;
       
    25 class CxeStillCaptureControlSymbian;
       
    26 class CxeFakeCameraDeviceControl;
       
    27 class CxeStillCaptureControlSymbian;
       
    28 class CxeFakeViewfinderControl;
       
    29 class CxeSnapshotControl;
       
    30 class CxeFakeFilenameGenerator;
       
    31 class CxeFilenameGenerator;
       
    32 class CxeFakeSensorEventHandler;
       
    33 class CxeFakeAutoFocusControl;
       
    34 class QSignalSpy;
       
    35 class CxeFakeCameraDevice;
       
    36 class CxeFakeAutoFocusControl;
       
    37 class CxeFakeSettings;
       
    38 class CxeFakeQualityPresets;
       
    39 class CxeFakeFileSaveThread;
       
    40 class CxeDiskMonitor;
       
    41 
       
    42 class UnitTestCxeStillCaptureControlSymbian : public QObject
       
    43 {
       
    44     Q_OBJECT
       
    45 
       
    46 public:
       
    47     UnitTestCxeStillCaptureControlSymbian();
       
    48     ~UnitTestCxeStillCaptureControlSymbian();
       
    49 
       
    50 private slots:
       
    51     void init();
       
    52     void cleanup();
       
    53     void initTestCase();
       
    54     void cleanupTestCase();
       
    55     void testSupportedImageQualities();
       
    56     void testCapture();
       
    57     void testState();
       
    58     void testImageCount();
       
    59     void testReset();
       
    60     void testCancelAll();
       
    61     void testSetMode();
       
    62     void testMode();
       
    63     void testImageDataQueue();
       
    64     void testInit();
       
    65     void testDeinit();
       
    66 
       
    67 private:
       
    68     CxeFakeAutoFocusControl *mFakeAutoFocusControl;
       
    69     CxeFakeCameraDeviceControl *mFakeCameraDeviceControl;
       
    70     CxeFakeCameraDevice *mFakeCameraDevice;
       
    71     CxeFakeViewfinderControl *mViewfinderControl;
       
    72     CxeSnapshotControl *mSnapshotControl;
       
    73     CxeFakeFilenameGenerator *mFilenameGenerator;
       
    74     CxeFakeSensorEventHandler *mSensorEventHandler;
       
    75     CxeStillCaptureControlSymbian *mStillCaptureControl;
       
    76     CxeFakeAutoFocusControl *mAutoFocuscontrol;
       
    77     CxeFakeSettings *mFakeSettings;
       
    78     QSignalSpy *mSpyState;
       
    79     CxeFakeQualityPresets *mFakeQualityPresets;
       
    80     CxeFakeFileSaveThread *mFakeFileSaveThread;
       
    81     CxeDiskMonitor *mDiskMonitor;
       
    82 };
       
    83 
       
    84 #endif // UNITTEST_CXESTILLCAPTURECONTROLSYMBIAN_H