From 1ada7f8bf42c64f4daac106e6c5dbbfef0c47949 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Sun, 16 Oct 2022 21:39:57 +0200 Subject: [PATCH] tests/presence: todo!(): test_presence_update_not_joined, test_presence_leave_msn MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- src/tests/presence.rs | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/src/tests/presence.rs b/src/tests/presence.rs index e6010ab..eafdf5a 100644 --- a/src/tests/presence.rs +++ b/src/tests/presence.rs @@ -550,3 +550,32 @@ async fn test_presence_update_joined() { handle_stanza(&mut component, &mut rooms).await.unwrap(); } + +#[ignore] +#[tokio::test] +async fn test_presence_update_not_joined() { + // https://xmpp.org/extensions/xep-0045.html#example-43 + // GC1 join presence + // + // + // + // You are not in the room. + // + // + // + // + // + // + + todo!() +} + +#[ignore] +#[tokio::test] +async fn test_presence_leave_msn() { + // Ensure the occupant is still valid even though a first session left + todo!() +}