mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-09-10 18:59:41 +02:00
Added support for discovering MUC services. SMACK-39
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2443 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
a6ae5bcc86
commit
1bf4d2fed2
2 changed files with 32 additions and 0 deletions
|
@ -365,6 +365,17 @@ public class MultiUserChatTest extends SmackTestCase {
|
|||
}
|
||||
}
|
||||
|
||||
public void testDiscoverMUCService() {
|
||||
try {
|
||||
Collection services = MultiUserChat.getServiceNames(getConnection(1));
|
||||
assertFalse("No MUC service was found", services.isEmpty());
|
||||
}
|
||||
catch (XMPPException e) {
|
||||
e.printStackTrace();
|
||||
fail(e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
public void testPrivateChat() {
|
||||
try {
|
||||
// User2 joins the new room
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue