aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/scansion/disco_self.scs26
1 files changed, 26 insertions, 0 deletions
diff --git a/spec/scansion/disco_self.scs b/spec/scansion/disco_self.scs
new file mode 100644
index 00000000..6782e884
--- /dev/null
+++ b/spec/scansion/disco_self.scs
@@ -0,0 +1,26 @@
+# Basic login and initial presence
+
+[Client] Romeo
+ jid: discoverer@localhost
+ password: password
+
+---------
+
+Romeo connects
+
+Romeo sends:
+ <iq type="get" id="info1">
+ <query xmlns="http://jabber.org/protocol/disco#info"/>
+ </iq>
+
+Romeo receives:
+ <iq type="result" id="info1">
+ <query xmlns="http://jabber.org/protocol/disco#info" scansion:strict="false">
+ <identity xmlns="http://jabber.org/protocol/disco#info" category="account" type="registered"/>
+ <feature var="http://jabber.org/protocol/disco#info"/>
+ <feature var="http://jabber.org/protocol/disco#items"/>
+ </query>
+ </iq>
+
+Romeo disconnects
+