From 12b787430a2685da6a653a1eed2e85729983527b Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 31 Oct 2024 17:22:38 +0100 Subject: scansion: Import XEP-0402 test from prosody-modules rev 2c6b14207271 This corresponds to the file mod_bookmarks2/tests/bookmarks2.scs --- spec/scansion/bookmarks2.scs | 181 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 181 insertions(+) create mode 100644 spec/scansion/bookmarks2.scs diff --git a/spec/scansion/bookmarks2.scs b/spec/scansion/bookmarks2.scs new file mode 100644 index 00000000..642fb750 --- /dev/null +++ b/spec/scansion/bookmarks2.scs @@ -0,0 +1,181 @@ +# Pubsub: Bookmarks 2.0 + +[Client] Juliet + jid: admin@localhost + password: password + +// admin@localhost is assumed to have node creation privileges + +--------- + +Juliet connects + +-- Generated with https://gitlab.com/xmpp-rs/xmpp-parsers: +-- cargo run --example=generate-caps https://code.matthewwild.co.uk/scansion/ <<< "" +Juliet sends: + + + + OTy9GPCvBZRvqzOHmD/ThA1WbBH3tNoeKbdqKQCRPHc= + f/rxDeTf6HyjQ382V3GEG/UfAs5IeclC05jBSBnVQCI= + ucfqg/NrLj0omE+26hYMrbpcmxHcU4Z3hfAQIF+6tt0= + + + +Juliet receives: + + + + +Juliet sends: + + + + + + + + +Juliet sends: + + + + + + JC + + + + + + + http://jabber.org/protocol/pubsub#publish-options + + + true + + + 255 + + + never + + + whitelist + + + + + + +Juliet receives: + + + + + + JC + + + + + + +Juliet receives: + + + + + + + + +Juliet sends: + + + + + + JC + + + + + + + http://jabber.org/protocol/pubsub#publish-options + + + true + + + 255 + + + never + + + whitelist + + + + + + +Juliet receives: + + + + + + JC + + + + + + +Juliet receives: + + + + + + + + +Juliet sends: + + + + + + + + +Juliet receives: + + + + + + + + +Juliet receives: + + +Juliet disconnects + +// vim: syntax=xml: -- cgit v1.2.3