mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-15 20:12:04 +01:00
Fixed initialization problem.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2491 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
5a754d1279
commit
6b887c9c32
2 changed files with 8 additions and 2 deletions
|
@ -64,7 +64,7 @@ import org.jivesoftware.smackx.*;
|
|||
*/
|
||||
public class MultiUserChatCreationTest extends SmackTestCase {
|
||||
|
||||
private String room = "fruta124@" + getMUCDomain();
|
||||
private String room;
|
||||
|
||||
/**
|
||||
* Constructor for MultiUserChatCreationTest.
|
||||
|
@ -141,4 +141,9 @@ public class MultiUserChatCreationTest extends SmackTestCase {
|
|||
protected int getMaxConnections() {
|
||||
return 2;
|
||||
}
|
||||
|
||||
protected void setUp() throws Exception {
|
||||
super.setUp();
|
||||
room = "fruta124@" + getMUCDomain();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -70,7 +70,7 @@ import org.jivesoftware.smackx.packet.DelayInformation;
|
|||
*/
|
||||
public class MultiUserChatTest extends SmackTestCase {
|
||||
|
||||
private String room = "fruta124@" + getMUCDomain();
|
||||
private String room;
|
||||
|
||||
private MultiUserChat muc;
|
||||
|
||||
|
@ -1782,6 +1782,7 @@ public class MultiUserChatTest extends SmackTestCase {
|
|||
protected void setUp() throws Exception {
|
||||
XMPPConnection.DEBUG_ENABLED = false;
|
||||
super.setUp();
|
||||
room = "fruta124@" + getMUCDomain();
|
||||
try {
|
||||
// User1 creates the room
|
||||
muc = new MultiUserChat(getConnection(0), room);
|
||||
|
|
Loading…
Reference in a new issue