<test-history test='Privacy 1 (c2s)'>
<OUTPUT test='Privacy 1 (c2s)'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'/>
</OUTPUT>
<INPUT test='Privacy 1 (c2s)'>
<stream:stream xmlns="jabber:client" version="1.0" xml:lang="en" id="5f8569f0-c934-4911-a094-aa6f6231cab9" xmlns:stream="http://etherx.jabber.org/streams" from="test-d"/>
</INPUT>
<INPUT test='Privacy 1 (c2s)'>
<stream:features><auth xmlns="http://jabber.org/features/iq-auth"/><register xmlns="http://jabber.org/features/iq-register"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism></mechanisms><ver xmlns="urn:xmpp:features:rosterver"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression></stream:features>
</INPUT>
<OUTPUT test='Privacy 1 (c2s)'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsbC14bXBwLXRlc3QAYWxsLXhtcHAtdGVzdC1wYXNzd29yZA==</auth>
</OUTPUT>
<INPUT test='Privacy 1 (c2s)'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/>
</INPUT>
<OUTPUT test='Privacy 1 (c2s)'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<INPUT test='Privacy 1 (c2s)'>
<stream:stream xmlns="jabber:client" version="1.0" xml:lang="en" id="5f8569f0-c934-4911-a094-aa6f6231cab9" xmlns:stream="http://etherx.jabber.org/streams" from="test-d"/>
</INPUT>
<INPUT test='Privacy 1 (c2s)'>
<stream:features><register xmlns="http://jabber.org/features/iq-register"/><ver xmlns="urn:xmpp:features:rosterver"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></stream:features>
</INPUT>
<OUTPUT test='Privacy 1 (c2s)'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<INPUT test='Privacy 1 (c2s)'>
<iq xmlns="jabber:client" to="all-xmpp-test@test-d/def-user-resource" type="result" id="bind1"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>all-xmpp-test@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='Privacy 1 (c2s)'>
<iq type="get" id="privacy_1" from="all-xmpp-test@test-d/def-user-resource"><query xmlns="jabber:iq:privacy"/></iq>
</OUTPUT>
<INPUT test='Privacy 1 (c2s)'>
<iq xmlns="jabber:client" to="all-xmpp-test@test-d/def-user-resource" type="result" id="privacy_1"><query xmlns="jabber:iq:privacy"/></iq>
</INPUT>
<OUTPUT test='Privacy 1 (c2s)'>
<iq type="set" id="privacy_2" from="all-xmpp-test@test-d/def-user-resource"><query xmlns="jabber:iq:privacy"><list name='public'><item type='jid'	value='tybalt@example.com' action='deny' order='3'/><item type='jid' value='paris@example.org' action='deny' order='5'/><item action='allow' order='68'/></list></query></iq>
</OUTPUT>
<INPUT test='Privacy 1 (c2s)'>
<iq xmlns="jabber:client" to="all-xmpp-test@test-d/def-user-resource" type="result" id="privacy_2"/>
</INPUT>
<OUTPUT test='Privacy 1 (c2s)'>
<iq type="get" id="privacy_3" from="all-xmpp-test@test-d/def-user-resource"><query xmlns="jabber:iq:privacy"/></iq>
</OUTPUT>
<INPUT test='Privacy 1 (c2s)'>
<iq xmlns="jabber:client" to="all-xmpp-test@test-d/def-user-resource" type="result" id="privacy_3"><query xmlns="jabber:iq:privacy"><list name="public"/></query></iq>
</INPUT>
<OUTPUT test='Privacy 1 (c2s)'>
<iq type="get" id="privacy_4" from="all-xmpp-test@test-d/def-user-resource"><query xmlns="jabber:iq:privacy"><list name="public"/></query></iq>
</OUTPUT>
<INPUT test='Privacy 1 (c2s)'>
<iq xmlns="jabber:client" to="all-xmpp-test@test-d/def-user-resource" type="result" id="privacy_4"><query xmlns="jabber:iq:privacy"><list name="public"><item order="3" type="jid" value="tybalt@example.com" action="deny"/><item order="5" type="jid" value="paris@example.org" action="deny"/><item order="68" action="allow"/></list></query></iq>
</INPUT>
<OUTPUT test='Privacy 1 (c2s)'>
<iq type="set" id="privacy_5" from="all-xmpp-test@test-d/def-user-resource"><query xmlns="jabber:iq:privacy"><active name="public"/></query></iq>
</OUTPUT>
<INPUT test='Privacy 1 (c2s)'>
<iq xmlns="jabber:client" to="all-xmpp-test@test-d/def-user-resource" type="result" id="privacy_5"/>
</INPUT>
<OUTPUT test='Privacy 1 (c2s)'>
<iq type="get" id="privacy_6" from="all-xmpp-test@test-d/def-user-resource"><query xmlns="jabber:iq:privacy"/></iq>
</OUTPUT>
<INPUT test='Privacy 1 (c2s)'>
<iq xmlns="jabber:client" to="all-xmpp-test@test-d/def-user-resource" type="result" id="privacy_6"><query xmlns="jabber:iq:privacy"><list name="public"/><active name="public"/></query></iq>
</INPUT>
<OUTPUT test='Privacy 1 (c2s)'>
<iq type="set" id="privacy_7" from="all-xmpp-test@test-d/def-user-resource"><query xmlns="jabber:iq:privacy"><default name="public"/></query></iq>
</OUTPUT>
<INPUT test='Privacy 1 (c2s)'>
<iq xmlns="jabber:client" to="all-xmpp-test@test-d/def-user-resource" type="result" id="privacy_7"/>
</INPUT>
<OUTPUT test='Privacy 1 (c2s)'>
<iq type="get" id="privacy_8" from="all-xmpp-test@test-d/def-user-resource"><query xmlns="jabber:iq:privacy"/></iq>
</OUTPUT>
<INPUT test='Privacy 1 (c2s)'>
<iq xmlns="jabber:client" to="all-xmpp-test@test-d/def-user-resource" type="result" id="privacy_8"><query xmlns="jabber:iq:privacy"><list name="public"/><default name="public"/><active name="public"/></query></iq>
</INPUT>
<OUTPUT test='Privacy 1 (c2s)'>
<iq type="set" id="privacy_9" from="all-xmpp-test@test-d/def-user-resource"><query xmlns="jabber:iq:privacy"><default/></query></iq>
</OUTPUT>
<INPUT test='Privacy 1 (c2s)'>
<iq xmlns="jabber:client" to="all-xmpp-test@test-d/def-user-resource" type="result" id="privacy_9"/>
</INPUT>
<OUTPUT test='Privacy 1 (c2s)'>
<iq type="get" id="privacy_10" from="all-xmpp-test@test-d/def-user-resource"><query xmlns="jabber:iq:privacy"/></iq>
</OUTPUT>
<INPUT test='Privacy 1 (c2s)'>
<iq xmlns="jabber:client" to="all-xmpp-test@test-d/def-user-resource" type="result" id="privacy_10"><query xmlns="jabber:iq:privacy"><list name="public"/><active name="public"/></query></iq>
</INPUT>
<OUTPUT test='Privacy 1 (c2s)'>
<iq type="set" id="privacy_11" from="all-xmpp-test@test-d/def-user-resource"><query xmlns="jabber:iq:privacy"><active/></query></iq>
</OUTPUT>
<INPUT test='Privacy 1 (c2s)'>
<iq xmlns="jabber:client" to="all-xmpp-test@test-d/def-user-resource" type="result" id="privacy_11"/>
</INPUT>
<OUTPUT test='Privacy 1 (c2s)'>
<iq type="get" id="privacy_12" from="all-xmpp-test@test-d/def-user-resource"><query xmlns="jabber:iq:privacy"/></iq>
</OUTPUT>
<INPUT test='Privacy 1 (c2s)'>
<iq xmlns="jabber:client" to="all-xmpp-test@test-d/def-user-resource" type="result" id="privacy_12"><query xmlns="jabber:iq:privacy"><list name="public"/></query></iq>
</INPUT>
<OUTPUT test='Privacy 1 (c2s)'>
<iq type="set" id="privacy_13" from="all-xmpp-test@test-d/def-user-resource"><query xmlns="jabber:iq:privacy"><list name="public"/></query></iq>
</OUTPUT>
<INPUT test='Privacy 1 (c2s)'>
<iq xmlns="jabber:client" to="all-xmpp-test@test-d/def-user-resource" type="result" id="privacy_13"/>
</INPUT>
<OUTPUT test='Privacy 1 (c2s)'>
<iq type="get" id="privacy_14" from="all-xmpp-test@test-d/def-user-resource"><query xmlns="jabber:iq:privacy"/></iq>
</OUTPUT>
<INPUT test='Privacy 1 (c2s)'>
<iq xmlns="jabber:client" to="all-xmpp-test@test-d/def-user-resource" type="result" id="privacy_14"><query xmlns="jabber:iq:privacy"/></iq>
</INPUT>

</test-history>