1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00
Commit Graph

263 Commits

Author SHA1 Message Date
James Booth
40759eddbf Simplified parse_options to take first option as argument 2014-04-15 00:27:55 +01:00
James Booth
4425aba1f2 Simplified parse_options to take gchar** 2014-04-15 00:13:32 +01:00
James Booth
79088d0150 Clean up keys after using parse_options 2014-04-14 23:41:45 +01:00
James Booth
2419737006 Check for duplicate options in option parser 2014-04-14 23:01:57 +01:00
James Booth
8d77930ece Added parse_options 2014-04-14 22:48:18 +01:00
James Booth
74c746f852 Fixed broken test, added log mock 2014-04-13 22:31:55 +01:00
James Booth
c3418a2909 Added /log shared setting
Issue #170
2014-04-13 21:56:51 +01:00
James Booth
71180f66d7 Added focus param to ui_room_join, not set for bookmark autojoin
Issue #194
2014-04-13 02:52:25 +01:00
James Booth
2fafcf0013 Revert "Added ui_already_connected"
This reverts commit e97ec56fce.
2014-04-12 15:20:19 +01:00
James Booth
e97ec56fce Added ui_already_connected 2014-04-09 22:29:38 +01:00
James Booth
c3e3759256 Command argument parsers set result argument 2014-04-09 21:31:43 +01:00
James Booth
a720ef2627 Removed strcpy calls 2014-04-02 21:01:20 +01:00
James Booth
b19b881b97 Added missing files, refactored ui_switch_win to check win exists 2014-04-01 23:54:26 +01:00
James Booth
7113b97952 Added test for valid window switch 2014-04-01 23:33:12 +01:00
James Booth
96e32fe178 Added cmd_win test 2014-04-01 23:14:53 +01:00
James Booth
404dde2810 Renamed refresh functions to update_virtual 2014-04-01 21:52:04 +01:00
James Booth
22ab268618 Change 'passwd' option to 'password' for /join command 2014-03-16 18:12:16 +00:00
James Booth
f4d52f3d40 Use expect_value == NULL for NULL parameters in tests 2014-03-16 18:02:18 +00:00
James Booth
11c04d9fcd Added /roster clearnick command 2014-03-16 17:53:41 +00:00
James Booth
bcafba2de6 Added /roster remove tests 2014-03-16 16:00:10 +00:00
James Booth
a578419d55 Added /roster add test 2014-03-16 01:46:18 +00:00
James Booth
93397e4581 Added cmd_roster test 2014-03-16 01:23:12 +00:00
James Booth
2af418fd8d Command '/statuses muc' now allows 'all', 'online' and 'none' settings 2014-03-15 22:25:15 +00:00
James Booth
26726b207a Updated copyright 2014-03-09 01:18:19 +00:00
James Booth
15fce2cf95 Test for password usage on /join 2014-03-08 21:50:55 +00:00
James Booth
baf46c6ae5 Added test for account muc_service usage 2014-03-08 21:45:07 +00:00
James Booth
bafc0f2506 Added test for using account->muc_nick 2014-03-08 21:37:06 +00:00
James Booth
b177250f47 Refactored muc_room_is_active to only take room, rather than full jid 2014-03-08 21:20:26 +00:00
James Booth
dd1ee18c72 Added test for /join with nick option 2014-03-08 21:10:23 +00:00
James Booth
a94814f0a9 Added invalid jid test for /join 2014-03-08 00:23:52 +00:00
James Booth
2d54c565ce Added test to show usage when no room supplied to /join 2014-03-08 00:19:21 +00:00
James Booth
f3fe1d34d2 Added connection status tests for cmd_join 2014-03-08 00:07:38 +00:00
James Booth
c00376087f Test /otr start sends OTR query message to current recipient 2014-02-23 21:20:41 +00:00
James Booth
da058359ac Added test for /otr start when no key loaded 2014-02-23 21:02:02 +00:00
James Booth
18e0884f5f Fixed issue with /otr myfp when no key loaded 2014-02-23 20:34:27 +00:00
James Booth
d25245a286 Added test for /otr start when already in OTR session 2014-02-23 20:17:45 +00:00
James Booth
1f78d5b582 Added tests for /otr start from non chat windows 2014-02-23 20:09:00 +00:00
James Booth
e4120e144c Revert "Fail test for travis"
This reverts commit 4c1634610c.
2014-02-23 03:22:56 +00:00
James Booth
4c1634610c Fail test for travis 2014-02-23 03:20:12 +00:00
James Booth
037ca81821 Test /otr theirfp 2014-02-17 23:10:00 +00:00
James Booth
b4b463998b Test for /otr theirfp in non OTR window 2014-02-17 22:57:36 +00:00
James Booth
a25714b6dc Added test for /otr theirfp when in other non chat windows 2014-02-17 22:44:27 +00:00
James Booth
4afec6ab5e Added test for /otr theirfp when in console 2014-02-17 22:14:33 +00:00
James Booth
82ad0cd306 Added /otr myfp test 2014-02-17 21:52:42 +00:00
James Booth
6e58d95469 Added connection status tests for /otr myfp 2014-02-16 20:15:10 +00:00
James Booth
880d5c6263 Fixed previous tests 2014-02-16 20:10:48 +00:00
James Booth
d1d80fc26b Added connection status tests for /otr gen 2014-02-16 20:09:12 +00:00
James Booth
4eac5c0d43 Test /otr gen 2014-02-16 19:35:40 +00:00
James Booth
e048b3196e Added test for message when no connected /otr gen 2014-02-16 19:20:55 +00:00
James Booth
a21ab6d4c8 Mock otr module for cmd_otr tests 2014-02-16 19:14:15 +00:00
James Booth
6ef1174bf4 Refactor test setup and teardown functions 2014-02-16 18:07:41 +00:00
James Booth
e1fe7783c0 Added conditional include in cmd_otr tests 2014-02-16 17:48:51 +00:00
James Booth
60e03094c3 Added test for /otr libver 2014-02-16 14:44:40 +00:00
James Booth
7e956fb347 Added tests for /otr warn 2014-02-16 02:22:29 +00:00
James Booth
c6220e01a0 Added tests for /otr log 2014-02-16 01:32:37 +00:00
James Booth
6295336284 Added cmd_otr tests 2014-02-16 00:04:53 +00:00
James Booth
90d2cbff7b Removed manual logging of test results
Cmocka on more recent distros already has this functionality
2014-02-12 20:49:50 +00:00
James Booth
3dc5f60f3d Joined testsuites (allows for total test count) 2014-02-02 01:13:17 +00:00
James Booth
95c48a0f47 Test message when removing autojoin for non existent bookmark 2014-02-02 01:05:52 +00:00
James Booth
9d957e5f93 Show message on /bookmark remove when bookmark does not exist 2014-02-02 00:59:32 +00:00
James Booth
92b85bb7f1 Added message when bookmark updated 2014-02-02 00:49:02 +00:00
James Booth
a8ecbccc9c Added /bookmark remove tests 2014-02-02 00:37:37 +00:00
James Booth
38d8d8d984 Added test for when autojoin no nick on /bookmark add 2014-02-02 00:22:53 +00:00
James Booth
ebafc19220 Added cons message on ./bookmark add 2014-02-02 00:00:08 +00:00
James Booth
af51fa3c68 Added cmd_bookmark tests 2014-02-01 23:48:24 +00:00
James Booth
7d4b6d6f4f Changed name of expected values in tests 2014-02-01 22:49:47 +00:00
James Booth
3d7d070b13 Added test for /bookmark list 2014-02-01 21:18:15 +00:00
James Booth
1654f13656 Moved test helpers 2014-02-01 16:32:36 +00:00
James Booth
614ae232ef Fixed cmd_bookmark message when not connected 2014-02-01 16:24:51 +00:00
James Booth
652e99fdd8 Added cmd_bookmark tests 2014-02-01 16:16:56 +00:00
James Booth
23842e5254 Added muc room active tests 2014-01-31 00:10:28 +00:00
James Booth
31321077de Added muc invite count tests 2014-01-30 23:49:58 +00:00
James Booth
16aecaf017 Added setup and teardown for muc tests 2014-01-30 23:41:18 +00:00
James Booth
991ffdeceb Close muc after test 2014-01-30 23:37:36 +00:00
James Booth
a472ce653f Added muc remove invite test 2014-01-30 23:36:50 +00:00
James Booth
63b3299b06 Added muc tests 2014-01-30 23:32:52 +00:00
James Booth
0338d136e0 Added presence_error tests, added muc_close() 2014-01-30 23:15:39 +00:00
James Booth
adb360072b Move all test output to ./testsuite.out, show single line pass/fail 2014-01-29 00:30:12 +00:00
James Booth
571665eeac Added message stanza error tests 2014-01-28 23:56:45 +00:00
James Booth
5afb296e67 Moved error handling logic to server_events 2014-01-28 22:37:50 +00:00
James Booth
b231133f9b Renamed preferences setup and teardown test functions 2014-01-28 22:05:27 +00:00
James Booth
788fc48b1d Fixed double free'ing in tests 2014-01-28 21:51:43 +00:00
James Booth
4bd06a5d87 Don't allow /alias to overwrite standard command 2014-01-25 01:39:12 +00:00
James Booth
cb590dd82c Added help for /alias command 2014-01-25 00:50:07 +00:00
James Booth
5d85974bc0 Added aliases to autocomplete 2014-01-23 23:53:20 +00:00
James Booth
e089ffb15c Show message when alias already exists in /alias add 2014-01-23 22:38:12 +00:00
James Booth
8dbe300d72 Added /alias command, writing aliases to [alias] group in profrc 2014-01-23 22:29:53 +00:00
James Booth
21ab182151 Refactored ProfAccount creation 2014-01-22 22:22:01 +00:00
James Booth
2bc22981fd Fixed memory leaks from str_replace 2014-01-21 21:07:35 +00:00
James Booth
0e2fbeb350 Added statuses settings to prefs output 2014-01-21 00:16:37 +00:00
James Booth
a8c356e191 Added use of statuses preferences 2014-01-21 00:06:41 +00:00
James Booth
a7a2850637 WIP - /statuses command options 2014-01-20 18:40:48 +00:00
James Booth
69f2f4a16f Use defaults for /statuses commands 2014-01-19 17:20:31 +00:00
James Booth
5f25d99357 Added tests/config/helpers 2014-01-19 16:32:31 +00:00
James Booth
79e9ab83b0 Changed /statuses preferences 2014-01-19 16:17:34 +00:00
James Booth
a9a860cb13 Fixed broken tests 2014-01-19 02:14:28 +00:00
James Booth
10fb692f7f Refactored testsuite for less verbose output 2014-01-19 02:11:52 +00:00
James Booth
c7325de073 Added cmd_statuses validation tests 2014-01-19 01:25:04 +00:00
James Booth
bd221f6f30 Added cmd_connect tests for invalid properties 2014-01-18 22:55:15 +00:00
James Booth
91d4097df9 Added cmd_connect test for repeated port property 2014-01-18 22:50:17 +00:00