Class MultiUserChatIntegrationTest

    • Constructor Detail

      • MultiUserChatIntegrationTest

        public MultiUserChatIntegrationTest​(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

      • mucTest

        @SmackIntegrationTest
        public void mucTest()
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • mucDestroyTest

        @SmackIntegrationTest(section="10.9",
                              quote="A room owner MUST be able to destroy a room, especially if the room is persistent... The room removes all users from the room... and destroys the room")
        public void mucDestroyTest()
                            throws java.util.concurrent.TimeoutException,
                                   java.lang.Exception
        Asserts that a user is notified when a room is destroyed.
        Throws:
        java.util.concurrent.TimeoutException - when roomDestroyed event doesn't get fired
        java.lang.Exception - when other errors occur