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, conTwoFields inherited from class org.igniterealtime.smack.inttest.AbstractSmackIntTest
INSECURE_RANDOM, LOGGER, sinttestConfiguration, testRunId, timeout -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionorg.jxmpp.jid.EntityBareJidgetRandomRoom(String prefix) Gets a random room name.Methods inherited from class org.igniterealtime.smack.inttest.AbstractSmackIntegrationTest
performActionAndWaitForPresenceMethods 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.NoResponseExceptionorg.jivesoftware.smack.XMPPException.XMPPErrorExceptionorg.jivesoftware.smack.SmackException.NotConnectedExceptionInterruptedExceptionTestNotPossibleExceptionorg.jivesoftware.smackx.muc.MultiUserChatException.MucAlreadyJoinedExceptionorg.jivesoftware.smackx.muc.MultiUserChatException.MissingMucCreationAcknowledgeExceptionorg.jivesoftware.smackx.muc.MultiUserChatException.NotAMucServiceExceptionorg.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
-