camerauis/cameraxui/cxengine/tsrc/unit/unittest_cxefeaturemanagerimp/unittest_cxefeaturemanagerimp.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_CXEFEATUREMANAGER_H |
|
18 #define UNITTEST_CXEFEATUREMANAGER_H |
|
19 |
|
20 #include <QObject> |
|
21 |
|
22 class CxeFakeSettingsModel; |
|
23 class CxeFeatureManagerImp; |
|
24 |
|
25 class UnitTestCxeFeatureManager : public QObject |
|
26 { |
|
27 Q_OBJECT |
|
28 |
|
29 public: |
|
30 UnitTestCxeFeatureManager(); |
|
31 ~UnitTestCxeFeatureManager(); |
|
32 |
|
33 private slots: |
|
34 void init(); |
|
35 void cleanup(); |
|
36 |
|
37 void testSupportedKeys(); |
|
38 void testConfiguredValuesEmptyData(); |
|
39 void testConfiguredValuesFalseKey(); |
|
40 void testConfiguredValuesTrueKeyAndData(); |
|
41 void testConfiguredValuesFalseData(); |
|
42 |
|
43 private: |
|
44 CxeFakeSettingsModel *mFakeSettingsModel; |
|
45 CxeFeatureManagerImp *mFeatureManager; |
|
46 }; |
|
47 |
|
48 #endif // UNITTEST_CXEFEATUREMANAGER_H |