camerauis/cameraxui/cxengine/tsrc/unit/unittest_cxezoomcontrolsymbian/unittest_cxezoomcontrolsymbian.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".
    51                                  mFakeCameraDeviceControl);
    51                                  mFakeCameraDeviceControl);
    52     mFakeCameraDeviceControl = new CxeFakeCameraDeviceControl;
    52     mFakeCameraDeviceControl = new CxeFakeCameraDeviceControl;
    53     mFakeCameraDeviceControl->setState(CxeCameraDeviceControl::Ready);
    53     mFakeCameraDeviceControl->setState(CxeCameraDeviceControl::Ready);
    54     
    54     
    55     mFakeFeatureManager = new CxeFakeFeatureManager();
    55     mFakeFeatureManager = new CxeFakeFeatureManager();
       
    56     
       
    57     mFakeSettings = new CxeFakeSettings();
    56 
    58 
    57     mZoomControl = new CxeZoomControlSymbian(*mFakeCameraDevice,
    59     mZoomControl = new CxeZoomControlSymbian(*mFakeCameraDevice,
    58                                              *mFakeCameraDeviceControl,
    60                                              *mFakeCameraDeviceControl,
    59                                              *mFakeSettings,
    61                                              *mFakeSettings,
    60                                              *mFakeFeatureManager);
    62                                              *mFakeFeatureManager);