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
,MultiUserChatOccupantIntegrationTest
,MultiUserChatRolesAffiliationsPrivilegesIntegrationTest
,ParticipantStatusIntegrationTest
,UserStatusIntegrationTest
-
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
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionorg.jxmpp.jid.EntityBareJid
getRandomRoom
(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, assertResult, assertResult, createNewTempFile, getHttpUrlConnectionFor, performActionAndWaitUntilStanzaReceived, waitUntilTrue
-
Constructor Details
-
AbstractMultiUserChatIntegrationTest
public AbstractMultiUserChatIntegrationTest(SmackIntegrationTestEnvironment environment) throws org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException, InterruptedException, TestNotPossibleException, org.jivesoftware.smackx.muc.MultiUserChatException.MucAlreadyJoinedException, org.jivesoftware.smackx.muc.MultiUserChatException.MissingMucCreationAcknowledgeException, org.jivesoftware.smackx.muc.MultiUserChatException.NotAMucServiceException, org.jxmpp.stringprep.XmppStringprepException - Throws:
org.jivesoftware.smack.SmackException.NoResponseException
org.jivesoftware.smack.XMPPException.XMPPErrorException
org.jivesoftware.smack.SmackException.NotConnectedException
InterruptedException
TestNotPossibleException
org.jivesoftware.smackx.muc.MultiUserChatException.MucAlreadyJoinedException
org.jivesoftware.smackx.muc.MultiUserChatException.MissingMucCreationAcknowledgeException
org.jivesoftware.smackx.muc.MultiUserChatException.NotAMucServiceException
org.jxmpp.stringprep.XmppStringprepException
-
-
Method Details
-
getRandomRoom
public org.jxmpp.jid.EntityBareJid getRandomRoom(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
-