1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-25 15:52:06 +01:00

Merge pull request #470 from Fishbowler/fix_muc_javadoc

[sinttest] Tweaks to the muc test javadoc
This commit is contained in:
Florian Schmaus 2021-04-26 15:36:18 +02:00 committed by GitHub
commit 65c363b19d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -324,7 +324,7 @@ public class MultiUserChatIntegrationTest extends AbstractSmackIntegrationTest {
* to all occupants... * to all occupants...
* </blockquote> * </blockquote>
* *
* <p>From XEP-0045 § 9.6:</p> * <p>From XEP-0045 § 9.7:</p>
* <blockquote> * <blockquote>
* The service MUST then send updated presence from this individual to all occupants, indicating the removal of * The service MUST then send updated presence from this individual to all occupants, indicating the removal of
* moderator status... * moderator status...
@ -746,6 +746,17 @@ public class MultiUserChatIntegrationTest extends AbstractSmackIntegrationTest {
} }
/**
* Asserts that a user who is present when another user undergoes a role change receives that change as a presence update
*
* <p>From XEP-0045 § 10.9:</p>
* <blockquote>
* 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
* </blockquote>
*
* @throws TimeoutException when roomDestroyed event doesn't get fired
* @throws Exception when other errors occur
*/
@SmackIntegrationTest @SmackIntegrationTest
public void mucDestroyTest() throws TimeoutException, Exception { public void mucDestroyTest() throws TimeoutException, Exception {