mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-22 02:27:58 +01:00
[sinttest] Add XEP reference for muc destroy test
This commit is contained in:
parent
b541397119
commit
fc191e4e19
1 changed files with 12 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue