Class AbstractMultiUserChatIntegrationTest

    • 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