camerauis/cameraxui/cxengine/tsrc/unit/unittest_cxezoomcontrolsymbian/unittest_cxezoomcontrolsymbian.h
equal
deleted
inserted
replaced
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_CXEZOOMCONTROLSYMBIAN_H_ |
|
18 #define UNITTEST_CXEZOOMCONTROLSYMBIAN_H_ |
|
19 |
|
20 #include <QObject> |
|
21 |
|
22 |
|
23 class CxeZoomControlSymbian; |
|
24 class CxeFakeCameraDeviceControl; |
|
25 class CxeFakeCameraDevice; |
|
26 class CxeFakeSettings; |
|
27 class CxeFakeFeatureManager; |
|
28 |
|
29 class UnitTestCxeZoomControlSymbian : public QObject |
|
30 { |
|
31 Q_OBJECT |
|
32 |
|
33 public: |
|
34 |
|
35 UnitTestCxeZoomControlSymbian(); |
|
36 virtual ~UnitTestCxeZoomControlSymbian(); |
|
37 |
|
38 private slots: |
|
39 |
|
40 void init(); |
|
41 void cleanup(); |
|
42 |
|
43 void testZoomTo(); |
|
44 void testPrepareZoomControl(); |
|
45 void testPrepareForCameraDelete(); |
|
46 |
|
47 signals: |
|
48 void prepareZoom(int index); |
|
49 |
|
50 private: |
|
51 |
|
52 CxeZoomControlSymbian *mZoomControl; |
|
53 CxeFakeCameraDevice *mFakeCameraDevice; |
|
54 CxeFakeCameraDeviceControl *mFakeCameraDeviceControl; |
|
55 CxeFakeSettings *mFakeSettings; |
|
56 CxeFakeFeatureManager *mFakeFeatureManager; |
|
57 }; |
|
58 |
|
59 #endif /* UNITTEST_CXEZOOMCONTROLSYMBIAN_H_ */ |
|