Annotate

spec/scansion/muc_subject_issue_667.scs @ 9685:e98b901446d0

MUC: Add test case for #667
author Kim Alvefur <zash@zash.se>
date Thu, 06 Dec 2018 17:54:50 +0100
child 9706:d3c2c9248734
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9685
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1 # #667 MUC message with subject and body SHALL NOT be interpreted as a subject change
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
2
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
3 [Client] Romeo
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
4 password: password
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
5 jid: romeo@localhost
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
6
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
7 -----
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
8
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
9 Romeo connects
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
10
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
11 # and creates a room
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
12 Romeo sends:
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
13 <presence to="issue667@conference.localhost/Romeo">
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
14 <x xmlns="http://jabber.org/protocol/muc"/>
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
15 </presence>
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
16
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
17 Romeo receives:
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
18 <presence from="issue667@conference.localhost/Romeo">
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
19 <x xmlns="http://jabber.org/protocol/muc#user">
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
20 <status code="201"/>
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
21 <item affiliation="owner" role="moderator" jid="${Romeo's full JID}"/>
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
22 <status code="110"/>
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
23 </x>
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
24 </presence>
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
25
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
26 Romeo receives:
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
27 <message type="groupchat" from="issue667@conference.localhost">
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
28 <subject/>
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
29 </message>
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
30
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
31 Romeo sends:
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
32 <message to="issue667@conference.localhost" type="groupchat">
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
33 <subject>Greetings</subject>
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
34 <body>Hello everyone</body>
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
35 </message>
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
36
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
37 Romeo receives:
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
38 <message type="groupchat" from="issue667@conference.localhost/Romeo">
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
39 <subject>Greetings</subject>
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
40 <body>Hello everyone</body>
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
41 </message>
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
42
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
43 Romeo sends:
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
44 <message to="issue667@conference.localhost" type="groupchat">
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
45 <subject>Something to talk about</subject>
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
46 </message>
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
47
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
48 Romeo receives:
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
49 <message type="groupchat" from="issue667@conference.localhost/Romeo">
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
50 <subject>Something to talk about</subject>
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
51 </message>
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
52
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
53 Romeo sends:
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
54 <presence to="issue667@conference.localhost/Romeo">
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
55 <x xmlns="http://jabber.org/protocol/muc"/>
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
56 </presence>
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
57
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
58 Romeo receives:
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
59 <presence from="issue667@conference.localhost/Romeo">
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
60 <x xmlns="http://jabber.org/protocol/muc#user">
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
61 <item affiliation="owner" role="moderator" jid="${Romeo's full JID}"/>
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
62 <status code="110"/>
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
63 </x>
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
64 </presence>
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
65
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
66 # These have delay tags but we ignore those for now
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
67 Romeo receives:
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
68 <message type="groupchat" from="issue667@conference.localhost/Romeo">
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
69 <subject>Greetings</subject>
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
70 <body>Hello everyone</body>
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
71 </message>
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
72
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
73 Romeo receives:
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
74 <message type="groupchat" from="issue667@conference.localhost/Romeo">
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
75 <subject>Something to talk about</subject>
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
76 </message>
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
77
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
78 Romeo disconnects
e98b901446d0 MUC: Add test case for #667
Kim Alvefur <zash@zash.se>
parents:
diff changeset
79