mpviewplugins/mpsettingsviewplugin/tsrc/unittest_mpsettingsaudioeffectswidget/inc/unittest_mpsettingsaudioeffectswidget.h
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 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: Unit test for mpaudioeffectswidget |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef TESTMPSETTINGSAUDIOEFFECTSWIDGET_H |
|
19 #define TESTMPSETTINGSAUDIOEFFECTSWIDGET_H |
|
20 |
|
21 #include <QtTest/QtTest> |
|
22 |
|
23 class QTranslator; |
|
24 class MpSettingsAudioEffectsWidget; |
|
25 |
|
26 class TestMpSettingsAudioEffectsWidget: public QObject |
|
27 { |
|
28 Q_OBJECT |
|
29 |
|
30 public: |
|
31 |
|
32 TestMpSettingsAudioEffectsWidget(); |
|
33 virtual ~TestMpSettingsAudioEffectsWidget(); |
|
34 |
|
35 signals: |
|
36 |
|
37 public slots: |
|
38 void initTestCase(); |
|
39 void cleanupTestCase(); |
|
40 void init(); |
|
41 void cleanup(); |
|
42 |
|
43 private slots: |
|
44 void testInitializeSlider(); |
|
45 void testInitializeLoudnessOn(); |
|
46 void testInitializeLoudnessOff(); |
|
47 void testFilterSignals(); |
|
48 |
|
49 private: |
|
50 |
|
51 MpSettingsAudioEffectsWidget *mTest; |
|
52 QTranslator *mMpTranslator; // Own |
|
53 |
|
54 }; |
|
55 |
|
56 #endif // TESTMPSETTINGSAUDIOEFFECTSWIDGET_H |
|
57 |
|
58 |
|
59 |
|
60 |