about summary refs log tree commit diff stats
path: root/html/065duplex_list.mu.html
Commit message (Expand)AuthorAgeFilesLines
* 4814Kartik Agaram2018-12-011-11/+14
* 4539Kartik Agaram2018-09-071-7/+7
* 4447Kartik Agaram2018-07-271-706/+763
* 4239Kartik Agaram2018-05-081-5/+5
* 4200Kartik K. Agaram2018-01-271-226/+226
* 4199Kartik K. Agaram2018-01-251-432/+431
* 4165Kartik K. Agaram2017-12-271-13/+13
* 4161Kartik K. Agaram2017-12-151-6/+6
* 4134 - 'input' = 'ingredient'Kartik K. Agaram2017-12-031-20/+20
* 4008Kartik K. Agaram2017-09-251-722/+718
* 4003Kartik K. Agaram2017-09-231-5/+5
* 3901Kartik K. Agaram2017-06-091-2/+2
* 3895Kartik K. Agaram2017-05-291-353/+430
* 3883Kartik K. Agaram2017-05-271-39/+137
* 3879Kartik K. Agaram2017-05-261-58/+52
* 3830 - crosslink shape-shifting containers in htmlKartik K. Agaram2017-04-181-119/+119
* 3808 - 'length' for duplex listsKartik K. Agaram2017-03-311-457/+469
* 3764 - better colors for cross-linksKartik K. Agaram2017-03-081-3/+4
* 3761Kartik K. Agaram2017-03-071-262/+263
* 3716Kartik K. Agaram2016-12-261-0/+2
* 3713 - cross-link calls with definitions in htmlKartik K. Agaram2016-12-261-111/+111
* 3710Kartik K. Agaram2016-12-261-547/+547
* 3709 - line numbers in htmlKartik K. Agaram2016-12-261-550/+574
* 3569Kartik K. Agaram2016-10-231-294/+294
* 3431Kartik K. Agaram2016-09-301-5/+5
* 3430Kartik K. Agaram2016-09-281-40/+28
* 3395Kartik K. Agaram2016-09-171-128/+128
* 3158Kartik K. Agaram2016-07-271-0/+597
* 2430 - make room for more transformsKartik K. Agaram2015-11-131-593/+0
* 2423 - describe shape-shifting in html docsKartik K. Agaram2015-11-101-254/+248
* 2177Kartik K. Agaram2015-09-071-412/+416
* 2175Kartik K. Agaram2015-09-061-278/+466
* 2062Kartik K. Agaram2015-08-231-2/+2
* 1949Kartik K. Agaram2015-08-061-1/+1
* 1925Kartik K. Agaram2015-08-031-60/+60
* 1885Kartik K. Agaram2015-07-291-238/+238
* 1853Kartik K. Agaram2015-07-251-3/+3
* 1818Kartik K. Agaram2015-07-181-6/+6
* 1778Kartik K. Agaram2015-07-131-8/+8
* 1632Kartik K. Agaram2015-06-231-1/+1
* 1631 - update html versionsKartik K. Agaram2015-06-231-0/+407
="s">"Buddy1 (mobile) is online, \"I'm here\"")); stbbr_for_query("jabber:iq:version", "<iq id='*' type='result' lang='en' to='stabber@localhost/profanity' from='buddy1@localhost/mobile'>" "<query xmlns='jabber:iq:version'>" "<name>Profanity</name>" "<version>0.4.7dev.master.2cb2f83</version>" "</query>" "</iq>" ); prof_input("/software buddy1@localhost/mobile"); // assert_true(prof_output_exact("buddy1@localhost/mobile:")); // assert_true(prof_output_exact("Name : Profanity")); assert_true(prof_output_exact("Version : 0.4.7dev.master.2cb2f83")); } void shows_message_when_software_version_error(void **state) { prof_connect(); stbbr_send( "<presence to='stabber@localhost' from='buddy1@localhost/mobile'>" "<priority>10</priority>" "<status>I'm here</status>" "</presence>" ); assert_true(prof_output_exact("Buddy1 (mobile) is online, \"I'm here\"")); stbbr_for_query("jabber:iq:version", "<iq id='*' lang='en' type='error' to='stabber@localhost/profanity' from='buddy1@localhost/laptop'>" "<query xmlns='jabber:iq:version'/>" "<error code='503' type='cancel'>" "<service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>" "</error>" "</iq>" ); prof_input("/software buddy1@localhost/laptop"); assert_true(prof_output_exact("Could not get software version: service-unavailable")); } // Typical use case for gateways that don't support resources void display_software_version_result_when_from_domainpart(void **state) { prof_connect(); stbbr_send( "<presence to='stabber@localhost' from='buddy1@localhost'>" "<priority>10</priority>" "<status>I'm here</status>" "</presence>" ); assert_true(prof_output_exact("Buddy1 is online, \"I'm here\"")); stbbr_for_query("jabber:iq:version", "<iq id='*' type='result' lang='en' to='stabber@localhost/profanity' from='localhost'>" "<query xmlns='jabber:iq:version'>" "<name>Some Gateway</name>" "<version>1.0</version>" "</query>" "</iq>" ); prof_input("/software buddy1@localhost/__prof_default"); // assert_true(prof_output_exact("buddy1@localhost/__prof_default:")); // assert_true(prof_output_exact("Name : Some Gateway")); assert_true(prof_output_exact("Version : 1.0")); } void show_message_in_chat_window_when_no_resource(void **state) { prof_connect(); stbbr_send( "<presence to='stabber@localhost' from='buddy1@localhost/mobile'>" "<priority>10</priority>" "<status>I'm here</status>" "</presence>" ); assert_true(prof_output_exact("Buddy1 (mobile) is online, \"I'm here\"")); prof_input("/msg Buddy1"); prof_input("/software"); assert_true(prof_output_exact("Unknown resource for /software command.")); } void display_software_version_result_in_chat(void **state) { prof_connect(); stbbr_send( "<presence to='stabber@localhost' from='buddy1@localhost/mobile'>" "<priority>10</priority>" "<status>I'm here</status>" "</presence>" ); assert_true(prof_output_exact("Buddy1 (mobile) is online, \"I'm here\"")); prof_input("/msg Buddy1"); stbbr_send( "<message id='message1' to='stabber@localhost' from='buddy1@localhost/mobile' type='chat'>" "<body>Here's a message</body>" "</message>" ); assert_true(prof_output_exact("Here's a message")); stbbr_for_query("jabber:iq:version", "<iq id='*' type='result' lang='en' to='stabber@localhost/profanity' from='buddy1@localhost/mobile'>" "<query xmlns='jabber:iq:version'>" "<name>Profanity</name>" "<version>0.4.7dev.master.2cb2f83</version>" "</query>" "</iq>" ); prof_input("/software"); // assert_true(prof_output_exact("buddy1@localhost/mobile:")); // assert_true(prof_output_exact("Name : Profanity")); assert_true(prof_output_exact("Version : 0.4.7dev.master.2cb2f83")); }