camerauis/cameraxui/cxengine/tsrc/unit/unittest_cxestillcapturecontrolsymbian/unittest_cxestillcapturecontrolsymbian.h
changeset 19 d9aefe59d544
child 24 2094593137f5
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_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 CxeFakeFilenameGenerator;
       
    30 class CxeFilenameGenerator;
       
    31 class CxeFakeSensorEventHandler;
       
    32 class CxeFakeAutoFocusControl;
       
    33 class QSignalSpy;
       
    34 class CxeFakeCameraDevice;
       
    35 class CxeFakeAutoFocusControl;
       
    36 class CxeFakeSettings;
       
    37 class CxeFakeQualityPresets;
       
    38 class CxeFakeFileSaveThread;
       
    39 
       
    40 class UnitTestCxeStillCaptureControlSymbian : public QObject
       
    41 {
       
    42     Q_OBJECT
       
    43 
       
    44 public:
       
    45     UnitTestCxeStillCaptureControlSymbian();
       
    46     ~UnitTestCxeStillCaptureControlSymbian();
       
    47 
       
    48 private slots:
       
    49     void init();
       
    50     void cleanup();
       
    51     void initTestCase();
       
    52     void cleanupTestCase();
       
    53     void testSupportedImageQualities();
       
    54     void testCapture();
       
    55     void testState();
       
    56     void testImageCount();
       
    57     void testReset();
       
    58     void testCancelAll();
       
    59     void testSetMode();
       
    60     void testMode();
       
    61     void testImageDataQueue();
       
    62     void testInit();
       
    63     void testDeinit();
       
    64 
       
    65 private:
       
    66     CxeFakeAutoFocusControl *mFakeAutoFocusControl;
       
    67     CxeFakeCameraDeviceControl *mFakeCameraDeviceControl;
       
    68     CxeFakeCameraDevice *mFakeCameraDevice;
       
    69     CxeFakeViewfinderControl *mViewfinderControl;
       
    70     CxeFakeFilenameGenerator *mFilenameGenerator;
       
    71     CxeFakeSensorEventHandler *mSensorEventHandler;
       
    72     CxeStillCaptureControlSymbian *mStillCaptureControl;
       
    73     CxeFakeAutoFocusControl *mAutoFocuscontrol;
       
    74     CxeFakeSettings *mFakeSettings;
       
    75     QSignalSpy *mSpyState;
       
    76     CxeFakeQualityPresets *mFakeQualityPresets;
       
    77     CxeFakeFileSaveThread *mFakeFileSaveThread;
       
    78 };
       
    79 
       
    80 #endif // UNITTEST_CXESTILLCAPTURECONTROLSYMBIAN_H