Annotate

spec/scansion/disco_self.scs @ 13538:f308cd5d39d9

scansion: Import XEP-0402 test from prosody-modules rev 2c6b14207271 This corresponds to the file mod_bookmarks2/tests/bookmarks2.scs
author Kim Alvefur <zash@zash.se>
date Thu, 31 Oct 2024 17:22:38 +0100
parent 13408:d7857ef7843a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13408
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1 # Basic login and initial presence
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
2
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
3 [Client] Romeo
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
4 jid: discoverer@localhost
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
5 password: password
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
6
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
7 ---------
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
8
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
9 Romeo connects
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
10
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
11 Romeo sends:
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
12 <iq type="get" id="info1">
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
13 <query xmlns="http://jabber.org/protocol/disco#info"/>
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
14 </iq>
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
15
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
16 Romeo receives:
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
17 <iq type="result" id="info1">
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
18 <query xmlns="http://jabber.org/protocol/disco#info" scansion:strict="false">
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
19 <identity xmlns="http://jabber.org/protocol/disco#info" category="account" type="registered"/>
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
20 <feature var="http://jabber.org/protocol/disco#info"/>
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
21 <feature var="http://jabber.org/protocol/disco#items"/>
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
22 </query>
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
23 </iq>
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
24
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
25 Romeo disconnects
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
26