diff options
author | Andre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk> | 2011-09-22 19:13:53 -0300 |
---|---|---|
committer | Andre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk> | 2011-09-23 20:17:48 -0300 |
commit | 95066cf285d78d779fdcb9b7362520c33b516c84 (patch) | |
tree | ffaae8e3199324a1aef18d8c9ee94e723eaadd4e /qt4/tests | |
parent | b744a86600ea77e990eca153d0e15d3661bf18a7 (diff) |
chan-conference test: Add test for Channel::FeatureConferenceInitialInviteeContacts.
Diffstat (limited to 'qt4/tests')
-rw-r--r-- | qt4/tests/dbus/chan-conference.cpp | 9 |
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); |