summary refs log tree commit diff stats
path: root/setup.py
Commit message (Expand)AuthorAgeFilesLines
* moved "doc/examples" to "examples" for more visibilityhut2015-04-131-1/+1
* Neater copyright headerhut2015-03-191-2/+2
* Fixed references to doc/HACKING (for real)Dorien Snake2014-12-101-1/+1
* Fixed references to doc/HACKINGDorien Snake2014-12-101-1/+1
* fix references to README.mdhut2014-08-221-1/+1
* Changed email address in source codehut2013-08-081-1/+1
* added doc/config directory with symlinks to configshut2013-03-151-9/+4
* setup.py: added _findall functionhut2013-03-091-7/+6
* setup.py: create a /usr/share/doc/ranger directoryhut2013-03-091-1/+26
* setup.py: updated website URLhut2013-03-011-1/+1
* setup.py: removed fsobject packagehut2013-03-011-1/+0
* Merge branch 'master' into vcshut2013-02-221-1/+1
|\
| * updated rest of the copyright noticeshut2013-02-221-1/+1
| * update email address (romanz@lavabit.com -> hut@lavabit.com)hut2013-02-221-1/+1
* | Merge branch 'master' into vcshut2013-02-191-1/+1
|\|
| * setup.py: add doc/rifle.1 to man pageshut2013-02-181-1/+1
* | setup.py: s/ranger.vcs/ranger.ext.vcs/hut2013-02-161-1/+1
* | Merged code to manipulate version control systemsAbdo Roig-Maranges2013-02-121-1/+2
|/
* replaced tabs with 4 spaces in all python fileshut2013-02-101-23/+23
* added scripts directory. rifle is now installed to /usr/bin/hut2012-08-041-1/+1
* setup.py: s/defaults/config/hut2012-08-021-3/+3
* setup.py: added entry for rifle.confhut2012-03-191-1/+2
* shorten all copyright messages for better readabilityhut2012-03-141-13/+1
* moved scripts/ranger to ranger/data/rangerhut2011-10-111-1/+1
* Updated copyright headershut2011-10-101-1/+1
* added defaults/rc.conf in setup.pyhut2011-09-301-1/+1
* Fixed setup.py (by removing ranger/help entry)hut2011-09-291-2/+1
* a little restructurationhut2010-10-021-2/+2
* Makefile, setup.py: Fixed `make doc`hut2010-09-111-23/+24
* added setup.py drafthut2010-06-181-0/+42
f">send_enable_carbons(void **state) { prof_connect(); prof_input("/carbons on"); assert_true(stbbr_received( "<iq id='*' type='set'><enable xmlns='urn:xmpp:carbons:2'/></iq>" )); } void connect_with_carbons_enabled(void **state) { prof_input("/carbons on"); prof_connect(); assert_true(stbbr_received( "<iq id='*' type='set'><enable xmlns='urn:xmpp:carbons:2'/></iq>" )); } void send_disable_carbons(void **state) { prof_input("/carbons on"); prof_connect(); prof_input("/carbons off"); assert_true(stbbr_received( "<iq id='*' type='set'><disable xmlns='urn:xmpp:carbons:2'/></iq>" )); } void receive_carbon(void **state) { prof_input("/carbons on"); prof_connect(); assert_true(stbbr_received( "<iq id='*' type='set'><enable xmlns='urn:xmpp:carbons:2'/></iq>" )); stbbr_send( "<presence to='stabber@localhost' from='buddy1@localhost/mobile'>" "<priority>10</priority>" "<status>On my mobile</status>" "</presence>" ); assert_true(prof_output_exact("Buddy1 (mobile) is online, \"On my mobile\"")); prof_input("/msg Buddy1"); assert_true(prof_output_exact("unencrypted")); stbbr_send( "<message type='chat' to='stabber@localhost/profanity' from='buddy1@localhost'>" "<received xmlns='urn:xmpp:carbons:2'>" "<forwarded xmlns='urn:xmpp:forward:0'>" "<message id='prof_msg_7' xmlns='jabber:client' type='chat' lang='en' to='stabber@localhost/profanity' from='buddy1@localhost/mobile'>" "<body>test carbon from recipient</body>" "</message>" "</forwarded>" "</received>" "</message>" ); assert_true(prof_output_regex("Buddy1/mobile: .+test carbon from recipient")); } void receive_self_carbon(void **state) { prof_input("/carbons on"); prof_connect(); assert_true(stbbr_received( "<iq id='*' type='set'><enable xmlns='urn:xmpp:carbons:2'/></iq>" )); stbbr_send( "<presence to='stabber@localhost' from='buddy1@localhost/mobile'>" "<priority>10</priority>" "<status>On my mobile</status>" "</presence>" ); assert_true(prof_output_exact("Buddy1 (mobile) is online, \"On my mobile\"")); prof_input("/msg Buddy1"); assert_true(prof_output_exact("unencrypted")); stbbr_send( "<message type='chat' to='stabber@localhost/profanity' from='stabber@localhost'>" "<sent xmlns='urn:xmpp:carbons:2'>" "<forwarded xmlns='urn:xmpp:forward:0'>" "<message id='59' xmlns='jabber:client' type='chat' to='buddy1@localhost/mobile' lang='en' from='stabber@localhost/profanity'>" "<body>self sent carbon</body>" "</message>" "</forwarded>" "</sent>" "</message>" ); assert_true(prof_output_regex("me: .+self sent carbon")); } void receive_private_carbon(void **state) { prof_input("/carbons on"); prof_connect(); assert_true(stbbr_received( "<iq id='*' type='set'><enable xmlns='urn:xmpp:carbons:2'/></iq>" )); stbbr_send( "<presence to='stabber@localhost' from='buddy1@localhost/mobile'>" "<priority>10</priority>" "<status>On my mobile</status>" "</presence>" ); assert_true(prof_output_exact("Buddy1 (mobile) is online, \"On my mobile\"")); prof_input("/msg Buddy1"); assert_true(prof_output_exact("unencrypted")); stbbr_send( "<message type='chat' to='stabber@localhost/profanity' from='buddy1@localhost/mobile'>" "<body>Private carbon</body>" "<private xmlns='urn:xmpp:carbons:2'/>" "</message>" ); assert_true(prof_output_regex("Buddy1/mobile: .+Private carbon")); }