diff options
author | Brian Cully <bjc@kublai.com> | 2017-11-10 13:47:01 -0500 |
---|---|---|
committer | Brian Cully <bjc@kublai.com> | 2017-11-12 11:48:56 -0500 |
commit | 2bb7eb2dec219d05edb53002e10811fa214325b8 (patch) | |
tree | f593bef77ba64339622d720ac51901e4626848ab /t/fixtures/input | |
parent | 3f8f46c8b10d060ec4ba7f3be91ff3cb6e903e01 (diff) | |
download | xmpt-2bb7eb2dec219d05edb53002e10811fa214325b8.tar.gz xmpt-2bb7eb2dec219d05edb53002e10811fa214325b8.zip |
Add tests.
* Add simple INSTALL document.
* Add Makefile.PL for make support.
* Moved sample files to t/fixtures.
* Add version to xmpt executable.xmpt
* Add tests for sample CLI run.
Diffstat (limited to 't/fixtures/input')
-rw-r--r-- | t/fixtures/input | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/t/fixtures/input b/t/fixtures/input new file mode 100644 index 0000000..2d508fe --- /dev/null +++ b/t/fixtures/input @@ -0,0 +1,29 @@ +<stream:stream xmlns:stream='http://etherx.jabber.org/streams' + version='1.0' + from='localhost' + id='somestreamid' + xmlns='jabber:client'> + <stream:features> + <mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'> + <mechanism>SCRAM-SHA-1</mechanism> + <mechanism>PLAIN</mechanism> + </mechanisms> + <auth xmlns='http://jabber.org/features/iq-auth'/> + </stream:features> +<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'></success> +<stream:stream xmlns:stream='http://etherx.jabber.org/streams' + version='1.0' + from='localhost' + id='somestreamid' + xmlns='jabber:client'> + <stream:features> + <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/> + <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> + </stream:features> +<iq from='test0@localhost' to='test0@localhost/xmpt' id='bind' type='result'> + <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> + <jid>test0@localhost/xmpt</jid> + </bind> +</iq> +<iq from='test0@localhost' to='test0@localhost/xmpt' id='session' type='result'/> +</stream:stream> |