summaryrefslogtreecommitdiff
path: root/qt4/tests
diff options
context:
space:
mode:
authorAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2011-09-22 19:13:53 -0300
committerAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2011-09-23 20:17:48 -0300
commit95066cf285d78d779fdcb9b7362520c33b516c84 (patch)
treeffaae8e3199324a1aef18d8c9ee94e723eaadd4e /qt4/tests
parentb744a86600ea77e990eca153d0e15d3661bf18a7 (diff)
chan-conference test: Add test for Channel::FeatureConferenceInitialInviteeContacts.
Diffstat (limited to 'qt4/tests')
-rw-r--r--qt4/tests/dbus/chan-conference.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/qt4/tests/dbus/chan-conference.cpp b/qt4/tests/dbus/chan-conference.cpp
index 3620a6721..5eddfe02c 100644
--- a/qt4/tests/dbus/chan-conference.cpp
+++ b/qt4/tests/dbus/chan-conference.cpp
@@ -173,6 +173,15 @@ void TestConferenceChan::testConference()
}
QCOMPARE(expectedObjectPaths, objectPaths);
+ QCOMPARE(!mChan->isReady(Channel::FeatureConferenceInitialInviteeContacts), true);
+ QCOMPARE(mChan->conferenceInitialInviteeContacts(), Contacts());
+
+ QVERIFY(connect(mChan->becomeReady(Channel::FeatureConferenceInitialInviteeContacts),
+ SIGNAL(finished(Tp::PendingOperation*)),
+ SLOT(expectSuccessfulCall(Tp::PendingOperation*))));
+ QCOMPARE(mLoop->exec(), 0);
+ QCOMPARE(mChan->isReady(Channel::FeatureConferenceInitialInviteeContacts), true);
+
QCOMPARE(mChan->conferenceInitialInviteeContacts(), Contacts());
QCOMPARE(mChan->isConference(), true);