mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-26 14:02:06 +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 {
|
public class MultiUserChatCreationTest extends SmackTestCase {
|
||||||
|
|
||||||
private String room = "fruta124@" + getMUCDomain();
|
private String room;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor for MultiUserChatCreationTest.
|
* Constructor for MultiUserChatCreationTest.
|
||||||
|
@ -141,4 +141,9 @@ public class MultiUserChatCreationTest extends SmackTestCase {
|
||||||
protected int getMaxConnections() {
|
protected int getMaxConnections() {
|
||||||
return 2;
|
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 {
|
public class MultiUserChatTest extends SmackTestCase {
|
||||||
|
|
||||||
private String room = "fruta124@" + getMUCDomain();
|
private String room;
|
||||||
|
|
||||||
private MultiUserChat muc;
|
private MultiUserChat muc;
|
||||||
|
|
||||||
|
@ -1782,6 +1782,7 @@ public class MultiUserChatTest extends SmackTestCase {
|
||||||
protected void setUp() throws Exception {
|
protected void setUp() throws Exception {
|
||||||
XMPPConnection.DEBUG_ENABLED = false;
|
XMPPConnection.DEBUG_ENABLED = false;
|
||||||
super.setUp();
|
super.setUp();
|
||||||
|
room = "fruta124@" + getMUCDomain();
|
||||||
try {
|
try {
|
||||||
// User1 creates the room
|
// User1 creates the room
|
||||||
muc = new MultiUserChat(getConnection(0), room);
|
muc = new MultiUserChat(getConnection(0), room);
|
||||||
|
|
Loading…
Reference in a new issue