Package org.jivesoftware.smackx.muc
Class AbstractMultiUserChatIntegrationTest
- java.lang.Object
-
- org.igniterealtime.smack.inttest.AbstractSmackIntTest
-
- org.igniterealtime.smack.inttest.AbstractSmackIntegrationTest
-
- org.jivesoftware.smackx.muc.AbstractMultiUserChatIntegrationTest
-
- Direct Known Subclasses:
MultiUserChatEntityIntegrationTest
,MultiUserChatIntegrationTest
,MultiUserChatRolesAffiliationsPrivilegesIntegrationTest
public abstract class AbstractMultiUserChatIntegrationTest extends AbstractSmackIntegrationTest
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.igniterealtime.smack.inttest.AbstractSmackIntTest
AbstractSmackIntTest.Condition
-
-
Field Summary
-
Fields inherited from class org.igniterealtime.smack.inttest.AbstractSmackIntegrationTest
connection, connections, conOne, conThree, conTwo
-
Fields inherited from class org.igniterealtime.smack.inttest.AbstractSmackIntTest
INSECURE_RANDOM, LOGGER, sinttestConfiguration, testRunId, timeout
-
-
Constructor Summary
Constructors Constructor Description AbstractMultiUserChatIntegrationTest(SmackIntegrationTestEnvironment environment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jxmpp.jid.EntityBareJid
getRandomRoom(java.lang.String prefix)
Gets a random room name.-
Methods inherited from class org.igniterealtime.smack.inttest.AbstractSmackIntegrationTest
performActionAndWaitForPresence
-
Methods inherited from class org.igniterealtime.smack.inttest.AbstractSmackIntTest
assertResult, assertResult, createNewTempFile, getHttpUrlConnectionFor, performActionAndWaitUntilStanzaReceived, waitUntilTrue
-
-
-
-
Constructor Detail
-
AbstractMultiUserChatIntegrationTest
public AbstractMultiUserChatIntegrationTest(SmackIntegrationTestEnvironment environment) throws org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException, java.lang.InterruptedException, TestNotPossibleException
- Throws:
org.jivesoftware.smack.SmackException.NoResponseException
org.jivesoftware.smack.XMPPException.XMPPErrorException
org.jivesoftware.smack.SmackException.NotConnectedException
java.lang.InterruptedException
TestNotPossibleException
-
-
Method Detail
-
getRandomRoom
public org.jxmpp.jid.EntityBareJid getRandomRoom(java.lang.String prefix) throws org.jxmpp.stringprep.XmppStringprepException
Gets a random room name.- Parameters:
prefix
- A prefix to add to the room name for descriptive purposes- Returns:
- the bare JID of a random room
- Throws:
org.jxmpp.stringprep.XmppStringprepException
- if the prefix isn't a valid XMPP Localpart
-
-