Annotate

spec/scansion/pubsub_multi_items.scs @ 10261:010c67532ed0

util.encodings: Switch ICU binding to IDNA2008 (fixes #533, #1301)
author Kim Alvefur <zash@zash.se>
date Wed, 11 Sep 2019 00:14:59 +0200
parent 9833:86fe021f16a6
child 11631:6641ca266d94
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9833
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1 # Pubsub: Requesting multiple specific items from a node (#1322)
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
2
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
3 [Client] Alice
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
4 jid: admin@localhost
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
5 password: password
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
6
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
7 ---------
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
8
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
9 Alice connects
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
10
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
11 Alice sends:
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
12 <presence xmlns:stream="http://etherx.jabber.org/streams" id=":7IoqYcT3191rfk_dZGo2"/>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
13
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
14 Alice receives:
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
15 <presence xmlns:stream="http://etherx.jabber.org/streams" from="${Alice's full JID}" id=":7IoqYcT3191rfk_dZGo2"/>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
16
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
17 Alice sends:
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
18 <iq xmlns:stream="http://etherx.jabber.org/streams" to="pubsub.localhost" id=":m0SM8Hn5JxP9BJJ_X4Mz" type="set">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
19 <pubsub xmlns="http://jabber.org/protocol/pubsub">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
20 <create node="e96caf12-264f-4e5a-988e-00ae191771b6"/>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
21 </pubsub>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
22 </iq>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
23
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
24 Alice receives:
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
25 <iq xmlns:stream="http://etherx.jabber.org/streams" to="${Alice's full JID}" from="pubsub.localhost" type="result" id=":m0SM8Hn5JxP9BJJ_X4Mz"/>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
26
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
27 Alice sends:
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
28 <iq xmlns:stream="http://etherx.jabber.org/streams" to="pubsub.localhost" id=":gwZgEQmzAHcQz-FZOxi-" type="get">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
29 <pubsub xmlns="http://jabber.org/protocol/pubsub#owner">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
30 <configure node="e96caf12-264f-4e5a-988e-00ae191771b6"/>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
31 </pubsub>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
32 </iq>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
33
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
34 Alice receives:
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
35 <iq xmlns:stream="http://etherx.jabber.org/streams" to="${Alice's full JID}" from="pubsub.localhost" type="result" id=":gwZgEQmzAHcQz-FZOxi-">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
36 <pubsub xmlns="http://jabber.org/protocol/pubsub#owner">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
37 <configure node="e96caf12-264f-4e5a-988e-00ae191771b6">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
38 <x xmlns="jabber:x:data" type="form">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
39 <field var="FORM_TYPE" type="hidden">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
40 <value>http://jabber.org/protocol/pubsub#node_config</value>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
41 </field>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
42 <field var="pubsub#title" label="Title" type="text-single"/>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
43 <field var="pubsub#description" label="Description" type="text-single"/>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
44 <field var="pubsub#type" label="The type of node data, usually specified by the namespace of the payload (if any)" type="text-single"/>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
45 <field var="pubsub#max_items" label="Max # of items to persist" type="text-single">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
46 <validate xmlns="http://jabber.org/protocol/xdata-validate" datatype="xs:integer"/>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
47 <value>20</value>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
48 </field>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
49 <field var="pubsub#persist_items" label="Persist items to storage" type="boolean">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
50 <value>0</value>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
51 </field>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
52 <field var="pubsub#access_model" label="Specify the subscriber model" type="list-single">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
53 <option label="authorize">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
54 <value>authorize</value>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
55 </option>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
56 <option label="open">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
57 <value>open</value>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
58 </option>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
59 <option label="presence">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
60 <value>presence</value>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
61 </option>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
62 <option label="roster">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
63 <value>roster</value>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
64 </option>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
65 <option label="whitelist">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
66 <value>whitelist</value>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
67 </option>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
68 <value>open</value>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
69 </field>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
70 <field var="pubsub#publish_model" label="Specify the publisher model" type="list-single">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
71 <option label="publishers">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
72 <value>publishers</value>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
73 </option>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
74 <option label="subscribers">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
75 <value>subscribers</value>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
76 </option>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
77 <option label="open">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
78 <value>open</value>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
79 </option>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
80 <value>publishers</value>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
81 </field>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
82 <field var="pubsub#deliver_notifications" label="Whether to deliver event notifications" type="boolean">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
83 <value>1</value>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
84 </field>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
85 <field var="pubsub#deliver_payloads" label="Whether to deliver payloads with event notifications" type="boolean">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
86 <value>1</value>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
87 </field>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
88 <field var="pubsub#notification_type" label="Specify the delivery style for notifications" type="list-single">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
89 <option label="Messages of type normal">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
90 <value>normal</value>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
91 </option>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
92 <option label="Messages of type headline">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
93 <value>headline</value>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
94 </option>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
95 <value>headline</value>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
96 </field>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
97 <field var="pubsub#notify_delete" label="Whether to notify subscribers when the node is deleted" type="boolean">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
98 <value>1</value>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
99 </field>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
100 <field var="pubsub#notify_retract" label="Whether to notify subscribers when items are removed from the node" type="boolean">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
101 <value>1</value>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
102 </field>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
103 </x>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
104 </configure>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
105 </pubsub>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
106 </iq>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
107
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
108 Alice sends:
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
109 <iq xmlns:stream="http://etherx.jabber.org/streams" to="pubsub.localhost" id=":pfWBQ2MNIq8ieul57Qp7" type="set">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
110 <pubsub xmlns="http://jabber.org/protocol/pubsub">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
111 <publish node="e96caf12-264f-4e5a-988e-00ae191771b6">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
112 <item id="20e9eb9e-8acb-436e-a486-40e80400faf1">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
113 <foo xmlns="https://zombofant.net/xmlns/aioxmpp#test">foo</foo>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
114 </item>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
115 </publish>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
116 </pubsub>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
117 </iq>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
118
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
119 Alice receives:
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
120 <iq xmlns:stream="http://etherx.jabber.org/streams" to="${Alice's full JID}" from="pubsub.localhost" type="result" id=":pfWBQ2MNIq8ieul57Qp7">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
121 <pubsub xmlns="http://jabber.org/protocol/pubsub">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
122 <publish node="e96caf12-264f-4e5a-988e-00ae191771b6">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
123 <item id="20e9eb9e-8acb-436e-a486-40e80400faf1"/>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
124 </publish>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
125 </pubsub>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
126 </iq>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
127
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
128 Alice sends:
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
129 <iq xmlns:stream="http://etherx.jabber.org/streams" to="pubsub.localhost" id=":Q5TLT6nsW0HHdkDgrPPe" type="set">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
130 <pubsub xmlns="http://jabber.org/protocol/pubsub">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
131 <publish node="e96caf12-264f-4e5a-988e-00ae191771b6">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
132 <item id="4b94623d-1127-41c0-ac47-e283fd890557">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
133 <foo xmlns="https://zombofant.net/xmlns/aioxmpp#test">bar</foo>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
134 </item>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
135 </publish>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
136 </pubsub>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
137 </iq>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
138
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
139 Alice receives:
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
140 <iq xmlns:stream="http://etherx.jabber.org/streams" to="${Alice's full JID}" from="pubsub.localhost" type="result" id=":Q5TLT6nsW0HHdkDgrPPe">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
141 <pubsub xmlns="http://jabber.org/protocol/pubsub">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
142 <publish node="e96caf12-264f-4e5a-988e-00ae191771b6">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
143 <item id="4b94623d-1127-41c0-ac47-e283fd890557"/>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
144 </publish>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
145 </pubsub>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
146 </iq>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
147
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
148 Alice sends:
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
149 <iq xmlns:stream="http://etherx.jabber.org/streams" to="pubsub.localhost" id=":3nvB2E20p1iuM6lOPaP6" type="get">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
150 <pubsub xmlns="http://jabber.org/protocol/pubsub">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
151 <items node="e96caf12-264f-4e5a-988e-00ae191771b6">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
152 <item id="20e9eb9e-8acb-436e-a486-40e80400faf1"/>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
153 <item id="4b94623d-1127-41c0-ac47-e283fd890557"/>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
154 </items>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
155 </pubsub>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
156 </iq>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
157
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
158 Alice receives:
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
159 <iq xmlns:stream="http://etherx.jabber.org/streams" to="${Alice's full JID}" from="pubsub.localhost" type="result" id=":3nvB2E20p1iuM6lOPaP6">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
160 <pubsub xmlns="http://jabber.org/protocol/pubsub">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
161 <items node="e96caf12-264f-4e5a-988e-00ae191771b6">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
162 <item xmlns="http://jabber.org/protocol/pubsub" id="20e9eb9e-8acb-436e-a486-40e80400faf1">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
163 <foo xmlns="https://zombofant.net/xmlns/aioxmpp#test">foo</foo>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
164 </item>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
165 <item xmlns="http://jabber.org/protocol/pubsub" id="4b94623d-1127-41c0-ac47-e283fd890557">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
166 <foo xmlns="https://zombofant.net/xmlns/aioxmpp#test">bar</foo>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
167 </item>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
168 </items>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
169 </pubsub>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
170 </iq>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
171
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
172 Alice sends:
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
173 <iq xmlns:stream="http://etherx.jabber.org/streams" to="pubsub.localhost" id=":XQdyK54iyOKiJvUoX9t_" type="get">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
174 <pubsub xmlns="http://jabber.org/protocol/pubsub">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
175 <items node="e96caf12-264f-4e5a-988e-00ae191771b6"/>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
176 </pubsub>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
177 </iq>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
178
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
179 Alice receives:
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
180 <iq xmlns:stream="http://etherx.jabber.org/streams" to="${Alice's full JID}" from="pubsub.localhost" type="result" id=":XQdyK54iyOKiJvUoX9t_">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
181 <pubsub xmlns="http://jabber.org/protocol/pubsub">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
182 <items node="e96caf12-264f-4e5a-988e-00ae191771b6">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
183 <item xmlns="http://jabber.org/protocol/pubsub" id="20e9eb9e-8acb-436e-a486-40e80400faf1">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
184 <foo xmlns="https://zombofant.net/xmlns/aioxmpp#test">foo</foo>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
185 </item>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
186 <item xmlns="http://jabber.org/protocol/pubsub" id="4b94623d-1127-41c0-ac47-e283fd890557">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
187 <foo xmlns="https://zombofant.net/xmlns/aioxmpp#test">bar</foo>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
188 </item>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
189 </items>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
190 </pubsub>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
191 </iq>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
192
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
193 Alice sends:
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
194 <iq xmlns:stream="http://etherx.jabber.org/streams" to="pubsub.localhost" id=":ySGQOz5tnyWT82idwJZP" type="set">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
195 <pubsub xmlns="http://jabber.org/protocol/pubsub#owner">
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
196 <delete node="e96caf12-264f-4e5a-988e-00ae191771b6"/>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
197 </pubsub>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
198 </iq>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
199
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
200 Alice receives:
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
201 <iq xmlns:stream="http://etherx.jabber.org/streams" to="${Alice's full JID}" from="pubsub.localhost" type="result" id=":ySGQOz5tnyWT82idwJZP"/>
86fe021f16a6 spec: Add test case for #1322
Kim Alvefur <zash@zash.se>
parents:
diff changeset
202