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 |
|
18 #include <QtTest/QtTest> |
|
19 #include <QObject> |
|
20 #include <qtcontacts.h> |
|
21 |
|
22 class CntPresenceInfoProvider; |
|
23 |
|
24 QTM_USE_NAMESPACE |
|
25 |
|
26 class TestCntPresenceInfoProvider : public QObject |
|
27 { |
|
28 Q_OBJECT |
|
29 |
|
30 private slots: |
|
31 void initTestCase(); |
|
32 void create(); |
|
33 |
|
34 void testSupportedFields(); |
|
35 void testRequestInfo(); |
|
36 |
|
37 void testHandlePresenceUpdate(); |
|
38 |
|
39 void testParsePresence(); |
|
40 |
|
41 void cleanupTestCase(); |
|
42 |
|
43 private: |
|
44 CntPresenceInfoProvider *mCntPresenceInfoProvider; |
|
45 |
|
46 }; |