mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-11 01:59:38 +02:00
Fixed test cases to consider that an unavailable presence is now returned for offline users or non-existent users.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7160 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
7c847dad6a
commit
7ebaba10e2
3 changed files with 32 additions and 21 deletions
|
@ -53,7 +53,10 @@
|
|||
package org.jivesoftware.smackx.muc;
|
||||
|
||||
import org.jivesoftware.smack.*;
|
||||
import org.jivesoftware.smack.packet.*;
|
||||
import org.jivesoftware.smack.packet.IQ;
|
||||
import org.jivesoftware.smack.packet.Message;
|
||||
import org.jivesoftware.smack.packet.Presence;
|
||||
import org.jivesoftware.smack.packet.XMPPError;
|
||||
import org.jivesoftware.smack.test.SmackTestCase;
|
||||
import org.jivesoftware.smackx.Form;
|
||||
import org.jivesoftware.smackx.ServiceDiscoveryManager;
|
||||
|
@ -1842,6 +1845,7 @@ public class MultiUserChatTest extends SmackTestCase {
|
|||
Form form = muc.getConfigurationForm();
|
||||
Form answerForm = form.createAnswerForm();
|
||||
answerForm.setAnswer("muc#roomconfig_moderatedroom", true);
|
||||
answerForm.setAnswer("muc#roomconfig_whois", Arrays.asList("moderators"));
|
||||
// Keep the room owner
|
||||
try {
|
||||
List<String> owners = new ArrayList<String>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue