about summary refs log tree commit diff stats
path: root/file.lua
Commit message (Expand)AuthorAgeFilesLines
* bugfix: drawings in source editorKartik K. Agaram2023-05-301-5/+10
* fix support for absolute paths in WindowsKartik K. Agaram2022-09-261-0/+1
* more correct absolute path detectionKartik K. Agaram2022-09-111-0/+17
* support drawings in the source editorKartik K. Agaram2022-09-051-1/+2
* dedup points while loading drawing from diskKartik K. Agaram2022-09-031-8/+8
* editing source code from within the appKartik K. Agaram2022-09-031-1/+0
* helper: file_existsKartik K. Agaram2022-08-231-0/+10
* have file API operate on state objectKartik K. Agaram2022-07-251-8/+7
* stop pretending globals are localKartik K. Agaram2022-07-111-2/+0
* better error messageKartik K. Agaram2022-07-051-0/+3
* test: autosave after any shapeKartik K. Agaram2022-06-141-1/+1
* avoid some string concatenationsKartik K. Agaram2022-06-101-6/+6
* ignore 'deleted' shapes when saving to diskKartik K. Agaram2022-05-301-0/+6
* typosKartik K. Agaram2022-05-251-2/+2
* couple more testsKartik K. Agaram2022-05-251-1/+1
* first successful pagedown test, first bug found by testKartik K. Agaram2022-05-231-3/+9
* first test!Kartik K. Agaram2022-05-221-0/+56
* support for naming pointsKartik K. Agaram2022-05-211-1/+11
* bugfix: rectangles and squares are now savedKartik K. Agaram2022-05-211-2/+8
* several more modulesKartik K. Agaram2022-05-171-0/+88
> #include <setjmp.h> #include <cmocka.h> #include <stdlib.h> #include <string.h> #include <stabber.h> #include <expect.h> #include "proftest.h" void rooms_query(void **state) { stbbr_for_id("prof_confreq_4", "<iq id='prof_confreq_4' type='result' to='stabber@localhost/profanity' from='conference.localhost'>" "<query xmlns='http://jabber.org/protocol/disco#items'>" "<item jid='chatroom@conference.localhost' name='A chat room'/>" "<item jid='hangout@conference.localhost' name='Another chat room'/>" "</query>" "</iq>" ); prof_connect(); prof_input("/rooms service conference.localhost"); assert_true(prof_output_exact("chatroom@conference.localhost (A chat room)")); assert_true(prof_output_exact("hangout@conference.localhost (Another chat room)")); assert_true(stbbr_last_received( "<iq id='prof_confreq_4' to='conference.localhost' type='get'>" "<query xmlns='http://jabber.org/protocol/disco#items'/>" "</iq>" )); }