# HG changeset patch # User Matthew Wild # Date 1679504016 0 # Node ID 4b75c8291ef704f159f133215ded95a55b6d97fd # Parent 276b7d4704333868b58b06660c35cfe94de730f1 scansion: Add tests for pubsub#itemreply in PEP diff -r 276b7d470433 -r 4b75c8291ef7 spec/scansion/pep_itemreply.scs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/spec/scansion/pep_itemreply.scs Wed Mar 22 16:53:36 2023 +0000 @@ -0,0 +1,205 @@ +# PEP itemreply (publisher) configuration +# This tests that itemreply == "publisher" will add the 'publisher' attribute +# to notifications. Since this is not the default behaviour, the normal +# publish and subscribe test cases cover testing that it is not included +# otherwise. + +[Client] Romeo + jid: pep-test-df6zdvkv@localhost + password: password + +[Client] Juliet + jid: pep-test-5k90xvps@localhost + password: password + +----- + +Romeo connects + +Romeo sends: + + + + +Romeo receives: + + + + +Romeo receives: + + + + +Romeo sends: + + + + +Romeo receives: + + + + +Juliet connects + +Juliet sends: + + + + +Juliet receives: + + + + +Juliet receives: + + + + +Juliet sends: + + + + +Juliet receives: + + + + +Romeo sends: + + +Romeo sends: + + +Romeo receives: + + +Romeo receives: + + +Juliet receives: + + +Juliet sends: + + +Juliet sends: + + +Juliet receives: + + +Juliet receives: + + +Romeo receives: + + +Romeo sends: + + +Romeo sends: + + +Romeo receives: + + +Juliet receives: + + +Juliet receives: + + +Juliet receives: + + +Juliet sends: + + +Juliet receives: + + +Juliet receives: + + +Romeo receives: + + +Romeo receives: + + +Romeo receives: + + +Juliet sends: + + +Romeo sends: + + +Romeo sends: + + +Romeo sends: + + +Romeo receives: + + +Romeo receives: + + +Romeo receives: + + +Juliet receives: + + +Romeo sends: + + +Romeo receives: + + +Romeo receives: + + +Romeo receives: + + +Romeo sends: + + +Romeo sends: + + +Romeo sends: + + +Juliet receives: + + +Juliet sends: + + +Juliet sends: + Beautiful CedarsThe SpinnersNot Quite Folk4http://jabber.org/protocol/pubsub#publish-optionstruepublisher + +Juliet receives: + + +Romeo receives: + Beautiful CedarsThe SpinnersNot Quite Folk4 + +Romeo sends: + + +Romeo receives: + Beautiful CedarsThe SpinnersNot Quite Folk4 + +Juliet disconnects + +Romeo disconnects