Software /
code /
prosody
Diff
spec/scansion/basic_roster.scs @ 9266:c5267f5fd6e6
spec/scansion: Add scansion scripts used for testing
All past, except issue978-multi which fails randomly
based on ordering of elements - this is a scansion issue
to be resolved.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 06 Sep 2018 16:44:48 +0100 |
child | 9290:decdaaf78f32 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/spec/scansion/basic_roster.scs Thu Sep 06 16:44:48 2018 +0100 @@ -0,0 +1,39 @@ +[Client] Romeo + jid: user@localhost + password: password + +[Client] Juliet + jid: juliet@localhost + password: password + +--------- + +Romeo connects + +Juliet connects + +Romeo sends: + <presence/> + +Romeo receives: + <presence from="${Romeo's full JID}" /> + +Romeo sends: + <iq type="get" id="roster1"> + <query xmlns='jabber:iq:roster'/> + </iq> + +Romeo receives: + <iq type="result" id="roster1"> + <query xmlns="jabber:iq:roster"/> + </iq> + +Romeo disconnects + +#Juliet receives: +# <presence from="${Romeo's full JID}" /> +# +#Juliet receives: +# <presence from="${Romeo's full JID}" type="unavailable" /> +# +#Juliet disconnects