author | hgs |
Fri, 15 Oct 2010 12:58:46 +0300 | |
changeset 78 | baacf668fe89 |
parent 76 | cfea66083b62 |
permissions | -rw-r--r-- |
37 | 1 |
/* |
78 | 2 |
* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
37 | 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 |
||
18 |
#ifndef UT_SSSETTINGWRAPPER_H |
|
19 |
#define UT_SSSETTINGWRAPPER_H |
|
20 |
||
21 |
#include <QtTest/QtTest> |
|
22 |
#include <mockservice.h> |
|
23 |
||
76 | 24 |
class SettingsWrapper; |
37 | 25 |
|
26 |
class UT_CpPluginCommon : public QObject, MockService |
|
27 |
{ |
|
28 |
Q_OBJECT |
|
29 |
||
30 |
public: |
|
31 |
UT_CpPluginCommon(); |
|
32 |
~UT_CpPluginCommon(); |
|
33 |
||
34 |
private slots: |
|
35 |
||
36 |
void init(); |
|
37 |
void cleanup(); |
|
38 |
||
39 |
void t_memleak(); |
|
40 |
||
41 |
void t_showCallDuration(); |
|
42 |
void t_setShowCallDuration(); |
|
43 |
void t_readSoftRejectText(); |
|
44 |
void t_writeSoftRejectText(); |
|
45 |
void t_numberGroupingSupported(); |
|
46 |
||
47 |
void t_voipSupported(); |
|
48 |
void t_videoSupported(); |
|
45
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
49 |
|
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
50 |
void t_readVtVideoSending(); |
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
51 |
void t_writeVtVideoSending(); |
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
52 |
|
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
53 |
void t_isFeatureCallWaitingDistiquishNotProvisionedEnabled(); |
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
54 |
void t_isPhoneOffline(); |
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
55 |
void t_isOngoingCall(); |
78 | 56 |
void t_forbiddenIconSupported(); |
57 |
void t_isConnectedToNetwork(); |
|
37 | 58 |
|
59 |
private: |
|
76 | 60 |
SettingsWrapper *mWrapper; |
37 | 61 |
|
62 |
}; |
|
63 |
||
64 |
#endif |