[Telepathy-commits] [telepathy-qt4/master] Add stub test for ContactManager functionality being supported
Olli Salli
olli.salli at collabora.co.uk
Wed Feb 4 02:33:31 PST 2009
---
tests/dbus/contacts.cpp | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/tests/dbus/contacts.cpp b/tests/dbus/contacts.cpp
index dd282e0..2e469e8 100644
--- a/tests/dbus/contacts.cpp
+++ b/tests/dbus/contacts.cpp
@@ -41,6 +41,7 @@ private Q_SLOTS:
void initTestCase();
void init();
+ void testSupport();
void testForHandles();
void testForIdentifiers();
void testFeatures();
@@ -176,6 +177,14 @@ void TestContacts::init()
initImpl();
}
+void TestContacts::testSupport()
+{
+ QCOMPARE(mConn->contactManager()->connection(), mConn);
+ QVERIFY(mConn->contactManager()->isSupported());
+
+ // TODO: when Connection::CAI and ContactManager::featureSupported() are added, test them here
+}
+
void TestContacts::testForHandles()
{
Telepathy::UIntList handles;
--
1.5.6.5
More information about the telepathy-commits
mailing list