aboutsummaryrefslogtreecommitdiffstats
path: root/spec/scansion/basic_roster.scs
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-09-06 16:44:48 +0100
committerMatthew Wild <mwild1@gmail.com>2018-09-06 16:44:48 +0100
commitd78bd730e5654ba99f1fbdda5ef07b8b271efe4b (patch)
tree12dd5fa0c79626ad740d37941b15a62428ced0ee /spec/scansion/basic_roster.scs
parent5d5fbb462cde24b672ffbef5318102892bc2776e (diff)
downloadprosody-d78bd730e5654ba99f1fbdda5ef07b8b271efe4b.tar.gz
prosody-d78bd730e5654ba99f1fbdda5ef07b8b271efe4b.zip
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.
Diffstat (limited to 'spec/scansion/basic_roster.scs')
-rw-r--r--spec/scansion/basic_roster.scs39
1 files changed, 39 insertions, 0 deletions
diff --git a/spec/scansion/basic_roster.scs b/spec/scansion/basic_roster.scs
new file mode 100644
index 00000000..2655639a
--- /dev/null
+++ b/spec/scansion/basic_roster.scs
@@ -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