Class AbstractMultiUserChatIntegrationTest

Direct Known Subclasses:
MultiUserChatEntityIntegrationTest, MultiUserChatIntegrationTest, MultiUserChatOccupantIntegrationTest, MultiUserChatRolesAffiliationsPrivilegesIntegrationTest, ParticipantStatusIntegrationTest, UserStatusIntegrationTest

public abstract class AbstractMultiUserChatIntegrationTest extends AbstractSmackIntegrationTest
  • 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