Annotate

spec/scansion/muc_create_destroy.scs @ 10272:327e374f143c

MUC: Fix XML syntax error in test How did this even happen?
author Kim Alvefur <zash@zash.se>
date Sat, 21 Sep 2019 18:16:45 +0200
parent 10271:2f30ad040454
child 10697:08ec83f90ce0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10229
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1 # MUC creation, basic messages and destruction
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
2
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
3 [Client] Romeo
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
4 jid: romeo@localhost/mK0dD6Ha
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
5 password: password
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
6
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
7 [Client] Juliet
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
8 jid: juliet@localhost/lVwkim_k
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
9 password: password
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
10
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
11 -----
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
12
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
13 Romeo connects
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
14
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
15 Romeo sends:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
16 <presence to="garden@conference.localhost/romeo">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
17 <x xmlns="http://jabber.org/protocol/muc"/>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
18 </presence>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
19
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
20 Romeo receives:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
21 <presence from="garden@conference.localhost/romeo">
10272
327e374f143c MUC: Fix XML syntax error in test
Kim Alvefur <zash@zash.se>
parents: 10271
diff changeset
22 <x xmlns="vcard-temp:x:update">
10271
2f30ad040454 MUC: Update test for vcard-temp changes
Kim Alvefur <zash@zash.se>
parents: 10231
diff changeset
23 <photo/>
2f30ad040454 MUC: Update test for vcard-temp changes
Kim Alvefur <zash@zash.se>
parents: 10231
diff changeset
24 </x>
10229
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
25 <x xmlns="http://jabber.org/protocol/muc#user">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
26 <status code="201"/>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
27 <item affiliation="owner" jid="${Romeo's full JID}" role="moderator"/>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
28 <status code="110"/>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
29 </x>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
30 </presence>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
31
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
32 Romeo receives:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
33 <message from="garden@conference.localhost" type="groupchat">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
34 <subject/>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
35 </message>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
36
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
37 Romeo sends:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
38 <iq to="garden@conference.localhost" id="lx3" type="set">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
39 <query xmlns="http://jabber.org/protocol/muc#owner">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
40 <x type="submit" xmlns="jabber:x:data"/>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
41 </query>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
42 </iq>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
43
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
44 Romeo receives:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
45 <iq id="lx3" type="result" from="garden@conference.localhost"/>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
46
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
47 Juliet connects
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
48
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
49 Romeo sends:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
50 <message to="garden@conference.localhost" type="groupchat" id="rm1">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
51 <body>Where are thou my Juliet?</body>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
52 </message>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
53
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
54 Romeo receives:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
55 <message type="groupchat" from="garden@conference.localhost/romeo" id="rm1">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
56 <body>Where are thou my Juliet?</body>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
57 </message>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
58
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
59 Juliet sends:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
60 <presence to="garden@conference.localhost/juliet">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
61 <x xmlns="http://jabber.org/protocol/muc"/>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
62 </presence>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
63
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
64 Juliet receives:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
65 <presence from="garden@conference.localhost/romeo">
10271
2f30ad040454 MUC: Update test for vcard-temp changes
Kim Alvefur <zash@zash.se>
parents: 10231
diff changeset
66 <x xmlns="vcard-temp:x:update">
2f30ad040454 MUC: Update test for vcard-temp changes
Kim Alvefur <zash@zash.se>
parents: 10231
diff changeset
67 <photo/>
2f30ad040454 MUC: Update test for vcard-temp changes
Kim Alvefur <zash@zash.se>
parents: 10231
diff changeset
68 </x>
10229
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
69 <x xmlns="http://jabber.org/protocol/muc#user">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
70 <item affiliation="owner" role="moderator"/>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
71 </x>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
72 </presence>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
73
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
74 Juliet receives:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
75 <presence from="garden@conference.localhost/juliet">
10271
2f30ad040454 MUC: Update test for vcard-temp changes
Kim Alvefur <zash@zash.se>
parents: 10231
diff changeset
76 <x xmlns="vcard-temp:x:update">
2f30ad040454 MUC: Update test for vcard-temp changes
Kim Alvefur <zash@zash.se>
parents: 10231
diff changeset
77 <photo/>
2f30ad040454 MUC: Update test for vcard-temp changes
Kim Alvefur <zash@zash.se>
parents: 10231
diff changeset
78 </x>
10229
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
79 <x xmlns="http://jabber.org/protocol/muc#user">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
80 <item affiliation="none" jid="${Juliet's full JID}" role="participant"/>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
81 <status code="110"/>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
82 </x>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
83 </presence>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
84
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
85 Juliet receives:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
86 <message from="garden@conference.localhost/romeo" id="rm1" type="groupchat">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
87 <body>Where are thou my Juliet?</body>
10231
949b1b72537a MUC: Fix delay tag @from in test to be the room JID (#1054 came back)
Kim Alvefur <zash@zash.se>
parents: 10229
diff changeset
88 <delay stamp="{scansion:any}" xmlns="urn:xmpp:delay" from="garden@conference.localhost"/>
949b1b72537a MUC: Fix delay tag @from in test to be the room JID (#1054 came back)
Kim Alvefur <zash@zash.se>
parents: 10229
diff changeset
89 <x stamp="{scansion:any}" xmlns="jabber:x:delay" from="garden@conference.localhost"/>
10229
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
90 </message>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
91
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
92 Juliet receives:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
93 <message from="garden@conference.localhost" type="groupchat">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
94 <subject/>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
95 </message>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
96
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
97 Romeo receives:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
98 <presence from="garden@conference.localhost/juliet">
10271
2f30ad040454 MUC: Update test for vcard-temp changes
Kim Alvefur <zash@zash.se>
parents: 10231
diff changeset
99 <x xmlns="vcard-temp:x:update">
2f30ad040454 MUC: Update test for vcard-temp changes
Kim Alvefur <zash@zash.se>
parents: 10231
diff changeset
100 <photo/>
2f30ad040454 MUC: Update test for vcard-temp changes
Kim Alvefur <zash@zash.se>
parents: 10231
diff changeset
101 </x>
10229
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
102 <x xmlns="http://jabber.org/protocol/muc#user">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
103 <item affiliation="none" jid="${Juliet's full JID}" role="participant"/>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
104 </x>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
105 </presence>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
106
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
107 Juliet sends:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
108 <message to="garden@conference.localhost" type="groupchat" id="jm1">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
109 <body>/me jumps out from behind a tree</body>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
110 </message>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
111
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
112 Romeo receives:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
113 <message type="groupchat" id="jm1" from="garden@conference.localhost/juliet">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
114 <body>/me jumps out from behind a tree</body>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
115 </message>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
116
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
117 Juliet receives:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
118 <message type="groupchat" id="jm1" from="garden@conference.localhost/juliet">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
119 <body>/me jumps out from behind a tree</body>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
120 </message>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
121
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
122 Juliet sends:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
123 <message to="garden@conference.localhost" type="groupchat" id="jm2">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
124 <body>Here I am!</body>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
125 </message>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
126
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
127 Romeo receives:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
128 <message type="groupchat" id="jm2" from="garden@conference.localhost/juliet">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
129 <body>Here I am!</body>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
130 </message>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
131
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
132 Juliet receives:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
133 <message type="groupchat" id="jm2" from="garden@conference.localhost/juliet">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
134 <body>Here I am!</body>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
135 </message>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
136
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
137 Romeo sends:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
138 <message to="garden@conference.localhost" type="groupchat" id="rm2">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
139 <body>What is this place?</body>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
140 </message>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
141
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
142 Romeo receives:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
143 <message type="groupchat" id="rm2" from="garden@conference.localhost/romeo">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
144 <body>What is this place?</body>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
145 </message>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
146
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
147 Juliet receives:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
148 <message type="groupchat" id="rm2" from="garden@conference.localhost/romeo">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
149 <body>What is this place?</body>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
150 </message>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
151
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
152 Juliet sends:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
153 <message to="garden@conference.localhost" type="groupchat" id="jm3">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
154 <body>I think we&apos;re in a script!</body>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
155 </message>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
156
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
157 Romeo receives:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
158 <message type="groupchat" id="jm3" from="garden@conference.localhost/juliet">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
159 <body>I think we&apos;re in a script!</body>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
160 </message>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
161
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
162 Juliet receives:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
163 <message type="groupchat" id="jm3" from="garden@conference.localhost/juliet">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
164 <body>I think we&apos;re in a script!</body>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
165 </message>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
166
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
167 Romeo sends:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
168 <message to="garden@conference.localhost" type="groupchat" id="rm3">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
169 <body>Oh no! Does that mean our love is not real?!</body>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
170 </message>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
171
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
172 Romeo receives:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
173 <message type="groupchat" id="rm3" from="garden@conference.localhost/romeo">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
174 <body>Oh no! Does that mean our love is not real?!</body>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
175 </message>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
176
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
177 Juliet receives:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
178 <message type="groupchat" id="rm3" from="garden@conference.localhost/romeo">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
179 <body>Oh no! Does that mean our love is not real?!</body>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
180 </message>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
181
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
182 Juliet sends:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
183 <message to="garden@conference.localhost" type="groupchat" id="jm4">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
184 <body>I refuse to accept this! Let&apos;s burn this place to the ground!</body>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
185 </message>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
186
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
187 Romeo receives:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
188 <message type="groupchat" id="jm4" from="garden@conference.localhost/juliet">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
189 <body>I refuse to accept this! Let&apos;s burn this place to the ground!</body>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
190 </message>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
191
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
192 Juliet receives:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
193 <message type="groupchat" id="jm4" from="garden@conference.localhost/juliet">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
194 <body>I refuse to accept this! Let&apos;s burn this place to the ground!</body>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
195 </message>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
196
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
197 Romeo sends:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
198 <message to="garden@conference.localhost" type="groupchat" id="rm4">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
199 <body>Yes!</body>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
200 </message>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
201
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
202 Romeo receives:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
203 <message type="groupchat" id="rm4" from="garden@conference.localhost/romeo">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
204 <body>Yes!</body>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
205 </message>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
206
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
207 Juliet receives:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
208 <message type="groupchat" id="rm4" from="garden@conference.localhost/romeo">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
209 <body>Yes!</body>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
210 </message>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
211
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
212 Romeo sends:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
213 <iq to="garden@conference.localhost" id="lx4" type="set">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
214 <query xmlns="http://jabber.org/protocol/muc#owner">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
215 <destroy>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
216 <reason>We refuse to live in this fantasy!</reason>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
217 </destroy>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
218 </query>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
219 </iq>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
220
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
221 Juliet receives:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
222 <presence from="garden@conference.localhost/juliet" type="unavailable">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
223 <x xmlns="http://jabber.org/protocol/muc#user">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
224 <destroy>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
225 <reason>We refuse to live in this fantasy!</reason>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
226 </destroy>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
227 <item affiliation="none" jid="${Juliet's full JID}" role="none"/>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
228 <status code="110"/>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
229 </x>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
230 </presence>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
231
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
232 Romeo receives:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
233 <presence from="garden@conference.localhost/romeo" type="unavailable">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
234 <x xmlns="http://jabber.org/protocol/muc#user">
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
235 <destroy>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
236 <reason>We refuse to live in this fantasy!</reason>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
237 </destroy>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
238 <item affiliation="owner" jid="${Romeo's full JID}" role="none"/>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
239 <status code="110"/>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
240 </x>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
241 </presence>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
242
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
243 Romeo receives:
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
244 <iq id="lx4" type="result" from="garden@conference.localhost"/>
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
245
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
246 Juliet disconnects
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
247
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
248 Romeo disconnects
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
249
3b769e53b33f MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff changeset
250 # recording ended on 2019-08-31T13:45:32Z