summaryrefslogtreecommitdiff
path: root/qt4/tests
diff options
context:
space:
mode:
authorAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2011-09-22 19:01:29 -0300
committerAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2011-09-23 20:17:48 -0300
commitb744a86600ea77e990eca153d0e15d3661bf18a7 (patch)
treede5fa19b57071cf9bb2dc0d8179727f04cff5e7a /qt4/tests
parent8d04a06940f1f96dfcfa2819add29e837fd58ba4 (diff)
text-chan test: Add test for TextChannel::canInviteContacts().
Diffstat (limited to 'qt4/tests')
-rw-r--r--qt4/tests/dbus/text-chan.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt4/tests/dbus/text-chan.cpp b/qt4/tests/dbus/text-chan.cpp
index 4060cb8d5..168dd2f54 100644
--- a/qt4/tests/dbus/text-chan.cpp
+++ b/qt4/tests/dbus/text-chan.cpp
@@ -186,6 +186,8 @@ void TestTextChan::commonTest(bool withMessages)
SLOT(expectSuccessfulCall(Tp::PendingOperation *))));
QCOMPARE(mLoop->exec(), 1);
+ QVERIFY(!mChan->canInviteContacts());
+
Features features = Features() << TextChannel::FeatureMessageQueue;
QVERIFY(!mChan->isReady(features));
// Implementation detail: in legacy text channels, capabilities arrive