camerauis/cameraxui/cxengine/tsrc/unit/unittest_cxestillcapturecontrolsymbian/unittest_cxestillcapturecontrolsymbian.cpp
changeset 56 01e205c615b9
parent 48 42ba2d16bf40
equal deleted inserted replaced
48:42ba2d16bf40 56:01e205c615b9
     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".
    57 }
    57 }
    58 
    58 
    59 // Run before each individual test case
    59 // Run before each individual test case
    60 void UnitTestCxeStillCaptureControlSymbian::initTestCase()
    60 void UnitTestCxeStillCaptureControlSymbian::initTestCase()
    61 {
    61 {
       
    62     mFakeSettings = new CxeFakeSettings();
    62     mFakeSettings->set(CxeSettingIds::IMAGE_QUALITY, 0);
    63     mFakeSettings->set(CxeSettingIds::IMAGE_QUALITY, 0);
    63     mFakeCameraDeviceControl = new CxeFakeCameraDeviceControl();
    64     mFakeCameraDeviceControl = new CxeFakeCameraDeviceControl();
    64     mFakeCameraDevice = new CxeFakeCameraDevice();
    65     mFakeCameraDevice = new CxeFakeCameraDevice();
    65     mFakeCameraDevice->newCamera(mFakeCameraDeviceControl->cameraIndex(), mFakeCameraDeviceControl);
    66     mFakeCameraDevice->newCamera(mFakeCameraDeviceControl->cameraIndex(), mFakeCameraDeviceControl);
    66     mViewfinderControl = new CxeFakeViewfinderControl();
    67     mViewfinderControl = new CxeFakeViewfinderControl();