camerauis/cameraxui/cxengine/tsrc/unit/unittest_cxeautofocuscontrolsymbian/unittest_cxeautofocuscontrolsymbian.h
changeset 43 0e652f8f1fbd
parent 19 d9aefe59d544
child 51 ccc0e7e3344f
equal deleted inserted replaced
28:3075d9b614e6 43:0e652f8f1fbd
     1 /*
     1 /*
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    22 #include "cxenamespace.h"
    22 #include "cxenamespace.h"
    23 
    23 
    24 class CxeAutoFocusControlSymbian;
    24 class CxeAutoFocusControlSymbian;
    25 class CxeFakeCameraDeviceControl;
    25 class CxeFakeCameraDeviceControl;
    26 class CxeFakeCameraDevice;
    26 class CxeFakeCameraDevice;
       
    27 class CxeFakeSettings;
    27 
    28 
    28 class UnitTestCxeAutoFocusControlSymbian : public QObject
    29 class UnitTestCxeAutoFocusControlSymbian : public QObject
    29 {
    30 {
    30     Q_OBJECT
    31     Q_OBJECT
    31 
    32 
    38     void cleanup();
    39     void cleanup();
    39 
    40 
    40     void testStart();
    41     void testStart();
    41     void testCancel();
    42     void testCancel();
    42     void testMode();
    43     void testMode();
       
    44     void testIsFixedFocusMode();
    43 
    45 
    44     void testSupported();
    46     void testSupported();
    45 
    47 
    46 private:
    48 private:
    47     // Helper methods for test cases
    49     // Helper methods for test cases
    50 
    52 
    51     // Need to test with derived class to hide missing ECAM.
    53     // Need to test with derived class to hide missing ECAM.
    52     CxeAutoFocusControlSymbian *mAutoFocusControl;
    54     CxeAutoFocusControlSymbian *mAutoFocusControl;
    53     CxeFakeCameraDeviceControl *mCameraDeviceControl;
    55     CxeFakeCameraDeviceControl *mCameraDeviceControl;
    54     CxeFakeCameraDevice *mCameraDevice;
    56     CxeFakeCameraDevice *mCameraDevice;
       
    57     CxeFakeSettings *mFakeSettings;
    55 };
    58 };
    56 
    59 
    57 #endif // UNITTEST_CXEAUTOFOCUSCONTROLSYMBIAN_H
    60 #endif // UNITTEST_CXEAUTOFOCUSCONTROLSYMBIAN_H